Now the vsx update-software have been successfully processed.
I'm kinda disappointed though. The switch should prompt a message or something during the file verification before launching the upgrade. And why the badly name file is applied on the secondary member but doesn't pass on the primary member ?
Plus the prerequisite of renaming the file is not mentionned in the CLI Guide. Now that you gave me tips, I can see in the exemple section that the name of the file has been modified :
it's a tricky one ...
Original Message:
Sent: Apr 15, 2024 03:29 AM
From: Don Wooning
Subject: Upgrading AOS-CX 10.12 VSX update-software
For me it had to do with the name of the firmware file. I had to change the name for example from ArubaOS-CX_8360-8100_10_12_1010.swi to LL_10_12_1010.swi. After changing the name, the firmware update run without any issues.
Regards,
Don
------------------------------
DonW
Original Message:
Sent: Apr 12, 2024 03:57 AM
From: loicg
Subject: Upgrading AOS-CX 10.12 VSX update-software
Hello Steinar
Did you have any update regarding your issue ?
I have the same behaviour and log messages on a brand new cluster of CX8100 upgrading from 10.12.0006 to 10.13.1010.
VSX cluster is ok,
keepalive is ok,
ntp is ok,
i've activate the allow unsafe-update
but it doesn't upgrade the primary member...
Original Message:
Sent: Dec 31, 2023 01:39 AM
From: Steinar Grande
Subject: Upgrading AOS-CX 10.12 VSX update-software
Hi, NO , not resolved :(
------------------------------
Steinar
Original Message:
Sent: Dec 27, 2023 11:55 AM
From: Don.Wooning@spits.nl
Subject: Upgrading AOS-CX 10.12 VSX update-software
Steinar,
did you get it solved? I have the same issue with a 8100 vsx stack. At the end the image is uploaded only in the secondary vsx member. The secondary vsx member is rebooted with the new image, the primary fails in the proces with a reboot failed on VSX primary.
Putting the image manually in the image bank and issue the command vsx update-software boot-bank primary/secondary works.
Regards,
Don
Original Message:
Sent: Nov 22, 2023 04:53 AM
From: Steinar Grande
Subject: Upgrading AOS-CX 10.12 VSX update-software
Just a naming convention, due to file-name length issues with the tftp server,
The images is copied twice ok (as indicated in the cli/console),
but after some strange behavior, it probably fallback, or whatever,
then revert to the original image in primary member.
------------------------------
Steinar
Original Message:
Sent: Nov 17, 2023 07:28 AM
From: parnassus
Subject: Upgrading AOS-CX 10.12 VSX update-software
Mate, what the hell is that "10130005" ?
Original Message:
Sent: 11/17/2023 5:52:00 AM
From: Steinar Grande
Subject: RE: Upgrading AOS-CX 10.12 VSX update-software
what am i doing wrong ?
ToR8365VSXCore# vsx update-software tftp://10.20.30.40/10130005 vrf default
This command will download and upgrade new software image version,
both VSX primary and secondary systems, from 'LL.10.12.1010' to '10130005' installed
in secondary bank on both devices, then reboot them in sequence.
The VSX secondary will reboot first, followed by primary.
Continue (y/n)? y
Do you want to save the current configuration (y/n)? y
The running configuration is saved to the startup configuration.
VSX Primary Software Update Status : Reboot failed
VSX Secondary Software Update Status : None
VSX ISL Status : Up
Progress [###############################...........................................................]
Software update failed. Reboot failed on VSX primary.
As in first test, the Secondary worked.
??
------------------------------
Steinar
Original Message:
Sent: Nov 13, 2023 12:43 AM
From: Steinar Grande
Subject: Upgrading AOS-CX 10.12 VSX update-software
Thank you for the swift and thoughtful response.
Yes I agree it should have worked, but I didn't.
However, the two VSX-stacked 8365 is still in a pre-production and lab environment,
with the same running image, as the intended upgraded image.
This may or may not have been a factor.
Hence the simplified commando, and not that many logging lines
I am not sure where to look for more information.
I will retest when a new firmware image is available
------------------------------
Steinar
Original Message:
Sent: Nov 12, 2023 01:44 PM
From: parnassus
Subject: Upgrading AOS-CX 10.12 VSX update-software
Personally, I never had any issue with VSX's orchestrated software update feature since its very first introduction years (and AOS-CX software lines) ago. I used it many (really many) times flawlessly but this doesn't necessarily mean that bad things could not happen in particular conditions. It would be nice to see you sharing a little bit more details about your before/after VSX scenario and the running/target software versions involved (do those ones fall within the same AOS-CX 10.12 or what?).
Original Message:
Sent: 11/12/2023 4:39:00 AM
From: Steinar Grande
Subject: Upgrading AOS-CX 10.12 VSX update-software
The manual state:
"This command downloads new software from the TFTP server and verifies the download. After a
successful verification, the command installs the software to the alternative software bank of both
the VSX primary and secondary switches. The command then reboots them in sequence, the VSX
secondary switch followed by VSX primary switch. For example if a switch has booted with the
primary flash memory, then the command will install the software to secondary flash memory."
With this simple and one command:
- switch# vsx update-software tftp://192.168.1.1/XL.10.0x.xxxx vrf mgmt.
But it failed [reboot_failed.], after upgrading secondary, only messages (logging) in primary:
2023-11-12T10:12:02.083423+01:00 D14ToR8365VSXCore vsx-swupdated[827]: Event|7019|LOG_ERR|AMM|1/1|VSX primary image update failed due to reboot_failed.
2023-11-12T10:12:02.076894+01:00 D14ToR8365VSXCore vsx-swupdated[827]: Event|7024|LOG_INFO|AMM|1/1|VSX primary state changed from reboot_primary_waiting_for_secondary to reboot_secondary_completed.
Meaning, Secondary upgraded and rebooted properly (to correct bank), but not Primary
Anyone ?, pls
------------------------------
Steinar
------------------------------