Closed v4l3x76 closed 6 years ago
Please follow the debugging instructions and append a log of interaction with the device to this issue.
Could you include the ssh log file which contains the exact interaction with the device? Additionally, it would be interesting to know the output of show version
on the device, as well as the device name and prompt.
From the log, it indeed seems the prompt can't be detected after the first command executed, but I am unble to reproduce it on an NX-OS device (5.2.1(N1)).
We are looking into oxidezed for backup condigurations of our new Cisco MDS 9132T switches running NX-OS. According to this issue it's not possible to backup these configs. Is this conclusion based on funcionality or because of not enough debuglogs available? In other words; can this be made working when having enough info?
Hello,
it seems no end of line identified on command output those switches. Any idea?
model]# /usr/local/share/gems/bin/oxs -m nxos -u user -p passwd -v -d device 'show running-config' execution expired
/usr/local/share/gems/gems/oxidized-0.16.1/lib/oxidized/input/ssh.rb:130:in'
sleep': execution expired (Timeout::Error) from /usr/local/share/gems/gems/oxidized-0.16.1/lib/oxidized/input/ssh.rb:130:in
block (2 levels) in expect' from /usr/local/share/gems/gems/net-ssh-3.0.2/lib/net/ssh/connection/session.rb:221:inpreprocess' from /usr/local/share/gems/gems/net-ssh-3.0.2/lib/net/ssh/connection/session.rb:206:in
process' from /usr/local/share/gems/gems/net-ssh-3.0.2/lib/net/ssh/connection/session.rb:170:inblock in loop' from /usr/local/share/gems/gems/net-ssh-3.0.2/lib/net/ssh/connection/session.rb:170:in
loop' from /usr/local/share/gems/gems/net-ssh-3.0.2/lib/net/ssh/connection/session.rb:170:inloop' from /usr/local/share/gems/gems/oxidized-0.16.1/lib/oxidized/input/ssh.rb:129:in
block in expect' from /usr/local/share/gems/gems/oxidized-0.16.1/lib/oxidized/input/ssh.rb:128:inexpect' from /usr/local/share/gems/gems/oxidized-0.16.1/lib/oxidized/input/ssh.rb:122:in
cmd_shell' from /usr/local/share/gems/gems/oxidized-0.16.1/lib/oxidized/input/ssh.rb:62:incmd' from /usr/local/share/gems/gems/oxidized-0.16.1/lib/oxidized/model/model.rb:84:in
cmd' from /usr/local/share/gems/gems/oxidized-script-0.2.0/lib/oxidized/script/script.rb:22:incmd' from /usr/local/share/gems/gems/oxidized-script-0.2.0/lib/oxidized/script/cli.rb:16:in
run' from /usr/local/share/gems/gems/oxidized-script-0.2.0/bin/oxs:5:in<top (required)>' from /usr/local/share/gems/bin/oxs:23:in
load' from /usr/local/share/gems/bin/oxs:23:in `