I think the easiest thing to do here would to do a checkout on the machine you are managing and then:
source ./hacking/env-setup ./hacking/test-module -m setup And see if that hangs. If that does, it's most likely something in the setup module, rather than a connection issue - which I would say with a large degree of confidence is the case. >From there, we can help with some suggestions about how to figure out what part is taking so long to return -- it might not be hanging but just taking a very long time, but we'll see. On Sat, Nov 29, 2014 at 11:49 AM, Giorgio Valoti <[email protected]> wrote: > Hi all, > > Ansible seems to hang on the gather facts phase. > > Some details: > > - The problem seems not related to password prompts and it was not > hanging this way until now anyway. > - The behavior seems 100% reproducible on LAN or localhost hosts but > *not* on WAN ones. > - LAN hosts are VMs running on SmartOS; WAN are basically the same, but > running on bare metal or other virtualized environments. > - I’m using the devel versione because I encountered the problem with > ansible 1.7 and tried to solve it by updating it. > > Here’s an excerpt of the verbose output: > > <dev-vm01.local> ESTABLISH CONNECTION FOR USER: root > <dev-vm01.local> REMOTE_MODULE setup > <dev-vm01.local> EXEC ssh -C -tt -vvv -o ControlMaster=auto -o > ControlPersist=60s -o > ControlPath="/Users/giorgio/.ansible/cp/ansible-ssh-%h-%p-%r" -o > KbdInteractiveAuthentication=no -o > PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey > -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 > dev-vm01.local /bin/sh -c 'mkdir -p > $HOME/.ansible/tmp/ansible-tmp-1417279179.55-12830134400431 && chmod a+rx > $HOME/.ansible/tmp/ansible-tmp-1417279179.55-12830134400431 && echo > $HOME/.ansible/tmp/ansible-tmp-1417279179.55-12830134400431' > <dev-vm01.local> PUT > /var/folders/yq/ydckqkv92jz4dhhlvd1ry5yr0000gn/T/tmpya9Vyg TO > /root/.ansible/tmp/ansible-tmp-1417279179.55-12830134400431/setup > <dev-vm01.local> EXEC ssh -C -tt -vvv -o ControlMaster=auto -o > ControlPersist=60s -o > ControlPath="/Users/giorgio/.ansible/cp/ansible-ssh-%h-%p-%r" -o > KbdInteractiveAuthentication=no -o > PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey > -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 > dev-vm01.local /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 > /opt/local/bin/python > /root/.ansible/tmp/ansible-tmp-1417279179.55-12830134400431/setup; rm -rf > /root/.ansible/tmp/ansible-tmp-1417279179.55-12830134400431/ >/dev/null > 2>&1' > > Any help would be really appreciated. > > -- > Giorgio Valoti > > -- > 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/m2sih27xze.fsf%40me.com. > 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/CA%2BnsWgxE5HkJQMz5rRfmyzx6e9kk7QTx-2SMtgZor7zcBLwo4w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
