Mailing List Archive

hp config goes to null
for weeks, rancid fetched a good config from my procurve 2524.
then, one otherwise calm day, i got the following <edited> diff.

and i no longer get the config.

any clues?

randy

---

===================================================================
RCS file: /usr/home/randy/rancid/CVS/psgnet/configs//myswitch.bellhead.com,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- myswitch.bellhead.com 2003/06/11 07:15:14 1.2
+++ myswitch.bellhead.com 2003/06/14 04:15:13 1.3
@@ -1,111 +1,8 @@
;RANCID-CONTENT-TYPE: hp-procurve
;
-;Chassis type: J4813A
-;Serial Number: tw04104285
;
-;Memory: 11,337,704
;
-;Image: Firmware F.02.02
-;Image: stamp: /sw/code/build/info(f00)
-;Image: Jan 16 2001 09:36:32
-;Image: F.02.02
-;Image: 887
-;Image: ROM F.01.01
-;
-;
-;
-; Stacking Status
-; Stack State : Candidate
-; Transmission Interval : 60
-; Auto Join : Yes
-;
-;
-time daylight-time-rule None
-hostname "RGnet Westin"
-snmp-server contact "Randy Bush <randy at psg.com> +1 206 356 8341"
-max-vlans 1
-interface 1
- speed-duplex 100-full
- exit
-interface 2
- speed-duplex 100-full
- exit
-interface 3
- speed-duplex 100-full
- exit
-interface 4
- speed-duplex 100-full
- exit
-interface 5
- speed-duplex 100-full
- exit
-interface 6
- speed-duplex 100-full
- exit
-interface 7
- speed-duplex 100-full
- exit
-interface 8
- speed-duplex 100-full
- exit
-interface 9
- speed-duplex 100-full
- exit
-interface 10
- speed-duplex 100-full
- exit
-interface 11
- speed-duplex 100-full
- exit
-interface 12
- speed-duplex 100-full
- exit
-interface 13
- speed-duplex 100-full
- exit
-interface 14
- speed-duplex 100-full
- exit
-interface 15
- speed-duplex 100-full
- exit
-interface 16
- speed-duplex 10-half
- exit
-interface 17
- speed-duplex 100-full
- exit
-interface 18
- speed-duplex 100-full
- exit
-interface 19
- speed-duplex 100-full
- exit
-interface 20
- speed-duplex 100-full
- exit
-interface 21
- speed-duplex 100-full
- exit
-interface 22
- speed-duplex 100-full
- exit
-interface 23
- speed-duplex 100-full
- exit
-interface 24
- speed-duplex 100-full
- exit
-ip default-gateway <deleted>
-sntp server <deleted>
-ip timep dhcp
-snmp-server community "<deleted>" Manager
-vlan 1
- name "DEFAULT_VLAN"
- untagged 1-26
- ip address <deleted> 255.255.255.0
- exit
-ip authorized-managers <deleted>
-ip authorized-managers <deleted> mask 255.255.255.0
+;
+;
+;
+;
hp config goes to null [ In reply to ]
Hello Randy , Is the system still contactable ? I suspect you've
already check that ? Does the present config show the same as the
last update ? If I were to recieve a config change like that
basically showing the the config had been erased ... Any code
updates ? , ??? Sorry for just the ?'s . JimL

On Sat, 14 Jun 2003, Randy Bush wrote:

> for weeks, rancid fetched a good config from my procurve 2524.
> then, one otherwise calm day, i got the following <edited> diff.
>
> and i no longer get the config.
>
> any clues?
>
> randy
> ---
...snip...
> -ip authorized-managers <deleted>
> -ip authorized-managers <deleted> mask 255.255.255.0
> +;
> +;
> +;
> +;
>

--
+------------------------------------------------------------------+
| James W. Laferriere | System Techniques | Give me VMS |
| Network Engineer | P.O. Box 854 | Give me Linux |
| babydr at baby-dragons.com | Coudersport PA 16915 | only on AXP |
+------------------------------------------------------------------+
hp config goes to null [ In reply to ]
> Hello Randy , Is the system still contactable ? I suspect
> you've already check that ? Does the present config show the
> same as the last update ? If I were to recieve a config change
> like that basically showing the the config had been erased ...
> Any code updates ? , ??? Sorry for just the ?'s . JimL

system contactable, snmp-able, same old config when logging in,
blah blah. no code load (should i?).

randy
hp config goes to null [ In reply to ]
Hello Randy ,

On Sat, 14 Jun 2003, Randy Bush wrote:
> > Hello Randy , Is the system still contactable ? I suspect
> > you've already check that ? Does the present config show the
> > same as the last update ? If I were to recieve a config change
> > like that basically showing the the config had been erased ...
> > Any code updates ? , ??? Sorry for just the ?'s . JimL

> system contactable, snmp-able, same old config when logging in,
> blah blah. no code load (should i?).
Can you using snmpget acquire the config ? I am going to assume
that you will not get a valid config back from the request .

I don't recommend (yet) to upgrade the code base .
Uptime of the switch ?
Just off chance have you tried rebooting the unit ? If you have
not , I am getting a bad feeling that something in the unit may
be getting corrupted . Not a certainty just a bad feeling .
So rebooting could be a bad thing .

Can you check the or even do you have a CRC/MD5 of the codebase ?
One thing for certain 'something' has changed .

--
+------------------------------------------------------------------+
| James W. Laferriere | System Techniques | Give me VMS |
| Network Engineer | P.O. Box 854 | Give me Linux |
| babydr at baby-dragons.com | Coudersport PA 16915 | only on AXP |
+------------------------------------------------------------------+
hp config goes to null [ In reply to ]
> Can you using snmpget acquire the config ?

hmmm

% snmpget -v1 -Cf -c "<frob>" <nitz> system.sysDescr.0
SNMPv2-MIB::sysDescr.0 = STRING: HP J4813A ProCurve Switch 2524, revision F.02.02, ROM F.01.01 (/sw/code/build/info(f00))

do you happen to know how to do a get for the whole config?

> Uptime of the switch ?

% snmpget -v1 -Cf -c "<frob>" <nitz> system.sysUpTime.0
SNMPv2-MIB::sysUpTime.0 = Timeticks: (356102402) 41 days, 5:10:24.02

> Just off chance have you tried rebooting the unit ?

too scared

randy
hp config goes to null [ In reply to ]
Sat, Jun 14, 2003 at 09:45:42AM -0700, Randy Bush:
> for weeks, rancid fetched a good config from my procurve 2524.
> then, one otherwise calm day, i got the following <edited> diff.
>
> and i no longer get the config.
>
> any clues?

are there any error msgs in ~randy/rancid/logs/psgnet.* wrt this switch?

rancid should not "delete" the saved config if it has trouble collecting
any of the data, but there is always the chance that we have missed some
corner case.

a quick check is, as the user who runs rancid,
% cd ~randy/rancid/bin
% hrancid -c "show version;show flash;show system-information;show module;show stack;write term" myswitch.bellhead.com
hp config goes to null [ In reply to ]
> are there any error msgs in ~randy/rancid/logs/psgnet.* wrt this switch?

Checking in configs/switch0.psg.com;
/usr/home/randy/rancid/CVS/psgnet/configs/switch0.psg.com,v <-- switch0.psg.com
new revision: 1.2; previous revision: 1.1
done

Checking in configs/switch0.psg.com;
/usr/home/randy/rancid/CVS/psgnet/configs/switch0.psg.com,v <-- switch0.psg.com
new revision: 1.3; previous revision: 1.2
done


that's it

randy
hp config goes to null [ In reply to ]
Randy Bush writes:
>> are there any error msgs in ~randy/rancid/logs/psgnet.* wrt this switch?
>
>Checking in configs/switch0.psg.com;
>/usr/home/randy/rancid/CVS/psgnet/configs/switch0.psg.com,v <-- switch0.psg.com
>new revision: 1.2; previous revision: 1.1
>done
>
>Checking in configs/switch0.psg.com;
>/usr/home/randy/rancid/CVS/psgnet/configs/switch0.psg.com,v <-- switch0.psg.com
>new revision: 1.3; previous revision: 1.2
>done
>
>
>that's it

Then rancid seems to think it got the config fine or we missed a
corner case. It would be interesting to see what rancid is doing as
Heas suggested:

% hrancid -c "show version;show flash;show system-information;show module;show stack;write term" myswitch.bellhead.com

-Hank
hp config goes to null [ In reply to ]
hosed switch

> RGnet Westin# reboot
> RGnet Westin#
> RGnet Westin#
> RGnet Westin#
> RGnet Westin#

randy
hp config goes to null [ In reply to ]
> RGnet Westin# reboot
> RGnet Westin#
> RGnet Westin#
> RGnet Westin#
> RGnet Westin#

interestingly, i could run the menu system and use it to reboot
the switch. switch acting 'normally' now. time to find out how
to get later code into the puppy.

randy
hp config goes to null [ In reply to ]
Sat, Jun 14, 2003 at 03:15:57PM -0400, Henry Kilmer:
>
> Randy Bush writes:
> >> are there any error msgs in ~randy/rancid/logs/psgnet.* wrt this switch?
> >
> >Checking in configs/switch0.psg.com;
> >/usr/home/randy/rancid/CVS/psgnet/configs/switch0.psg.com,v <-- switch0.psg.com
> >new revision: 1.2; previous revision: 1.1
> >done
> >
> >Checking in configs/switch0.psg.com;
> >/usr/home/randy/rancid/CVS/psgnet/configs/switch0.psg.com,v <-- switch0.psg.com
> >new revision: 1.3; previous revision: 1.2
> >done
> >
> >
> >that's it
>
> Then rancid seems to think it got the config fine or we missed a
> corner case. It would be interesting to see what rancid is doing as

we should count lines; eg: a zero-length 'show version' or 'show config'
should be a red flag.