Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: RANCID: Users

rancid hangs up on HP Procurve 2900-24

 

 

RANCID users RSS feed   Index | Next | Previous | View Threaded


serge.leschinsky at gmail

Feb 15, 2012, 2:39 PM

Post #1 of 2 (581 views)
Permalink
rancid hangs up on HP Procurve 2900-24

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 [at] ranci ~]$ 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

root [at] 10'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 [at] ranci ~]$
============================================================================


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


============================================================================
[rancid [at] ranci ~]$ 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 [at] ranci ~]$ 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
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


skyeh at uidaho

Feb 15, 2012, 3:06 PM

Post #2 of 2 (544 views)
Permalink
Re: rancid hangs up on HP Procurve 2900-24 [In reply to]

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.


On 2/15/12 2:39 PM, "Serge Leschinsky" <serge.leschinsky [at] gmail> wrote:

> 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 [at] ranci ~]$ 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
>
> root [at] 10'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 [at] ranci ~]$
> ============================================================================
>
>
> If I try just to login and _then_ manually type 'show time' it looks more
> interesting:
>
>
> ============================================================================
> [rancid [at] ranci ~]$ 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 [at] ranci ~]$ 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
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss [at] shrubbery
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

RANCID users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.