Upgraded 2 lab switches (a WS-8-150-DC and a WS-26-500-DC) from .22 to .23 - can confirm our RSA ssh-keys are working again now that they are no longer truncated.
Acknowledging that the SNMP data collection hang-up wasn't specifically fixed in this version, but noting for posterity that SNMP collection for fans, voltages, temps, power consumption, and interface networking details were reporting 0 (zero) directly after the FW upgrade.
But I've run into a strange issue; 5 minutes after disabling and re-enabling the SNMP server from the webGUI (which had restored SNMP data collection) I lost connectivity to the switch. According to logs it decided to "revert to a last known good configuration", as if it failed to confirm connectivity after my changes - but I have no idea why it did this. I was in the webGUI after the SNMP server was re-enabled, saw that it had processed that request successfully and had navigated around the GUI for a short while afterwards. Below are the switch logs from 1.5.23 upgrade to connectivity loss:
- Code: Select all
Dec 16 08:03:57 sw-rofl-access1 UI[818]: Firmware upgrade by admin (redacted)
Dec 16 08:07:36 sw-rofl-access1 init: starting pid 2897, tty '': '/etc/init.d/rcS K stop'
Dec 16 08:07:36 sw-rofl-access1 sysinit: no process in pidfile '/var/run/switch-g' found; none killed
Dec 16 08:07:36 sw-rofl-access1 sysinit: rm: can't remove '/var/run/switch-g': No such file or directory
Dec 16 08:07:36 sw-rofl-access1 root: stopped ntp daemon
Dec 16 08:07:36 sw-rofl-access1 sysinit: stopped process in pidfile '/var/run/ntp' (pid 913)
Dec 16 08:07:38 sw-rofl-access1 root: removing lan (eth0.100) from firewall zone lan
Dec 16 08:08:44 sw-rofl-access1 kernel: eth0.100: no IPv6 routers present
Dec 16 08:09:33 sw-rofl-access1 root: upgrading certificate
Dec 16 08:09:34 sw-rofl-access1 sysinit: Generating a RSA private key
Dec 16 08:10:03 sw-rofl-access1 sysinit: .................................................................................................................+++++
Dec 16 08:10:42 sw-rofl-access1 sysinit: ..................................................................................................................................................................................................................................
Dec 16 08:10:42 sw-rofl-access1 sysinit: writing new private key to '/etc/config/lighttpd.pem'
Dec 16 08:10:42 sw-rofl-access1 sysinit: -----
Dec 16 08:10:43 sw-rofl-access1 switch[1543]: Detected warm boot
Dec 16 08:10:46 sw-rofl-access1 switch[1541]: temp sensor version 1
Dec 16 08:10:46 sw-rofl-access1 root: stopped ntp daemon
Dec 16 08:10:46 sw-rofl-access1 root: started ntp daemon
Dec 16 08:10:47 sw-rofl-access1 root: sync time via ntp
Dec 16 14:42:57 sw-rofl-access1 UI[1514]: Configuration changed by admin (redacted)
Dec 16 14:42:57 sw-rofl-access1 UI[1514]: Config_Version: 31 => 32
Dec 16 14:42:57 sw-rofl-access1 UI[1514]: SNMP_Server_Enable: true => false
Dec 16 14:43:02 sw-rofl-access1 UI[1514]: Configuration changed by admin (redacted)
Dec 16 14:43:02 sw-rofl-access1 UI[1514]: Config_Version: 32 => 33
Dec 16 14:43:02 sw-rofl-access1 UI[1514]: SNMP_Server_Enable: false => true
Dec 16 14:48:06 sw-rofl-access1 root: !Reverting to last known good configuration
Dec 16 14:48:07 sw-rofl-access1 passwd: Password for admin changed by admin
Edit: I originally said I couldn't reach it on it's configured or default IP, but I was doing a dumb. Anyway, I have found the switch has indeed defaulted itself. Any theories as to why it's done this?
I'll be headed to our lab tomorrow to investigate further, but was hoping to get feedback on this in case you need any further information from me before I tried to recover the switch.