<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Tanner Lyle</b> <span dir="ltr"><<a href="mailto:tannerlyle@gmail.com">tannerlyle@gmail.com</a>></span><br>Date: Fri, Jun 2, 2017 at 9:19 AM<br>Subject: help ciena-ws trouble on Rancid 3.6.2<br>To: <a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a><br><br><br><div dir="ltr">I am having trouble trying to get Rancid 3.6.2 to complete on a Ciena Waveserver. I have other devices that are able to run and create configs on my rancid install. <div><br></div><div>It is able to login in and runs the commands but never seems to be able to pass the output to the parsing scripts<br><br></div><div><div>export NOPIPE=YES && rancid -d -t ciena-ws 192.168.168.32</div><div>loadtype: device type ciena-ws</div><div>loadtype: found device type ciena-ws in /usr/local/rancid/etc/rancid.<wbr>types.base</div><div>executing hlogin -t 120 -c"software show;chassis show;configuration show" 192.168.168.32</div><div><a href="http://192.168.168.32" target="_blank">192.168.168.32</a>: missed cmd(s): all commands</div><div><a href="http://192.168.168.32" target="_blank">192.168.168.32</a>: End of run not found</div></div><div><br></div><div>hlogin seems to fail from the use of "logout" instead of "exit" and never closes the loop. </div><div><br></div><div>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</div><div><br></div><div><div># Ciena Waveserver (XXX WiP)</div><div>ciena-ws;script;rancid -t ciena-ws</div><div>ciena-ws;login;cienawslogin</div><div>ciena-ws;module;wavesvros</div><div>ciena-ws;inloop;wavesvros::<wbr>inloop </div><div>ciena-ws;command;wavesvros::<wbr>ShowVersion;software show </div><div>ciena-ws;command;wavesvros::<wbr>ShowChassis;chassis show </div><div>ciena-ws;command;wavesvros::<wbr>WriteTerm;configuration show</div></div><div><br></div><div><div>export NOPIPE=YES && rancid -d -t ciena-ws 192.168.168.32</div><div>loadtype: device type ciena-ws</div><div>loadtype: found device type ciena-ws in /usr/local/rancid/etc/rancid.<wbr>types.base</div><div>executing cienawslogin -t 120 -c"software show;chassis show;configuration show" 192.168.168.32</div><div><a href="http://192.168.168.32" target="_blank">192.168.168.32</a>: missed cmd(s): all commands</div><div><a href="http://192.168.168.32" target="_blank">192.168.168.32</a>: End of run not found</div></div><div><br></div><div>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</div><div><br></div><div>is there anyway to debug why the output isn't making it to be parsed</div><div><br></div><div><br></div></div>
</div>cienawslogin -d -t 120 -c"software show" 192.168.168.32<br>output in "cienawslogin-debug.txt"</div>