[rancid] help ciena-ws trouble on Rancid 3.6.2

Chris Wopat me at falz.net
Fri Jun 2 20:11:00 UTC 2017


> From: Tanner Lyle <tannerlyle at gmail.com>
> 
> 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


There was some discussion of this on the list last week, but not a fix 
yet. I sent some debugging info off list to heasley as well.

http://www.shrubbery.net/pipermail/rancid-discuss/2017-May/009587.html

I have unpredictable behavior between my boxes. I have RANCID set to run 
hourly. On a rare occasion (once every two days?) one will run all of a 
sudden over night when no one has made any changes to anything. A few 
others have never had a successful run.


--Chris



More information about the Rancid-discuss mailing list