Hi,
I have the same problem as the original poster (Hi, bcandler!).
Same issue with sshpass hanging. Didn't try with paramiko.
-vvv doesn't help here, it just hangs, and ctrl-c shows this:
SSH password:
<some.machine.here> ESTABLISH CONNECTION FOR USER: admin
<some.machine.here> REMOTE_MODULE ping
<some.machine.here> EXEC ['sshpass', '-d7', 'ssh', '-C', '-tt', '-q', '-o',
'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o',
'ControlPath=/Users/regnauld/.ansible/cp/ansible-ssh-%h-%p-%r', '-o',
'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o',
'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o',
'User=admin', '-o', 'ConnectTimeout=10', 'some.machine.here', "/bin/sh -c
'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1441958968.83-124161391615192 &&
chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1441958968.83-124161391615192 &&
echo $HOME/.ansible/tmp/ansible-tmp-1441958968.83-124161391615192'"]
CTRL-C here
^CTraceback (most recent call last):
File "/opt/local/bin/ansible", line 226, in <module>
(runner, results) = cli.run(options, args)
File "/opt/local/bin/ansible", line 200, in run
results = runner.run()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ansible/runner/__init__.py",
line 1200, in run
results = [ self._executor(h, None) for h in hosts ]
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ansible/runner/__init__.py",
line 532, in _executor
exec_rc = self._executor_internal(host, new_stdin)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ansible/runner/__init__.py",
line 629, in _executor_internal
return self._executor_internal_inner(host, self.module_name,
self.module_args, inject, port, complex_args=complex_args)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ansible/runner/__init__.py",
line 815, in _executor_internal_inner
result = handler.run(conn, tmp, module_name, module_args, inject,
complex_args)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ansible/runner/action_plugins/normal.py",
line 57, in run
return self.runner._execute_module(conn, tmp, module_name, module_args,
inject=inject, complex_args=complex_args)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ansible/runner/__init__.py",
line 411, in _execute_module
tmp = self._make_tmp_path(conn)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ansible/runner/__init__.py",
line 1020, in _make_tmp_path
result = self._low_level_exec_command(conn, cmd, None, sudoable=False)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ansible/runner/__init__.py",
line 948, in _low_level_exec_command
in_data=in_data)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ansible/runner/connection_plugins/ssh.py",
line 285, in exec_command
rfd, wfd, efd = select.select(rpipes, [], rpipes, 1)
KeyboardInterrupt
On Thursday, 31 October 2013 15:49:44 UTC+1, Brian Coca wrote:
>
> @john, using -vvvv with the problem would give you good diagnostic output,
> just guessing here but it sounds like it was waiting for a prompt in your
> case, either for password or known_hosts.
>
--
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/f44de10d-069d-4eee-a0cc-a93107509183%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.