Description

If a Junos OS upgrade fails during in-service software upgrade (ISSU), a subsequent commit may fail with the error message "warning: ISSU in progress, commit disallowed." In this state, the device cannot be rebooted via the request system reboot command.

This article describes how to recover the routing device from the above error.

 

Symptoms

Customers may encounter this issue after an unsuccessful ISSU upgrade. Any commit subsequent to this failed upgrade will fail and the following warning will be shown: "ISSU in progress, commit disallowed."

{MASTER}[edit]
labroot@RE0-MX# commit 
warning: ISSU in progress, commit disallowed​

 

Solution

The above warning is seen due to a flag being set when the ISSU upgrade is performed. This flag does not get cleared if the ISSU upgrade process results in an unexpected failure. To check whether this flag is set via the root shell, use the following command (a non-zero value indicates that the ISSU flag has been set):

root@RE0-MX:/var/home/networkengineer # sysctl hw.re.issu_state
hw.re.issu_state: 32

 

To resolve this issue, clear the flag by using the following shell command:

{MASTER}
labroot@RE0-MX> start shell user root  
Password:   

root@RE0-MX:/var/home/networkengineer # sysctl hw.re.issu_state
hw.re.issu_state: 32.

root@RE0-MX:/var/home/networkengineer # sysctl -w hw.re.issu_state=0
hw.re.issu_state: 32 -> 0

root@RE0-MX:/var/home/networkengineer # exit
exit

{MASTER}
labroot@RE0-MX> configure 
Entering configuration mode

{MASTER}[edit]
labroot@RE0-MX# commit 
re0: 
configuration check succeeds
re1: 
commit complete
re0: 
commit complete

 

Modification History

06/26/2023