[rancid] help ciena-ws trouble on Rancid 3.6.2
Tanner Lyle
tannerlyle at gmail.com
Fri Jun 2 15:29:58 UTC 2017
---------- Forwarded message ----------
From: Tanner Lyle <tannerlyle at gmail.com>
Date: Fri, Jun 2, 2017 at 9:19 AM
Subject: help ciena-ws trouble on Rancid 3.6.2
To: rancid-discuss at shrubbery.net
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.
It is able to login in and runs the commands but never seems to be able to
pass the output 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
is there anyway to debug why the output isn't making it to be parsed
cienawslogin -d -t 120 -c"software show" 192.168.168.32
output in "cienawslogin-debug.txt"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170602/72a5fb24/attachment.html>
-------------- next part --------------
192.168.168.32
spawn hpuifilter -- ssh -x -l su 192.168.168.32
Password:
!!! This is a private network. Any unauthorized access or use will lead to prosecution!!!
Welcome to the Waveserver OS CLI!
Waveserver-Bottom#
Waveserver-Bottom# system shell session set more off
Waveserver-Bottom# software show
Operation is in progress...
+---------------- SOFTWARE STATE INFORMATION -------------------+
| Parameter | Value |
+-------------------------------+-------------------------------+
| Software Operational State | Normal |
| Upgrade Operational State | Idle |
+-------------------------------+-------------------------------+
| Auto-revert Timer | Not running |
| User-revert Timer | Not running |
+-------------------------------+-------------------------------+
| Last Command File Executed | |
| Last Config File via Command | |
+-------------------------------+-------------------------------+
+---------------- ACTIVE RELEASE INFORMATION -------------------+
| Parameter | Value |
+-------------------------------+-------------------------------+
| Version | 1.3.1 |
| Build | ci08 |
| Build Date | 2017.03.24-13:28.38 |
| Catalog Name | 1.3.1-ci08_svrbuild_wvsrvr |
| License Name | Waveserver-SWR1.3.0 |
| License Version | 1.3 |
+-------------------------------+-----------+---------+---------+
| Release Component | Version | Build | State |
+-------------------------------+-----------+---------+---------+
| Waveserver OS | 1.3.1 | ci08 | Active |
| WS Control Datapath Firmware | 1.2.0 | bf88 | Active |
| WS Wavelogic Firmware | 1.2.0 | bf88 | Active |
| WS Controller App | 1.3.1 | ci08 | Active |
| WS Datapath App | 1.3.1 | ci08 | Active |
| WS Management App | 1.3.1 | ci08 | Active |
| WS License Service App | 1.3.1 | ci08 | Active |
| WS MIB | 01-03-00 | 00 | Active |
| WS YANG | 01-03-00 | 00 | Active |
| WS HW-ID | 002 | 00 | Active |
| WS SW-ID | 01 | 00 | Active |
+-------------------------------+-----------+---------+---------+
+------------------------+--------+--------------+--------+---------+
| Licensed Feature | In-Use | Availability | Type | Status |
+------------------------+--------+--------------+--------+---------+
| Software Release | No | No | | |
| Software Release 1.3.0 | Yes | Held | Served | Valid |
+------------------------+--------+--------------+--------+---------+
Waveserver-Bottom#exit
Goodbye.
Connection to 192.168.168.32 closed.
-------------- 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/72a5fb24/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/72a5fb24/attachment-0001.bin>
More information about the Rancid-discuss
mailing list