...
IOS XE image installation fails when the router booted from packages.conf which is under the user created directory. For example, if the router booted from bootflash:mydir/packages.conf, 'request platform software sdwan software install' command fails. Following is one example log that executed 'request platform software sdwan software install' command when the router booted from packages.conf which is under the user created directory. Some errors can be seen and the installation was ended with message "Installation of none complete". If the installation succeeds, the last message contains IOS XE version like "message:Installation of 17.07.01a.0.1883 complete". ################################################################################ Router#request platform software sdwan software install bootflash:c8000be-universalk9.17.03.02.SPA.bin /tmp/sw/rp/0/0/rp_security/mount/usr/bin/polaris_upgrade.sh: line 169: [: -ne: unary operator expected *Apr 1 16:33:38.699: %IOSXE-5-PLATFORM: R0/0: VCONFD_NOTIFIER: Install status: 05848953-167d-4a4a-93d5-524d3b956a02 download-start. Message /bootflash/c8000be-universalk9.17.03.02.SPA.bin is local *Apr 1 16:33:38.699: %Cisco-SDWAN-Router-action_notifier-6-INFO-1400002: R0/0: VCONFD_NOTIFIER: Notification: 4/1/2022 16:33:38 system-software-install-status severity-level:minor host-name:Router system-ip::: status:download-start install-id:05848953-167d-4a4a-93d5-524d3b956a02 message:/bootflash/c8000be-universalk9.17.03.02.SPA.bin is local *Apr 1 16:33:38.729: %IOSXE-5-PLATFORM: R0/0: VCONFD_NOTIFIER: Install status: 05848953-167d-4a4a-93d5-524d3b956a02 download-complete. Message NOOP *Apr 1 16:33:38.729: %Cisco-SDWAN-Router-action_notifier-6-INFO-1400002: R0/0: VCONFD_NOTIFIER: Notification: 4/1/2022 16:33:38 system-software-install-status severity-level:minor host-name:Router system-ip::: status:download-complete install-id:05848953-167d-4a4a-93d5-524d3b956a02 message:NOOP *Apr 1 16:33:39.291: %IOSXE-5-PLATFORM: R0/0: VCONFD_NOTIFIER: Install status: 05848953-167d-4a4a-93d5-524d3b956a02 download-complete. Message All installed versions: 17.03.04a.0.5574;2022-04-01T15:42:48 *Apr 1 16:33:39.291: %Cisco-SDWAN-Router-action_notifier-6-INFO-1400002: R0/0: VCONFD_NOTIFIER: Notification: 4/1/2022 16:33:39 system-software-install-status severity-level:minor host-name:Router system-ip::: status:download-complete install-id:05848953-167d-4a4a-93d5-524d3b956a02 message:All installed versions: 17.03.04a.0.5574;2022-04-01T15:42:48 *Apr 1 16:33:39.326: %IOSXE-5-PLATFORM: R0/0: VCONFD_NOTIFIER: Install status: 05848953-167d-4a4a-93d5-524d3b956a02 download-complete. Message Received installation request for software version(5-tuple): 17.03.02.0.3785 *Apr 1 16:33:39.326: %Cisco-SDWAN-Router-action_notifier-6-INFO-1400002: R0/0: VCONFD_NOTIFIER: Notification: 4/1/2022 16:33:39 system-software-install-status severity-level:minor host-name:Router system-ip::: status:download-complete install-id:05848953-167d-4a4a-93d5-524d3b956a02 message:Received installation request for software version(5-tuple): 17.03.02.0.3785 *Apr 1 16:33:41.886: %INSTALL-5-INSTALL_START_INFO: R0/0: install_engine: Started install add bootflash:c8000be-universalk9.17.03.02.SPA.bincat: /bootflash/.installer/images/c8000be-universalk9.17.03.02.SPA.bin/version: No such file or directory grep: /bootflash/.installer/images/c8000be-universalk9.17.03.02.SPA.bin/install_add_pkg_list.txt: No such file or directory cat: /bootflash/.installer/images/c8000be-universalk9.17.03.02.SPA.bin/version: No such file or directory /usr/binos/conf/install_engine_functions.sh: line 875: /bootflash/.installer/images/c8000be-universalk9.17.03.02.SPA.bin/version: No such file or directory cp: cannot create regular file '/bootflash/.installer/images/c8000be-universalk9.17.03.02.SPA.bin/install_add_pkg_list.txt': No such file or directory Router# *Apr 1 16:36:00.864: %INSTALL-5-INSTALL_COMPLETED_INFO: R0/0: install_engine: Completed install add PACKAGE bootflash:c8000be-universalk9.17.03.02.SPA.bin *Apr 1 16:36:01.434: %IOSXE-5-PLATFORM: R0/0: VCONFD_NOTIFIER: Install status: 05848953-167d-4a4a-93d5-524d3b956a02 verification-complete. Message install_add: START Fri Apr 1 16:33:41 UTC 2022 install_add: Adding PACKAGE *Apr 1 16:36:01.435: %Cisco-SDWAN-Router-action_notifier-6-INFO-1400002: R0/0: VCONFD_NOTIFIER: Notification: 4/1/2022 16:36:1 system-software-install-status severity-level:minor host-name:Router system-ip::: status:verification-complete install-id:05848953-167d-4a4a-93d5-524d3b956a02 message:install_add: START Fri Apr 1 16:33:41 UTC 2022 install_add: Adding PACKAGE *Apr 1 16:36:01.465: %IOSXE-5-PLATFORM: R0/0: VCONFD_NOTIFIER: Install status: 05848953-167d-4a4a-93d5-524d3b956a02 upgrade-apply-complete. Message Installed none *Apr 1 16:36:01.465: %Cisco-SDWAN-Router-action_notifier-6-INFO-1400002: R0/0: VCONFD_NOTIFIER: Notification: 4/1/2022 16:36:1 system-software-install-status severity-level:minor host-name:Router system-ip::: status:upgrade-apply-complete install-id:05848953-167d-4a4a-93d5-524d3b956a02 message:Installed none *Apr 1 16:36:01.497: %IOSXE-5-PLATFORM: R0/0: VCONFD_NOTIFIER: Install status: 05848953-167d-4a4a-93d5-524d3b956a02 install-complete. Message Installation of none complete *Apr 1 16:36:01.497: %Cisco-SDWAN-Router-action_notifier-6-INFO-1400002: R0/0: VCONFD_NOTIFIER: Notification: 4/1/2022 16:36:1 system-software-install-status severity-level:minor host-name:Router system-ip::: status:install-complete install-id:05848953-167d-4a4a-93d5-524d3b956a02 message:Installation of none complete ################################################################################
This problem always happens when the router meets following conditions 1. The "Router operating mode" is "Controller-Managed" (means running as cEdge) 2. The router has booted from packages.conf which is in the user created directory 3. Install IOS XE image by executing "request platform software sdwan software install" command
No workarounds when running in Controller-Managed mode. Please see the following steps to recover. Step 1. Change the "Router operating mode" from "Controller-Managed" to "Autonomous" #controller-mode disable !!! NOTE !!! This step will delete configuration. So, if the cEdge is manually configured, it would be better to backup the configuration before changing the mode. Step 2. Configure the router to boot with bundle mode like below. (config)#no boot system bootflash:packages.conf (config)#boot system flash bootflash:c8000be-universalk9.17.03.04a.SPA.bin (config)#exit #write #reload !!! NOTE !!! The above IOS XE image "c8000be-universalk9.17.03.04a.SPA.bin" is example. Please replace the image name to which you want to run. Step 3. Change back the "Router operating mode" to "Controller-Manage". #controller-mode enable After Step 3, you can install the IOS XE image by executing "request platform software sdwan software install" command.
Customer can check below either way to where the router booted from. Router#show version | i System image or Router#show bootvar | i BOOT var Below is the example when the router booted from packages.conf which is under the user created directory "mydir". Router#show version | i System image System image file is "bootflash:mydir/packages.conf" Router#show bootvar | i BOOT var BOOT variable = bootflash:mydir/packages.conf,1;