Junos upgrade getting failed due to failed rescue configuration validation
user@router> show configuration | match nonstop
inactive: nonstop-routing;
user@router> show configuration | match graceful
inactive: graceful-switchover;
user@router> request vmhost software add /var/tmp/junos-vmhost-install-mx-x86-64-23.4R2-S5.6.tgz
.
skip
Validating against /config/juniper.conf.gz
mgd: commit complete
Validation succeeded
Validating against /config/rescue.conf.gz
Chassis control process: <xnm:error xmlns="http://xml.juniper.net/xnm/1.1/xnm" xmlns:xnm="http://xml.juniper.net/xnm/1.1/xnm">
Chassis control process: <source-daemon>chassisd</source-daemon>
Chassis control process: <edit-path>[edit chassis redundancy]</edit-path>
Chassis control process: <statement>graceful-switchover</statement>
Chassis control process: <message>Only in-service-software-upgrades are supported when graceful routing engine switchover (GRES) is configured. Perform an in-service-software-upgrade or remove the GRES configuration.</message>
Chassis control process: </xnm:error>
mgd: error: configuration check-out failed
Validation failed
ERROR: Failed to add /var/tmp/junos-vmhost-install-mx-x86-64-23.4R2-S5.6.tgz
warning: Host software installation has failed.
deactivate the NSR and GRES and save the configuration as rescue to disable it in a rescue configuration
user@router> show system configuration rescue | match nonstop
nonstop-routing;
user@router> show system configuration rescue | match graceful
graceful-switchover;
*************************************************************************
user@router> request system configuration rescue save