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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to