Discussion:
[rancid] Rancid 3.0 & Rancid 3.1 issues with foundry / enterasys
Josten, Michael
2014-05-21 12:53:38 UTC
Permalink
I made a test rancid installation to check if problems occur with an version upgrade.
Necessary changes were made to router.db files and most of the config ported from 2.3.8
to version 3.1. My syslog messages show that the user I assigned to rancid via tacacs+ logs into
all devices and and executes commands like "show running-config"
So the scripts must be working to some point. Sadly only configurations from HP ProCurve 2510G
Switches are checked into my svn repo. Settings in my .cloginrc are working, so I guess something
Broke and stops my previous config from working with this particular setup. I am a real noob
When it comes to analyzing the scripts rancid uses, so I hope you can help me out.
Switches we use

BigIron
FastIron
N7
N3

Michael Josten
Mitarbeiter IT-Betrieb
Hochschule Niederrhein
KIS - Kommunikations und Informationssysteme Service
Niederrhein University of Applied Sciences
Communication and Informationsystems Service
Reinarzstr. 49
D - 47805 Krefeld
Telefon: +49 2151 822 3129
Fax: +49 2151 822 853123
Email: ***@hs-niederrhein.de<mailto:***@hs-niederrhein.de>
www.hs-niederrhein.de<http://www.hs-niederrhein.de/>
Josten, Michael
2014-05-22 06:39:59 UTC
Permalink
Hi and thanks for the reply,



I found several errors inside the logs.



starting: Wed May 21 13:47:18 CEST 2014



property 'svn:ignore' set on '.'

Updating '.':

At revision 6.

Sending .

Sending router.db

Transmitting file data .

Committed revision 7.

/usr/local/rancid/bin/control_rancid: 309: /usr/local/rancid/bin/control_rancid: no: not found



I don't know if this is bad or not, but "not found" doesn't sound so good ;)

Here's an log example of a brocade ( foundry ) FCX648S-HPOE switch.



172.18.0.245: found unexpected command - "write term"

172.18.0.245: missed cmd(s): show running-config

172.18.0.245: End of run not found



Another example for the N7 Matrix Switch ( Enterasys )



send: spawn id exp6 not open

while executing

"send "\r""

(procedure "login" line 92)

invoked from within

"login $router $user $userpswd $passwd $enapasswd "

("foreach" body line 70)

invoked from within

"foreach router [lrange $argv $idx end] {

set router [string tolower $router]

send_user -- "$router\n"



# device timeout

set timeout [f..."

(file "/usr/local/rancid/bin/rivlogin" line 842)

172.18.1.21: missed cmd(s): all commands

172.18.1.21: End of run not found



-----Ursprüngliche Nachricht-----
Von: heasley [mailto:***@shrubbery.net]
Gesendet: Mittwoch, 21. Mai 2014 16:46
An: Josten, Michael
Betreff: Re: [rancid] Rancid 3.0 & Rancid 3.1 issues with foundry / enterasys
Post by Josten, Michael
I made a test rancid installation to check if problems occur with an version upgrade.
Necessary changes were made to router.db files and most of the config
ported from 2.3.8 to version 3.1. My syslog messages show that the
user I assigned to rancid via tacacs+ logs into all devices and and executes commands like "show running-config"
So the scripts must be working to some point. Sadly only
configurations from HP ProCurve 2510G Switches are checked into my svn
repo. Settings in my .cloginrc are working, so I guess something Broke
and stops my previous config from working with this particular setup. I am a real noob When it comes to analyzing the scripts rancid uses, so I hope you can help me out.
Switches we use
BigIron
FastIron
N7
N3
Are N7 and N3 foundry switches?



Please look at the logs directory for per-group logs and review them for errors. This is the easiest place to start.



Tschüß
Post by Josten, Michael
Michael Josten
Mitarbeiter IT-Betrieb
Hochschule Niederrhein
KIS - Kommunikations und Informationssysteme Service Niederrhein
University of Applied Sciences Communication and Informationsystems
Service Reinarzstr. 49 D - 47805 Krefeld
Telefon: +49 2151 822 3129
Fax: +49 2151 822 853123
de> www.hs-niederrhein.de<http://www.hs-niederrhein.de/<http://www.hs-niederrhein.de%3chttp:/www.hs-niederrhein.de/>>
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Loading...