Debian Bug report logs - #518901
rancid-core: Rancid fails to pull configs from HP ProCurve 5406

version graph

Package: rancid; Maintainer for rancid is Roland Rosenfeld <roland@debian.org>; Source for rancid is src:rancid.

Reported by: James Zuelow <james_zuelow@ci.juneau.ak.us>

Date: Mon, 9 Mar 2009 04:51:01 UTC

Severity: important

Fixed in version 2.3.3-1

Done: Matej Vela <vela@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Roland Rosenfeld <roland@debian.org>:
Bug#518901; Package rancid-core. (Mon, 09 Mar 2009 04:51:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to James Zuelow <james_zuelow@ci.juneau.ak.us>:
New Bug report received and forwarded. Copy sent to Roland Rosenfeld <roland@debian.org>. (Mon, 09 Mar 2009 04:51:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: James Zuelow <james_zuelow@ci.juneau.ak.us>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: rancid-core: Rancid fails to pull configs from HP ProCurve 5406
Date: Sun, 08 Mar 2009 20:48:53 -0800
Package: rancid-core
Version: 2.3.2~a8-4
Severity: important

Rancid fails to pull configs from our HP ProCurve 5406.  It works fine
with our other Procurves (25xx, 26xx, 28xx, etc.).

It turns out that the problem was that the 5406 does not have a "show
system-information" command.  It is simply "show system" on that
chassis.

Luckily, "show system" still works on the other ProCurve systems, so I
edited hrancid to change the command it used to pull information.  A
diff -u output is below, my edited copy is hrancid-5406:

~/rancid-bug$ diff -u hrancid hrancid-5406
--- hrancid     2009-03-08 20:33:03.000000000 -0800
+++ hrancid-5406        2009-03-08 20:34:07.000000000 -0800
@@ -461,7 +461,7 @@
 @commandtable = (
        {'show version'                 => 'ShowVersion'},
        {'show flash'                   => 'ShowFlash'},
-       {'show system-information'      => 'ShowSystem'},
+       {'show system'                  => 'ShowSystem'},
        {'show module'                  => 'ShowModule'},
        {'show stack'                   => 'ShowStack'},
        {'write term'                   => 'WriteTerm'}


Note that my error log is very similar to bug 426839.  I do not have a
5304XL to test with so I did not attach this information to that bug,
but I would bet that it is a similar syntax change.

Based on the switches I have here, the "show system" command would be
unambiguous for all ProCurve switches, so this change might be something
to push upstream.

Cheers,

James
-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rancid-core depends on:
ii  adduser                     3.110        add and remove users and groups
ii  cvs                         1:1.12.13-12 Concurrent Versions System
ii  debconf [debconf-2.0]       1.5.24       Debian configuration management sy
ii  expect                      5.43.0-17    A program that can automate intera
ii  iputils-ping [ping]         3:20071127-1 Tools to test the reachability of 
ii  libc6                       2.7-18       GNU C Library: Shared libraries
ii  openssh-client              1:5.1p1-5    secure shell client, an rlogin/rsh
ii  passwd                      1:4.1.1-6    change and administer password and
ii  perl                        5.10.0-19    Larry Wall's Practical Extraction 

rancid-core recommends no packages.

Versions of packages rancid-core suggests:
pn  diffstat                      <none>     (no description available)

-- debconf information:
* rancid/damn_upgrade:
* rancid/warning:
* rancid/go_on: true




Bug reassigned from package 'rancid-core' to 'rancid'. Request was from Roland Rosenfeld <roland@debian.org> to control@bugs.debian.org. (Tue, 15 Dec 2009 19:21:06 GMT) Full text and rfc822 format available.

Bug No longer marked as found in versions rancid/2.3.2~a8-4. Request was from Roland Rosenfeld <roland@debian.org> to control@bugs.debian.org. (Tue, 15 Dec 2009 19:21:07 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#518901; Package rancid. (Tue, 15 Dec 2009 19:54:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Roland Rosenfeld <roland@debian.org>:
Extra info received and forwarded to list. (Tue, 15 Dec 2009 19:54:07 GMT) Full text and rfc822 format available.

Message #14 received at 518901@bugs.debian.org (full text, mbox, reply):

From: Roland Rosenfeld <roland@debian.org>
To: James Zuelow <james_zuelow@ci.juneau.ak.us>, 518901@bugs.debian.org
Subject: Re: Bug#518901: rancid-core: Rancid fails to pull configs from HP ProCurve 5406
Date: Tue, 15 Dec 2009 20:27:06 +0100
On Sun, 08 Mar 2009, James Zuelow wrote:

> Package: rancid-core
> Version: 2.3.2~a8-4
> Severity: important
> 
> Rancid fails to pull configs from our HP ProCurve 5406.  It works fine
> with our other Procurves (25xx, 26xx, 28xx, etc.).
> 
> It turns out that the problem was that the 5406 does not have a "show
> system-information" command.  It is simply "show system" on that
> chassis.
> 
> Luckily, "show system" still works on the other ProCurve systems, so I
> edited hrancid to change the command it used to pull information.  A
> diff -u output is below, my edited copy is hrancid-5406:

> -       {'show system-information'      => 'ShowSystem'},
> +       {'show system'                  => 'ShowSystem'},

> Based on the switches I have here, the "show system" command would be
> unambiguous for all ProCurve switches, so this change might be something
> to push upstream.

I still do not have any HP switches at hand, so could you please try
out whether the 2.3.2-1 package of rancid solves this problem?  In
this version the command table was changed to:
        {'show system-information'      => 'ShowSystem'},
        {'show system information'      => 'ShowSystem'},
So maybe the second line solves your problem?

Tschoeeee

        Roland




Information forwarded to debian-bugs-dist@lists.debian.org, Roland Rosenfeld <roland@debian.org>:
Bug#518901; Package rancid. (Tue, 12 Jan 2010 22:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to James Zuelow <James_Zuelow@ci.juneau.ak.us>:
Extra info received and forwarded to list. Copy sent to Roland Rosenfeld <roland@debian.org>. (Tue, 12 Jan 2010 22:24:02 GMT) Full text and rfc822 format available.

Message #19 received at 518901@bugs.debian.org (full text, mbox, reply):

From: James Zuelow <James_Zuelow@ci.juneau.ak.us>
To: 'Roland Rosenfeld' <roland@debian.org>, "518901@bugs.debian.org" <518901@bugs.debian.org>
Subject: RE: Bug#518901: rancid-core: Rancid fails to pull configs from HP ProCurve 5406
Date: Tue, 12 Jan 2010 13:16:17 -0900
> 
> I still do not have any HP switches at hand, so could you please try
> out whether the 2.3.2-1 package of rancid solves this problem?  In
> this version the command table was changed to:
>         {'show system-information'      => 'ShowSystem'},
>         {'show system information'      => 'ShowSystem'},
> So maybe the second line solves your problem?
> 
> Tschoeeee
> 
>         Roland

Sorry about the delay.  Yes, the Squeeze 2.3.2-1 package works without modification.



Reply sent to Matej Vela <vela@debian.org>:
You have taken responsibility. (Wed, 23 Feb 2011 13:00:05 GMT) Full text and rfc822 format available.

Notification sent to James Zuelow <james_zuelow@ci.juneau.ak.us>:
Bug acknowledged by developer. (Wed, 23 Feb 2011 13:00:06 GMT) Full text and rfc822 format available.

Message #24 received at 518901-done@bugs.debian.org (full text, mbox, reply):

From: Matej Vela <vela@debian.org>
To: 518901-done@bugs.debian.org
Subject: Re: Bug#518901: rancid-core: Rancid fails to pull configs from HP ProCurve 5406
Date: Wed, 23 Feb 2011 13:38:47 +0100
Version: 2.3.3-1

James Zuelow <James_Zuelow@ci.juneau.ak.us> writes:

> Sorry about the delay.  Yes, the Squeeze 2.3.2-1 package works without modification.

OK, closing.

Thanks,

Matej




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 24 Mar 2011 07:31:17 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Aug 10 22:39:18 2016; Machine Name: beach

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.