I deployed on different box (the same version) and it works just fine. Not sure what is the issue on the first one.
On Friday, March 14, 2014 5:14:06 PM UTC-7, Filip Slunecko wrote: > > ansible XX -c paramiko -u root --private-key .ssh/root_id -i inventory/ -m > shell -a echo test > > it's fast on F20. > > We have a big /etc/hosts file (1527 hosts), but I copied the host file to > my box and it doesn't make a difference. > > > On Friday, March 14, 2014 5:00:31 PM UTC-7, Michael DeHaan wrote: >> >> This is pretty unusual. >> >> This is a function inside the paramiko source code that does not (at >> least obviously does not) do anything like DNS lookups. >> >> I'm at a bit of a loss, perhaps you can debug further? >> >> Fedora 20 has a new enough SSH so the default connection type is "ssh" >> not paramiko there, curious if you have the same with "-c paramiko" on that >> box (and using the same key?) >> >> >> >> >> >> >> >> On Fri, Mar 14, 2014 at 7:50 PM, Filip Slunecko <[email protected]>wrote: >> >>> Hi, >>> >>> I installed a fresh Ansible from git hub on CentOS 6.3 and run a simple >>> command takes over 40s with CPU 100% for Ansible. >>> >>> This is a line from cProfile(http://pastebin.com/mX4qXsiN). >>> >>> 11523 40.093 0.003 54.893 0.005 hostkeys.py:181(lookup) >>> >>> It seems to that Ansible is doing a lot of lookups. >>> The same version works on my box without an issue(Fedora 20). >>> >>> Command: >>> ansible/bin/ansible XXX -u root --private-key /root/.ssh/id_rsa -i >>> inventory/ -m shell -a echo test -vvv >>> >>> I ran Ansible on CentOS 6.3 boxes and I've never seen like this before. >>> >>> Thanks >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Ansible Project" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/ansible-project/1f88ea77-ec8a-47ce-b97e-a9ac10c7fcc0%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/1f88ea77-ec8a-47ce-b97e-a9ac10c7fcc0%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/ad4e2a21-ed15-4c83-8daa-9f78577f3bb7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
