Hi Steven,

Can you hop on one of the systems while the fact gathering is going on and
see what may be hung that way? My bet is it could be something
mount-related.

On Tue, Oct 7, 2014 at 1:55 PM, Steven Truong <djatlan...@gmail.com> wrote:

> Hi,
>
> I have a mixed or Amazon Linux and CentOS 6.5 on AWS but I just recently
> have had this problem.  Running the "setup" scripts directly worked but
> Ansible gathering facts just hung.
>
> # pwd
> /home/adsymp/.ansible
>
>  # su root -c /bin/sh -c 'echo
> SUDO-SUCCESS-dhyqcckwxzuthyzxqniggbjvfxvuewha; LANG=en_US.UTF-8
> LC_CTYPE=en_US.UTF-8 /usr/bin/python
> /home/adsymp/.ansible/tmp/ansible-tmp-1412705402.97-194667564226294/setup'
> SUDO-SUCCESS-dhyqcckwxzuthyzxqniggbjvfxvuewha
> /home/adsymp/.ansible/tmp/ansible-tmp-1412705402.97-194667564226294/setup:2922:
> DeprecationWarning: object.__new__() takes no parameters
>   return super(cls, subclass).__new__(subclass, *arguments, **keyword)
> {"verbose_override": true, "changed": false, "ansible_facts":
> {"ansible_product_serial": "", "ansible_form_factor": "",
> "ansible_product_version": "", "ansible_swaptotal_mb": 0,
> "ansible_user_id": "root", "module_setup": true, "ansible_userspace_bits":
> "64", "ansible_distribution_version":
> .....
>
>
> Ansible verbose ....
>
> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o',
> 'ControlPersist=60s', '-o',
> 'ControlPath=/home/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o',
> 'StrictHostKeyChecking=no', '-o',
> 'IdentityFile="/home/steven/.ssh/key-user"', '-o',
> 'KbdInteractiveAuthentication=no', '-o',
> 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey',
> '-o', 'PasswordAuthentication=no', '-o', 'User=user', '-o',
> 'ConnectTimeout=10', 'ip-10-123....', "/bin/sh -c 'mkdir -p
> $HOME/.ansible/tmp/ansible-tmp-1412705402.97-194667564226294 && chmod a+rx
> $HOME/.ansible/tmp/ansible-tmp-1412705402.97-194667564226294 && echo
> $HOME/.ansible/tmp/ansible-tmp-1412705402.97-194667564226294'"]
> <ip-10-123-71-225> PUT /tmp/tmpLdghlG TO
> /home/user/.ansible/tmp/ansible-tmp-1412705402.97-194667564226294/setup
> <ip-10-123-71-225> EXEC ['ssh', '-C', '-tt', '-vvv', '-o',
> 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o',
> 'ControlPath=/home/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o',
> 'StrictHostKeyChecking=no', '-o',
> 'IdentityFile="/home/steven/.ssh/key-user"', '-o',
> 'KbdInteractiveAuthentication=no', '-o',
> 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey',
> '-o', 'PasswordAuthentication=no', '-o', 'User=user', '-o',
> 'ConnectTimeout=10', 'ip-10-123.....', u'/bin/sh -c \'su root -c "/bin/sh
> -c \'"\'"\'echo SUDO-SUCCESS-dhyqcckwxzuthyzxqniggbjvfxvuewha;
> LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python
> /home/adsymp/.ansible/tmp/ansible-tmp-1412705402.97-194667564226294/setup;
> rm -rf /home/adsymp/.ansible/tmp/ansible-tmp-1412705402.97-194667564226294/
> >/dev/null 2>&1\'"\'"\'"\'']
>
>
> Amazon Linux
> #rpm -q openssh
> openssh-5.3p1-15.12.amzn1.x86_64
> # python --version
> Python 2.6.5
>
> CentOS:
> $ rpm -q openssh
> openssh-6.4p1.el6-1.x86_64
> $ python --version
> Python 2.6.6
>
> I am using ansible 1.7.1.
>
> Please help as this is really strange.  I ran the setup with "python -m
> trace --trace" and nothing seems to stand out for causing the issue.
>
> Thanks,
> Steven.
>
>
>  --
> 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 ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/2c43519f-e7a4-4695-adaf-fb42eac43e02%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/2c43519f-e7a4-4695-adaf-fb42eac43e02%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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAMFyvFibfMPQe7yCzBKVf-RCPU5kEKpwGAyvd4GksK94prZE6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to