Discussion:
[rancid] problem with procurve 2900-24g and new firmware version (T13.23
Jeroen
2008-11-21 11:40:25 UTC
Permalink
Hi Group,

I'm a long time user of rancid but never had problems I couldn't solve
myself with a bit of googling, I'm currently using rancid-2.3.2a8.

Problems started when I upgraded one of the many HP procurves we have
from T12.13 to firmware version T13.23.

Rancid started complaining about not being able to fetch the config.

I've tried debugging this by logging in from the console:

bin/hlogin -f /home/rancid/.cloginrc <switchname>

however, this is working fine as far as I can tell; it's logging in,
gives me a prompt and I'm able to give commands and everything.

Is someone able to point me to the right direction, or may be even has a
patch already to make this work?

Kind regards,

Jeroen
Jeroen
2008-11-21 19:42:22 UTC
Permalink
probably because some commands have changed. try the attached.
Hi John,

Thank you for your prompt answer but unfortunately this doesn't help.
Still the same problem.


Kind regards,

Jeroen
Post by Jeroen
Hi Group,
I'm a long time user of rancid but never had problems I couldn't solve
myself with a bit of googling, I'm currently using rancid-2.3.2a8.
Problems started when I upgraded one of the many HP procurves we have
from T12.13 to firmware version T13.23.
Rancid started complaining about not being able to fetch the config.
bin/hlogin -f /home/rancid/.cloginrc <switchname>
however, this is working fine as far as I can tell; it's logging in,
gives me a prompt and I'm able to give commands and everything.
Is someone able to point me to the right direction, or may be even has a
patch already to make this work?
Kind regards,
Jeroen
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Jeroen
2008-11-21 19:55:10 UTC
Permalink
Post by Jeroen
probably because some commands have changed. try the attached.
Hi John,
Thank you for your prompt answer but unfortunately this doesn't help.
Still the same problem.
Kind regards,
Jeroen
Hi all,

me again; problem fixed !
after I got the message from John I found out that:

show system-information

had to be changed to:

show system information

here is the patch:


@@ -461,7 +461,7 @@
@commandtable = (
{'show version' => 'ShowVersion'},
{'show flash' => 'ShowFlash'},
- {'show system-information' => 'ShowSystem'},
+ {'show system information' => 'ShowSystem'},
{'show module' => 'ShowModule'},
{'show stack' => 'ShowStack'},
{'write term' => 'WriteTerm'}




Have a nice weekend !

Kind regards,

Jeroen
Post by Jeroen
Post by Jeroen
Hi Group,
I'm a long time user of rancid but never had problems I couldn't solve
myself with a bit of googling, I'm currently using rancid-2.3.2a8.
Problems started when I upgraded one of the many HP procurves we have
from T12.13 to firmware version T13.23.
Rancid started complaining about not being able to fetch the config.
bin/hlogin -f /home/rancid/.cloginrc <switchname>
however, this is working fine as far as I can tell; it's logging in,
gives me a prompt and I'm able to give commands and everything.
Is someone able to point me to the right direction, or may be even has a
patch already to make this work?
Kind regards,
Jeroen
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Jeroen
2008-11-21 20:21:47 UTC
Permalink
Post by Jeroen
Post by Jeroen
probably because some commands have changed. try the attached.
Hi John,
Thank you for your prompt answer but unfortunately this doesn't help.
Still the same problem.
Kind regards,
Jeroen
Hi all,
me again; problem fixed !
show system-information
what i sent to you had a fix for this. why didnt it work?
Hi John,

I'm sorry, I really don't know; only that it didn't. Might be in the way
it tries to find out to either use 'system-information' or 'system
information' ?

Kind regards,

Jeroen
Post by Jeroen
show system information
@@ -461,7 +461,7 @@
@commandtable = (
{'show version' => 'ShowVersion'},
{'show flash' => 'ShowFlash'},
- {'show system-information' => 'ShowSystem'},
+ {'show system information' => 'ShowSystem'},
{'show module' => 'ShowModule'},
{'show stack' => 'ShowStack'},
{'write term' => 'WriteTerm'}
Have a nice weekend !
Kind regards,
Jeroen
Post by Jeroen
Post by Jeroen
Hi Group,
I'm a long time user of rancid but never had problems I couldn't solve
myself with a bit of googling, I'm currently using rancid-2.3.2a8.
Problems started when I upgraded one of the many HP procurves we have
from T12.13 to firmware version T13.23.
Rancid started complaining about not being able to fetch the config.
bin/hlogin -f /home/rancid/.cloginrc <switchname>
however, this is working fine as far as I can tell; it's logging in,
gives me a prompt and I'm able to give commands and everything.
Is someone able to point me to the right direction, or may be even has a
patch already to make this work?
Kind regards,
Jeroen
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Sam Munzani
2008-11-21 20:08:42 UTC
Permalink
Where did you find the 2.3.2a8 version? I don't see such version posted
on rancid page.

http://www.shrubbery.net/rancid/

Thanks,
sam
Post by Jeroen
Hi Group,
I'm a long time user of rancid but never had problems I couldn't solve
myself with a bit of googling, I'm currently using rancid-2.3.2a8.
Problems started when I upgraded one of the many HP procurves we have
from T12.13 to firmware version T13.23.
Rancid started complaining about not being able to fetch the config.
bin/hlogin -f /home/rancid/.cloginrc <switchname>
however, this is working fine as far as I can tell; it's logging in,
gives me a prompt and I'm able to give commands and everything.
Is someone able to point me to the right direction, or may be even has a
patch already to make this work?
Kind regards,
Jeroen
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Jeroen
2008-11-21 20:16:03 UTC
Permalink
Post by Sam Munzani
Where did you find the 2.3.2a8 version? I don't see such version
posted on rancid page.
http://www.shrubbery.net/rancid/
Hi Sam,

It's on the rancid ftp-server

lftp ftp.shrubbery.net:/pub/rancid> ls rancid-2.3.2a8.tar.gz
-r--r--r-- 1 7053 rancid 316677 Feb 8 2008 rancid-2.3.2a8.tar.gz

kind regards,

Jeroen
Post by Sam Munzani
Thanks,
sam
Post by Jeroen
Hi Group,
I'm a long time user of rancid but never had problems I couldn't
solve myself with a bit of googling, I'm currently using rancid-2.3.2a8.
Problems started when I upgraded one of the many HP procurves we have
from T12.13 to firmware version T13.23.
Rancid started complaining about not being able to fetch the config.
bin/hlogin -f /home/rancid/.cloginrc <switchname>
however, this is working fine as far as I can tell; it's logging in,
gives me a prompt and I'm able to give commands and everything.
Is someone able to point me to the right direction, or may be even
has a patch already to make this work?
Kind regards,
Jeroen
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Jeroen
2008-12-15 21:01:47 UTC
Permalink
Did you make any progress on this? I just spent most of this week
getting rancid to play nice with a few Dell switches, and I
encountered similar issues.
Hi Burton,

No, because of time I have left it on the side for the moment...

My fix worked, but then the switches that were not yet running version
13 firmware wouldn't work....

John offered a larger patch, but that isn't working either....

Kind regards,

jeroen
Jon Peatfield
2008-12-17 08:32:27 UTC
Permalink
Post by Jeroen
Did you make any progress on this? I just spent most of this week
getting rancid to play nice with a few Dell switches, and I
encountered similar issues.
Hi Burton,
No, because of time I have left it on the side for the moment...
My fix worked, but then the switches that were not yet running version
13 firmware wouldn't work....
John offered a larger patch, but that isn't working either....
I'm incuding a patch which works ok for me with either version 12 or 13 of
a variety of HP procurve switches. Patch is against rancid-2.3.2a8 - I've
not yet checked a9.

The patch causes it to send both the show system-information and show
system information commands but ignore the errors from the one which fails
with if there are certain 'errors' (Invalid command etc).

The patch is originally from Richard Golier so he deserves the credit.

-- Jon

Loading...