Re: [ansible-project] ansible 1.6.2 -> 1.8.1 huge increase in "startup" time

2014-12-03 Thread Michael DeHaan
Possibly could have been that the old ec2.py didn't do the "_meta" trick (see developer docs on inventory plugins). Thanks! On Wed, Dec 3, 2014 at 2:53 PM, Brent Langston wrote: > Following up on this, it looks like that server had a pretty old version > of ec2.py as the inventory script. Wh

Re: [ansible-project] ansible 1.6.2 -> 1.8.1 huge increase in "startup" time

2014-12-03 Thread Brent Langston
Following up on this, it looks like that server had a pretty old version of ec2.py as the inventory script. When I replaced it with the currently linked one from github, it behaved much better: # time ansible tag_environment_development -m ping --list-hosts 10.10.5.157 10.10.4.221 10.

Re: [ansible-project] ansible 1.6.2 -> 1.8.1 huge increase in "startup" time

2014-12-03 Thread Michael DeHaan
Yeah please see my other questions too. Since they probably detail your infrastructure with more information than you might care to share here, feel free to share off list. (We're probably going to want to see if we can get a copy of your inventory files). Thanks! On Tue, Dec 2, 2014 at 11:15

Re: [ansible-project] ansible 1.6.2 -> 1.8.1 huge increase in "startup" time

2014-12-03 Thread Mirko Friedenhagen
Oops, I really should learn to read digits, so it's going up from less than 1second to 44 seconds. Do you run this from the same machine? Am 03.12.2014 14:03 schrieb "Mirko Friedenhagen" : > Brent, > > in your gist the realtime seems to have actually _decreased_ from 46 to 44 > seconds from 1.6 t

Re: [ansible-project] ansible 1.6.2 -> 1.8.1 huge increase in "startup" time

2014-12-03 Thread Mirko Friedenhagen
Brent, in your gist the realtime seems to have actually _decreased_ from 46 to 44 seconds from 1.6 to 1.8. I see values like this for ping as well connecting via DSL (10mbit) and VPN instead of standard Ethernet in the office. I may ping 50 hosts in 30 seconds via DSL which takes 2 seconds via Et

Re: [ansible-project] ansible 1.6.2 -> 1.8.1 huge increase in "startup" time

2014-12-02 Thread Brent Langston
Check the gist. I left an example of the timing difference. On Dec 2, 2014 7:01 PM, "Michael DeHaan" wrote: > Inventory gets processed on startup time a bit more now -- that's good for > various reasons as it would do it later anyway and that data can be needed > -- but I'm curious if you could

Re: [ansible-project] ansible 1.6.2 -> 1.8.1 huge increase in "startup" time

2014-12-02 Thread Michael DeHaan
Inventory gets processed on startup time a bit more now -- that's good for various reasons as it would do it later anyway and that data can be needed -- but I'm curious if you could provide info about what "much longer" means? Such as before and after numbers, and numbers of hosts in your invento

[ansible-project] ansible 1.6.2 -> 1.8.1 huge increase in "startup" time

2014-12-02 Thread Brent Langston
Hi guys, I'm hoping I've just overlooked an option, but here's the situation: After updating from ansible 1.6.2 to 1.8.1, I noticed our ansible runs take much much longer to actually make contact with the servers. Here is a really simple comparison: https://gist.github.com/brentley/7c644614e5dc