Description

While trying to upgrade SRX, the console rolling log prints:

upgrade_platform: There is pending upgrade. upgrade_in_progress=stage
upgrade_platform: do rollback before attempting another upgrade
upgrade_platform: do [ upgrade_platform -r ] for rollback
ERROR: Secure boot validation failed!
ERROR: upgrade failed
ERROR: Failed to add junos-srxentedge-x86-64-21.4R3-S4.9.tgz

Symptoms

Upgrade attempt fails with error : Secure boot validation failed!

Solution

Solution 1

Do "request system software rollback reboot"

 

Solution 2

1) > request system reboot

2) While on the GRUB screen for selecting the OS, select Juniper-linux-upgrade

3) Let the upgrade complete.

4) Post completion, further upgrade or downgrade can be tried.

 

Solution 3

{primary:node1}
root@srx1500> start shell user root 
root@srx1500:~ # vhclient -s
Last login: Sat Oct 26 12:03:39 +07 2024 from srx1500 on pts/0
-------------------------------------------
NOTICE: 10-25-2024 04:59:44 PM
-------------------------------------------
System booted from backup boot.
 
There is a pending upgrade with upgrade_in_progress=stage. 
 You can cancel pending upgrade by doing rollback.
do 'upgrade_platform -r' to rollback.
-------------------------------------------

root@srx1500-node:~# upgrade_platform -r

Modification History

13-03-2025: Minor changes