01-04-2023 11:29 AM
Hi All,
I been hit with the below error while trying to upgrade Cat 9200 Bundle mode to Install Mode from Version 16.12.x to 17.06.x and appreciate any input
Please find the error below
Switch# install remove inactive
install_remove: START
%INSTALL-5-INSTALL_START_INFO: R0/0: install_engine: Started install remove
Cleaning up unnecessary package files
Scanning boot directory for packages ... done.
Preparing packages list to delete ...
cat9k_lite_iosxe.16.12.05b.SPA.bin
File is in use, will not delete.
done.
Cleaning up unnecessary package files
Scanning boot directory for packages ... done.
Preparing packages list to delete ...
cat9k_lite_iosxe.16.12.05b.SPA.bin
File is in use, will not delete.
done.
k_lite-webui.16.12.05b.SPA.pkg
/flash/cat9k_lite_iosxe.16.12.05b.SPA.conf
/flash/cat9k_lite_iosxe.17.06.04.SPA.bin
/flash/packages.conf
[switch 2]:
/flash/cat9k_lite-rpbase.16.12.05b.SPA.pkg
/flash/cat9k_lite-rpboot.16.12.05b.SPA.pkg
/flash/cat9k_lite-srdriver.16.12.05b.SPA.pkg
/flash/cat9k_lite-webui.16.12.05b.SPA.pkg
/flash/cat9k_lite_iosxe.16.12.05b.SPA.conf
/flash/cat9k_lite_iosxe.17.06.04.SPA.bin
/flash/packages.conf
Do you want to remove the above files? [y/n]y
[switch 1]:
Deleting file flash:cat9k_lite-rpbase.16.12.05b.SPA.pkg ... done.
Deleting file flash:cat9k_lite-rpboot.16.12.05b.SPA.pkg ... done.
Deleting file flash:cat9k_lite-srdriver.16.12.05b.SPA.pkg ... done.
Deleting file flash:cat9k_lite-webui.16.12.05b.SPA.pkg ... done.
Deleting file flash:cat9k_lite_iosxe.16.12.05b.SPA.conf ... done.
Deleting file flash:cat9k_lite_iosxe.17.06.04.SPA.bin ... done.
Deleting file flash:packages.conf ... done.
SUCCESS: Files deleted.
[switch 2]:
Deleting file flash:cat9k_lite-rpbase.16.12.05b.SPA.pkg ... done.
Deleting file flash:cat9k_lite-rpboot.16.12.05b.SPA.pkg ... done.
Deleting file flash:cat9k_lite-srdriver.16.12.05b.SPA.pkg ... done.
Deleting file flash:cat9k_lite-webui.16.12.05b.SPA.pkg ... done.
Deleting file flash:cat9k_lite_iosxe.16.12.05b.SPA.conf ... done.
Deleting file flash:cat9k_lite_iosxe.17.06.04.SPA.bin ... done.
Deleting file flash:packages.conf ... done.
SUCCESS: Files deleted.
--- Starting Post_Remove_Cleanup ---
Performing Post_Remove_Cleanup on all members
[1] Post_Remove_Cleanup package(s) on switch 1
[1] Finished Post_Remove_Cleanup on switch 1
[2] Post_Remove_Cleanup package(s) on switch 2
[2] Finished Post_Remove_Cleanup on switch 2
Checking status of Post_Remove_Cleanup on [1 2]
Post_Remove_Cleanup: Passed on [1 2]
Finished Post_Remove_Cleanup
SUCCESS: install_remove
%INSTALL-5-INSTALL_COMPLETED_INFO: R0/0: install_engine: Completed install remove
=================================================================================
Switch# install add file flash:cat9k_lite_iosxe.17.06.01.SPA.bin activate commit
--- Starting initial file syncing ---
[1]: Copying flash:cat9k_lite_iosxe.17.06.04.SPA.bin from switch 1 to switch 2
[2]: Finished copying to switch 2
Info: Finished copying flash-1:cat9k_lite_iosxe.17.06.04.SPA.bin to the selected switch(es)
Finished initial file syncing
--- Starting Add ---
Performing Add on all members
exportfs: Invalid export syntax: /flash/.EXPAND_MOUNT_HOHJ
[1] Add package(s) on switch 1
Expanding image file: flash-1:cat9k_lite_iosxe.17.06.04.SPA.bin
[1]: Expanding file
... expanding file completed
[1]: Verifying parameters
[1]: Expanding superpackage flash:cat9k_lite_iosxe.17.06.04.SPA.bin
[1]: ... parameters verified
[1]: Validating package type
[1]: ... package type validated
[1]: Copying package files
[1]: FAILED: Failed to extract boot package
FAILED: [1]: FAILED: Expanding all-in-one software package failed in switch 1
FAILED: install_add exit(1)
[1] Finished Add on switch 1
[2] Add package(s) on switch 2
Expanding image file: flash-1:cat9k_lite_iosxe.17.06.04.SPA.bin
[1]: Expanding file
... expanding file completed
[1]: Verifying parameters
[1]: Expanding superpackage flash:cat9k_lite_iosxe.17.06.04.SPA.bin
[1]: ... parameters verified
[1]: Validating package type
[1]: ... package type validated
[1]: Copying package files
[1]: FAILED: Copy operation failed for extracting new packages. possible low system memory condition
[1]: exportfs: Invalid export syntax: /flash/.EXPAND_MOUNT_kcJH
FAILED: [1]: FAILED: Expanding all-in-one software package failed in switch 1
FAILED: install_add exit(1)
[2] Finished Add on switch 2
Checking status of Add on [1 2]
Add: Passed on []. Failed on [1 2]
Finished Add
FAILED: install_add_activate_commit exit(1)
%INSTALL-3-OPERATION_ERROR_MESSAGE: R0/0: install_engine: Failed to install_add_activate_commit package flash-1:cat9k_lite_iosxe.17.06.04.SPA.bin, Error: FAILED: [1]: FAILED: Expanding all-in-one software package failed in switch 1
%INSTALL-3-OPERATION_ERROR_MESSAGE: R0/0: install_engine: Failed to install_add_activate_commit package flash-1:cat9k_lite_iosxe.17.06.04.SPA.bin, Error: FAILED: install_add exit(1)
%INSTALL-3-OPERATION_ERROR_MESSAGE: R0/0: install_engine: Failed to install_add_activate_commit package flash-1:cat9k_lite_iosxe.17.06.04.SPA.bin, Error: FAILED: [1]: FAILED: Expanding all-in-one software package failed in switch 1
%INSTALL-3-OPERATION_ERROR_MESSAGE: R0/0: install_engine: Failed to install_add_activate_commit package flash-1:cat9k_lite_iosxe.17.06.04.SPA.bin, Error: FAILED: install_add exit(1)
%INSTALL-3-OPERATION_ERROR_MESSAGE: R0/0: install_engine: Failed to install_add_activate_commit package flash-1:cat9k_lite_iosxe.17.06.04.SPA.bin, Error: [1 2]: FAILED: Add failed in switch 1 2
%INSTALL-5-INSTALL_COMPLETED_INFO: R0/0: install_engine: Completed install one-shot PACKAGE flash-1:cat9k_lite_iosxe.17.06.04.SPA.bin
Regards,
Master
01-04-2023 12:42 PM
i was not sure what happened, (looks to me space issue with one of the devices in the stack) - make sure you have enough space before the upgrade takes place.
you use to remove inactive before copying new image files to switch since you did remove it removed 17.6.4 also as per the logs.
Also, I suggest to first converting Bundle to Install mode (before upgrading) and then reloading entire stack
and upgrade install mode with new IOS XE
01-04-2023 12:51 PM
Thanks Balaji
Yes the command removed the latest image and we added it again for the upgrade . I saw the space issue but when the first switch thrown an error I was not sure what the error was for as Switch 1 had good space
Can you please specify the command to use to covert bundle to install mode because we used the command and it was not taking in
thanks,
master
01-04-2023 01:35 PM
have you cleaned up the space for all devices? if all ok follow the below steps: when you install it automatically converts into install mode, so you do not need to do it again as separate steps.
KEY is SPACE.
Also make sure switch stack operating as expected no errors, if you get any errors reboot the whole stack and follow mentioned steps.
Copy the image to respected switches
# copy tftp:/x.x.x.x/cat9k_lite_iosxe.xxxxxxxxxxx.bin flash:
# dir flash:*.bin - check the image in the switches
(config)# boot system flash:packages.conf
(config)# exit
# wr
# show boot system ( verify as below)
BOOT variable = flash:packages.conf
# install add file flash:cat9k_lite_iosxe.xxxxx.bin activate commit
01-04-2023 06:28 PM
Post the complete output to the following commands:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide