Discussion:
[rancid] rancid hangs up on HP Procurve 2900-24
Serge Leschinsky
2012-02-15 22:39:21 UTC
Permalink
Hello,

I faced a problem while trying to use rancid with HP ProCurve 2900-24. Can you
please help me with the problem identification and fixing?

I used RHEL5/6 with rancid 2.3.5, 2.3.6, 2.3.8 (from the repo and built from
source).

The problem looks like inability to parse the output from HP, i.e.
===========================================================================
[***@rancid ~]$ hlogin -c 'show time' 10.3.0.254
10.3.0.254
spawn hpuifilter -- ssh -c 3des -x -l root 10.3.0.254
We'd like to keep you up to date about:
* Software feature updates
* New product announcements
* Special events

Please register your products now at: www.ProCurve.com

***@10.3.0.254's password:
ProCurve J9049A Switch 2900-24G
Software revision T.13.71

Copyright (C) 1991-2009 Hewlett-Packard Co. All Rights Reserved.

RESTRICTED RIGHTS LEGEND

Use, duplication, or disclosure by the Government is subject to restrictions
as set forth in subdivision (b) (3) (ii) of the Rights in Technical Data and
Computer Software clause at 52.227-7013.

HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303

Press any key to continuesw-core#
Error: TIMEOUT reached
[***@rancid ~]$
============================================================================


If I try just to login and _then_ manually type 'show time' it looks more
interesting:


============================================================================
[***@rancid ~]$ hlogin 10.3.0.254
10.3.0.254
spawn hpuifilter -- ssh -c 3des -x -l root 10.3.0.254
We'd like to keep you up to date about:
..... skip the banner .....
Press any key to continuesw-core# show time

Error: TIMEOUT reached
[***@rancid ~]$ show time
-bash: show: command not found
============================================================================

So it looks like commands are not sent to the HP terminal. Is it a system
problem (expect) or rancid bug?


Thank you in advance,
Serge
Skye Hagen
2012-02-15 23:06:54 UTC
Permalink
I had a similar problem with lots of timeouts on all my HP gear.

The patch to hpuifilter took care of the problem for me. Look for David
Byers email to the group titled '[rancid] Problem backing up HP switches on
RHEL 6.2 (x86_64) -- patch included'.

Skye.
Post by Serge Leschinsky
Hello,
I faced a problem while trying to use rancid with HP ProCurve 2900-24. Can you
please help me with the problem identification and fixing?
I used RHEL5/6 with rancid 2.3.5, 2.3.6, 2.3.8 (from the repo and built from
source).
The problem looks like inability to parse the output from HP, i.e.
===========================================================================
10.3.0.254
spawn hpuifilter -- ssh -c 3des -x -l root 10.3.0.254
* Software feature updates
* New product announcements
* Special events
Please register your products now at: www.ProCurve.com
ProCurve J9049A Switch 2900-24G
Software revision T.13.71
Copyright (C) 1991-2009 Hewlett-Packard Co. All Rights Reserved.
RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the Government is subject to restrictions
as set forth in subdivision (b) (3) (ii) of the Rights in Technical Data and
Computer Software clause at 52.227-7013.
HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303
Press any key to continuesw-core#
Error: TIMEOUT reached
============================================================================
If I try just to login and _then_ manually type 'show time' it looks more
============================================================================
10.3.0.254
spawn hpuifilter -- ssh -c 3des -x -l root 10.3.0.254
..... skip the banner .....
Press any key to continuesw-core# show time
Error: TIMEOUT reached
-bash: show: command not found
============================================================================
So it looks like commands are not sent to the HP terminal. Is it a system
problem (expect) or rancid bug?
Thank you in advance,
Serge
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...