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.

Reply via email to