I'm trying to use Ansible for remotely controlling outlets on a networked 
power distribution unit in a rack. I can manually ssh to it fine, but 
whenever I try to do it with Ansible, it can't connect, and the -vvvv is 
not giving me anything useful. I tried using both the paramiko and ssh 
connections, neither worked, or provided any info.

[dmarold@drewtest ansible]$ ansible rack1_pdu -m raw -a 'help' -c paramiko 
-vvvv
 [WARNING]: The version of gmp you have installed has a known issue 
regarding
timing vulnerabilities when used with pycrypto. If possible, you should 
update
it (i.e. yum update gmp).

<10.26.1.129> ESTABLISH CONNECTION FOR USER: apc on PORT 22 TO 10.26.1.129
rack1_pdu | FAILED => FAILED: No existing session
[dmarold@drewtest ansible]$ ansible rack1_pdu -m raw -a 'help'  -vvvv
 [WARNING]: The version of gmp you have installed has a known issue 
regarding
timing vulnerabilities when used with pycrypto. If possible, you should 
update
it (i.e. yum update gmp).

<10.26.1.129> ESTABLISH CONNECTION FOR USER: apc
<10.26.1.129> EXEC sshpass -d6 ssh -C -tt -vvv -o ControlMaster=auto -o 
ControlPersist=60s -o 
ControlPath="/users/dmarold/.ansible/cp/ansible-ssh-%h-%p-%r" -o 
StrictHostKeyChecking=no -o Port=22 -o GSSAPIAuthentication=no -o 
PubkeyAuthentication=no -o User=apc -o ConnectTimeout=10 10.26.1.129 help
rack1_pdu | FAILED => SSH Error: data could not be sent to the remote host. 
Make sure this host can be reached over ssh
[dmarold@drewtest ansible]$ ssh [email protected]
[email protected]'s password: 


American Power Conversion               Network Management Card AOS     
 v6.1.3
(c) Copyright 2013 All Rights Reserved  RPDU 2g                         
 v6.0.9
-------------------------------------------------------------------------------
Name      : rack1pduright                             Date : 02/02/2015
Contact   : Unknown                                   Time : 14:44:05
Location  : Aisle 7, Rack 1 right side                User : Super User
Up Time   : 7 Days 4 Hours 22 Minutes                 Stat : P+ N4+ N6+ A+


Type ? for command listing
Use tcpip command for IP address(-i), subnet(-s), and gateway(-g)

apc>

Any suggestions greatly appreciated.

-- 
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/f795bbb0-2e55-4fcb-b18d-11e769ba001e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to