[rancid] help ciena-ws trouble on Rancid 3.6.2

Tanner Lyle tannerlyle at gmail.com
Fri Jun 2 14:19:18 UTC 2017


I am having issues trying to get Rancid 3.6.2 to run commands and parse
output from a Ciena Waveserver.  I have other devices that are able to run
via my rancid install.

It is able to login in and runs the commands but never seems to be able to
pass them to the parsing scripts

export NOPIPE=YES && rancid -d -t ciena-ws 192.168.168.32
loadtype: device type ciena-ws
loadtype: found device type ciena-ws in
/usr/local/rancid/etc/rancid.types.base
executing hlogin -t 120 -c"software show;chassis show;configuration show"
192.168.168.32
192.168.168.32: missed cmd(s): all commands
192.168.168.32: End of run not found

hlogin seems to fail from the use of "logout" instead of "exit" and never
closes the loop.

I created a new login called cienawslogin and ran it and it seems to close
the loop but never passes the output to the parse script

# Ciena Waveserver (XXX WiP)
ciena-ws;script;rancid -t ciena-ws
ciena-ws;login;cienawslogin
ciena-ws;module;wavesvros
ciena-ws;inloop;wavesvros::inloop
ciena-ws;command;wavesvros::ShowVersion;software show
ciena-ws;command;wavesvros::ShowChassis;chassis show
ciena-ws;command;wavesvros::WriteTerm;configuration show

export NOPIPE=YES && rancid -d -t ciena-ws 192.168.168.32
loadtype: device type ciena-ws
loadtype: found device type ciena-ws in
/usr/local/rancid/etc/rancid.types.base
executing cienawslogin -t 120 -c"software show;chassis show;configuration
show" 192.168.168.32
192.168.168.32: missed cmd(s): all commands
192.168.168.32: End of run not found

I've included both of the 192.168.168.32.raw's generated by the "export
NOPIPE=YES && rancid -d -t ciena-ws 192.168.168.32" with both the hlogin
and wavewslogin files
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170602/32525f40/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hlogin.192.168.168.32.raw
Type: image/raw
Size: 15849 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170602/32525f40/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cienawslogin.192.168.168.32.raw
Type: image/raw
Size: 15739 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170602/32525f40/attachment-0001.bin>


More information about the Rancid-discuss mailing list