Re: [foreman-users] Re: WebUI and API search performance issues in 1.13.1

2016-11-01 Thread Tomer Brisker
Hi Konstantin, Would it be possible to enable debug logging when running the slow search and posting the logs with the detailed information in the issue? That will display exactly which queries were the slow ones so that we can locate the bottle neck and fix the issue. On Mon, Oct 31, 2016 at 7:1

Re: [foreman-users] Re: WebUI and API search performance issues in 1.13.1

2016-11-01 Thread Ohad Levy
On Tue, Nov 1, 2016 at 10:04 AM, Tomer Brisker wrote: > Hi Konstantin, > > Would it be possible to enable debug logging when running the slow search > and posting the logs with the detailed information in the issue? > That will display exactly which queries were the slow ones so that we can > loc

Re: [foreman-users] Foreman WebUI Puppet dashboard Error

2016-11-01 Thread Erez Zarum
Ok, patch applied, works :) Thank you very much! On Tuesday, November 1, 2016 at 12:48:59 PM UTC+2, Erez Zarum wrote: > > Hey Tomer, > I was under the impression i am the only one having it (haven't tested on > a fresh install), will track it. > > Thanks, > Erez > > On Tuesday, November 1, 2016

Re: [foreman-users] Performance degradation after upgrade from 1.9.2 to 1.12.3

2016-11-01 Thread Erez Zarum
No problem, for how long you think i should have it running to give valuable data to work with? I am running only on objects-total and objects (as you mentioned) On Monday, October 31, 2016 at 7:05:28 PM UTC+2, Lukas Zapletal wrote: > > Can you guys try foreman-tracer utility (SystemTap based, wi

Re: [foreman-users] Foreman WebUI Puppet dashboard Error

2016-11-01 Thread Tomer Brisker
Could you please comment on the pull request as well ( https://github.com/theforeman/foreman/pull/3980)? That way reviewers will know that it has already been tested and fixes the issue. On Tue, Nov 1, 2016 at 12:54 PM, Erez Zarum wrote: > Ok, patch applied, works :) > > Thank you very much! > >

Re: [foreman-users] Foreman WebUI Puppet dashboard Error

2016-11-01 Thread Erez Zarum
No problem. On Tuesday, November 1, 2016 at 1:03:17 PM UTC+2, Tomer Brisker wrote: > > Could you please comment on the pull request as well ( > https://github.com/theforeman/foreman/pull/3980)? That way reviewers will > know that it has already been tested and fixes the issue. > > On Tue, Nov 1,

Re: [foreman-users] Unusable instance -- 100% CPU from Passenger RubyApp -- Foreman 1.12, CentOS 7

2016-11-01 Thread Justin Foreman
I wasn't sure how long to run them, so I ran each for 60 seconds. foreman-tracer rails objects-total http://pastebin.com/QdZePcWQ foreman-tracer rails objects http://pastebin.com/jVbDRm3c On Tuesday, November 1, 2016 at 2:58:48 AM UTC-4, ohad wrote: > > > > On Tue, Nov 1, 2016 at 8:02 AM, Justin

Re: [foreman-users] Unusable instance -- 100% CPU from Passenger RubyApp -- Foreman 1.12, CentOS 7

2016-11-01 Thread Justin Foreman
I wasn't sure how long to run them, so I ran each for 60 seconds. foreman-tracer rails objects-total http://pastebin.com/QdZePcWQ foreman-tracer rails objects http://pastebin.com/jVbDRm3c -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To uns

Re: [foreman-users] Unusable instance -- 100% CPU from Passenger RubyApp -- Foreman 1.12, CentOS 7

2016-11-01 Thread Lukas Zapletal
Ok one minute is fine, the counters will reset in 5 minutes anyway. Ok, the problem is in setup_clone / setup_object_clone method which creates a deep copy of each record for comparison. But I wonder how is possible you have 20k calls of this clone after just 1 minute. Tell me more about your inf

Re: [foreman-users] Automate puppet agent install?

2016-11-01 Thread Jason McMahan
Thank you very much for the help Greg. On Monday, October 31, 2016 at 2:58:30 PM UTC-5, Greg Sutcliffe wrote: > > The default templates that come with Foreman install Puppet by default, > assuming the host has a Puppetmaster set in the UI. If you're not using the > defaults, you can look at [1]

[foreman-users] AW: foreman and external puppet server

2016-11-01 Thread Tobias Köck
Hi Mr. McMahan, thank you for the answer. I'll try it out. I have tried the interactive version foreman-installier -i Is there somewhere a mapping of the command line options with the interactive options or where do I have to check it in the scripts? Greetings and thanks, Tobias Von: Jason M

Re: [foreman-users] Performance degradation after upgrade from 1.9.2 to 1.12.3

2016-11-01 Thread Lukas Zapletal
Two or three minutes is just fine, counters do reset after 5 minutes so not longer. You can also add "rails calls" output as well, that might be interesting too. LZ On Tue, Nov 1, 2016 at 11:58 AM, Erez Zarum wrote: > No problem, for how long you think i should have it running to give valuable

Re: [foreman-users] AW: foreman and external puppet server

2016-11-01 Thread Dominic Cleal
On 01/11/16 14:23, Tobias Köck wrote: > Hi Mr. McMahan, > > > > thank you for the answer. I'll try it out. > > > > I have tried the interactive version > > > > foreman-installier -i > > > > Is there somewhere a mapping of the command line options with the > interactive options or wh

Re: [foreman-users] Re: unable to create bond or bridge with foreman 1.13

2016-11-01 Thread Marek Hulán
Hello, what you describe sounds as UI issue, the JS should redraw the form so one could specify attached devices etc. It seems easily reproducible and is probably caused by strong params change. Please send the issue number here. A workaround might be to use API for now. -- Marek On pondělí 3

Re: [foreman-users] unable to create bond or bridge with foreman 1.13

2016-11-01 Thread Lukas Zapletal
I can confirm the behavior, NIC page does not reload in 1.13 and develop, reported here: http://projects.theforeman.org/issues/17170 LZ On Wed, Oct 12, 2016 at 12:25 PM, Jorick Astrego wrote: > Hi again, > > Further with testing I discover that the "Add interface" dialog on "New > host" or pro

Re: [foreman-users] Performance degradation after upgrade from 1.9.2 to 1.12.3

2016-11-01 Thread Erez Zarum
*rails objects-total* *OBJECT COUNTERB 826Nic::Managed 104Foreman::Parameters::Caster 38IPAddr 24ConfigReportStatusCalculator 24ActiveSupport::HashWithIndifferentAccess 18SafeRender 10Range 9ActionView::OutputBuf

Re: [foreman-users] Unusable instance -- 100% CPU from Passenger RubyApp -- Foreman 1.12, CentOS 7

2016-11-01 Thread Justin Foreman
Okay, now we're getting somewhere. This is an environment with five oVirt nodes in two clusters. Cluster1: 2 nodes Cluster2: 3 nodes Each have a handful of VMs, some manually installed, and some provisioned by Foreman spanning both clusters. The oVirt nodes each appear to have maybe 10-50 nics

Re: [foreman-users] Unusable instance -- 100% CPU from Passenger RubyApp -- Foreman 1.12, CentOS 7

2016-11-01 Thread Justin Foreman
foreman-tracer rails calls: http://pastebin.com/80ziGqXr On Tuesday, November 1, 2016 at 12:06:45 PM UTC-4, Justin Foreman wrote: > > Okay, now we're getting somewhere. This is an environment with five oVirt > nodes in two clusters. > Cluster1: 2 nodes > Cluster2: 3 nodes > > Each have a handful

Re: [foreman-users] Unusable instance -- 100% CPU from Passenger RubyApp -- Foreman 1.12, CentOS 7

2016-11-01 Thread Josh Baird
See the 'ignore interfaces with matching identifier' option under Settings -> Provisioning. I had the same problem with Docker network interfaces. Josh On Tue, Nov 1, 2016 at 12:06 PM, Justin Foreman wrote: > Okay, now we're getting somewhere. This is an environment with five oVirt > nodes in

Re: [foreman-users] Performance degradation after upgrade from 1.9.2 to 1.12.3

2016-11-01 Thread Erez Zarum
I have the "theforeman/puppet" module, when i search under the "Classes" dashboard the word "puppet" it's seems to cause a very high CPU and memory starts to increase up to 6GB from almost 1GB. On Tuesday, November 1, 2016 at 5:19:36 PM UTC+2, Erez Zarum wrote: > > *rails objects-total* > > *OBJ

[foreman-users] Windows image based provisioning?

2016-11-01 Thread Jason McMahan
Good day, We have foreman 1.13 installed, we are attempting to provision a new windows image based vm guest. After looking around i found the following articles. https://www.inovex.de/blog/deploying-windows-server-with-foreman-in-vsphere/ http://www.herbert.org.nz/?p=245 After reading through th

Re: [foreman-users] Unusable instance -- 100% CPU from Passenger RubyApp -- Foreman 1.12, CentOS 7

2016-11-01 Thread Justin Foreman
I set it to ignore the offending interface names, but the issue of increasing Nic::Managed count was still happening. I found that the offending hosts had hundreds of duplicate interfaces. I wrote a little hammer script to delete all interfaces from the hosts. Now, all appears to be well. Than

Re: [foreman-users] Re: WebUI and API search performance issues in 1.13.1

2016-11-01 Thread 'Konstantin Orekhov' via Foreman users
Here you go - https://gist.github.com/korekhov/7ad0fddae6e330f1655305c626bb4808 Please let me know if that's not enough and you need something else. -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop re

Re: [foreman-users] Re: WebUI and API search performance issues in 1.13.1

2016-11-01 Thread 'Konstantin Orekhov' via Foreman users
> > >> or, even better if you are willing to share your database dump :) > > Sorry, I can't do that :) -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman

[foreman-users] Can you use Host Collection as a Smart Matcher

2016-11-01 Thread Greg Payne
Hi All, I'd like to use host collection as an attribute in a smart matcher that's applied to a specific smart class parameter override in puppet. Looking in a hosts YAML file i don't see host collection listed as one of the parameters so I'm not sure if this is possible at the moment? Thanks G