[rancid] vyatta/vyos

robert.4.hughes at bt.com robert.4.hughes at bt.com
Wed Apr 1 13:04:59 UTC 2015


Hi Antonio,

I have installed the new modules, so I guess it was just ignoring vrancid anyway. I have now deleted vrancid to make sure.

I still get the error in the log file router01: vlogin error: Error: TIMEOUT reached

This is the vyos entry in rancid.types.conf

vyos;script;rancid -t vyos
vyos;login;vlogin
vyos;module;vyos
vyos;inloop;vyos::inloop
vyos;command;vyos::ShowConfiguration;show configuration commands

This is the output when I run:   rancid -t vyos -d router01

loadtype: device type vyos
loadtype: found device type vyos in /opt/rancid/etc/rancid.types.conf
executing vlogin -t 120 -c"show configuration commands" router01
HIT COMMAND:vyos at router01:~$ show configuration commands
        In ShowConfiguration: vyos at router01:~$ show configuration commands

I can run this manually ok, it logs in and displays the config fine:

      vlogin -t 120 -c"show configuration commands" router01

Is there anywhere else I can look to change?

Regards
Rob


-----Original Message-----
From: Antonio Querubin [mailto:tony at lavanauts.org] 
Sent: 01 April 2015 13:21
To: Hughes,R,Robert,VIE C
Cc: adam at ballinatta.com; rancid-discuss at shrubbery.net
Subject: RE: [rancid] vyatta/vyos

On Wed, 1 Apr 2015, robert.4.hughes at bt.com wrote:

> I am seeing the same issue.
>
> When I run rancid-run I see the following errors in the log file:
>
> router01: vlogin error: Error: TIMEOUT reached
> router01: missed cmd(s): show configuration commands
> router01: End of run not found
> #
> Getting missed routers: round 1.
> Passed argv0 into rancid-fe {
> Unknown router manufacturer for {:
>
> Manually I can run vlogin -c "show configuration commands" router01 
> And this pulls back the config.
>
> Note I manually changed the vrancid file to just run the command "show 
> configuration commands", not sure if this is the correct way to 
> configure the commands or should I be using rancid.types.conf?

vrancid is no longer used and should be deleted.  You should be using rancid.types.conf and vyos.pm.  The latter needs to be moved to the same directory where rancid.pm resides.  rancid.types.conf should look something like:

vyos;script;rancid -t vyos
vyos;login;vlogin
vyos;module;vyos
vyos;inloop;vyos::inloop
vyos;command;vyos::ShowHardware;show hardware cpu vyos;command;vyos::ShowHardware;show hardware dmi vyos;command;vyos::ShowHardware;show hardware pci vyos;command;vyos::ShowHardware;show hardware scsi vyos;command;vyos::ShowHardware;show hardware usb vyos;command;vyos::ShowVersion;show system routing-daemons vyos;command;vyos::ShowVersion;show system image vyos;command;vyos::ShowVersion;show version all vyos;command;vyos::ShowConfiguration;show configuration vyos;command;vyos::ShowConfiguration;show configuration commands


Antonio Querubin
e-mail:  tony at lavanauts.org
xmpp:  antonioquerubin at gmail.com


More information about the Rancid-discuss mailing list