Description

This is the procedure  to perform a "request system software rollback" on dual routing-engine devices. 

This KB shows an example on a QFX10008.

Symptoms

On Juniper Networks devices working with dual routing-engines it might occur that a system software rollback is needed on a specific Routing-Engine. Let's use the following example, where an upgrade failed on routing-engine 1 because there was already a pending upgrade staged:

 

root@switch> request system software add re1 /var/tmp/jinstall-host-qfx-10-m-flex-x86-64-23.2R1.14-secure-signed.tgz no-validate

Pushing /var/tmp/jinstall-host-qfx-10-m-flex-x86-64-23.2R1.14-secure-signed.tgz to re1:/var/tmp/jinstall-host-qfx-10-m-flex-x86-64-23.2R1.14-secure-signed.tgz

Verified jinstall-host-qfx-10-m-flex-x86-64-23.2R1.14-secure-signed signed by PackageProductionECP256_2023 method ECDSA256+SHA256

========================================

Wed May 4 16:54:01 UTC 2023

/packages/db/pkginst.42174/install_script.sh /packages/db/pkginst.42174/jinstall-host-qfx-10-m-flex-x86-64-23.2R1.14-secure.tgz

Forcing the Host Upgrade for Non Issu updates…

Pushing Junos image package to the host…

Downloading Junos image package…

Installing /packages/db/pkginst.42174/jinstall-host-qfx-10-m-flex-x86-64-23.2R1.14-secure.tgz

jinstall_domestic_stripped flag is set to 0 for pkg:jinstall-host-qfx-10-m-flex-x86-64-23.2R1.14-secure.tgz

RETAIN_PKG_IN_PREINSTALL_PKG_PATH flag is set to 0

Install media package found at /var/tmp/preinstall/install-media-qfx-10-junos-23.2R1.14-secure.tgz

ERROR: There is pending upgrade. upgrade_in_progress=backup

ERROR: Please reboot the system to complete the installation or rollback before attempting another upgrade

ERROR: Failed to add jinstall-host-qfx-10-m-flex-x86-64-23.2R1.14-secure-signed.tgz

 

 

Solution

Login to the proper routing-engine with the command "request routing-engine login" once in the proper routing-engine, the command "request system software rollback" can be used to cancel the previously staged upgrade.

Modification History

07/05/23-rfallasguzma: Created