ā03-11-2020 06:11 AM
Catalyst 3850
Hello,
I'm trying to upgrade a stack of two 3850's from 03.07.04E to 16.06.05 using the command:
software install file usbflash0:cat3k_caa-universalk9.16.06.05.SPA.bin switch 1-2 new force
Unfortunately the upgrade process stops after copying the file to all switches and the error message is not very meaningful:
LAB-3850-1.Gustavsburg#$-universalk9.16.06.05.SPA.bin switch 1-2 new force
Preparing install operation ...
[1]: Copying software from active switch 1 to switch 2
[1]: Finished copying software to switch 2
[1 2]: Starting install operation
[1]: % Operation install cannot be performed: install in progress. Operation aborted.
[1]: % An internal error was encountered. Operation aborted.
[2]: % An internal error was encountered. Operation aborted.
I tried to reload the whole stack but no change. Google search was not helpful at all. Does anyone have an idea?
Solved! Go to Solution.
ā03-13-2020 04:47 AM - edited ā03-13-2020 04:51 AM
software install file flash:cat3k_caa-universalk9.16.06.07.SPA.bin new force
Does this command make any difference?
Another option is to boot into ROMMON and then try:
emergency-install flash:cat3k_caa-universalk9.16.06.07.SPA.bin
NOTE: This process may erase the contents of the flash. Let it do so.
ā03-11-2020 06:35 AM
Try below :
request platform software package install switch all file flash:XX.newimage.bin
let us know how it goes, since it is lab,
ā03-11-2020 07:06 AM
ā03-11-2020 04:31 PM - edited ā01-16-2021 10:05 PM
@a.otto wrote:
software install file usbflash0:cat3k_caa-universalk9.16.06.05.SPA.bin switch 1-2 new force
Can you please try this command:
software install file flash-1:cat3k_caa-universalk9.16.06.05.SPA.bin new force verb on-reboot
The difference between the above command and the Cisco recommended on is the presence of the "verbose" option. This will provide (limited) information why it is not successful. The "reason" will appear in the "sh log".
WARNING: 3.X.X do not "like" if the BIN file is located in the USB flash. Highly recommended if the BIN file is copied into the flash before invoking the "software install" command.
The other attractive thing is also the presence of the "buggy" option "on-reboot". This means after the unpacking is complete, the stack will NOT reboot.
NOTE: This option is a "bug" because it is meant to be "no-reboot" (CSCve94966).
Finally, I suspect the command to unpack was not successful because the flash was not "cleaned" before unpacking.
ā03-12-2020 03:20 AM
Hi Leo,
thanks a lot for taking care and your input! I tried what was recommended, unfortunately the result is very poor but maybe you have an idea what to do with the extended information....
I always do a clean up of the flash before I start a new try:
LAB-3850-1.Gustavsburg#software clean switch 1-2
Preparing clean operation ...
...
packages.conf
[1]: Files that will be deleted:
cat3k_caa-universalk9.16.06.05.SPA.bin
[2]: No unnecessary package or provisioning files found. Nothing to clean
As you have recommended I now started the upgrade process from flash instead of USB using the two additional parameter:
LAB-3850-1.Gustavsburg#$versalk9.16.06.05.SPA.bin new force verbose on-reboot
Preparing install operation ...
[1]: Copying software from active switch 1 to switch 2
[1]: Finished copying software to switch 2
[1 2]: Starting install operation
[1]: % Operation install cannot be performed: install in progress. Operation aborted.
[1]: % An internal error was encountered. Operation aborted.
[2]: % An internal error was encountered. Operation aborted.
So now we have some "debug" information in the log:
000162: 000098: Mar 12 11:07:26.372 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: [packtool]:(debug): command line: [-P 0 --operation expand --filename /flash/ca (LAB-3850-1.Gustavsburg-2)
000163: 000099: Mar 12 11:07:26.373 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: t3k_caa-universalk9.16.06.05.SPA.bin --destination /tmp/issu/provision/super_pk (LAB-3850-1.Gustavsburg-2)
000164: 000100: Mar 12 11:07:26.373 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: gs -d] (LAB-3850-1.Gustavsburg-2)
000165: 000101: Mar 12 11:07:26.373 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: file name = [/flash/cat3k_caa-universalk9.16.06.05.SPA.bin] (LAB-3850-1.Gustavsburg-2)
000102: Mar 12 11:0
000166: 000103: Mar 12 11:07:26.373 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: pattern = [INVALID] (LAB-3850-1.Gustavsburg-2)
000167: 000104: Mar 12 11:07:26.373 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: destination = [/tmp/issu/provision/super_pkgs] (LAB-3850-1.Gustavsburg-2)
000168: 000105: Mar 12 11:07:26.373 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: operation = [expand] (LAB-3850-1.Gustavsburg-2)
000169: 000106: Mar 12 11:07:26.373 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: debug = [4] (LAB-3850-1.Gustavsburg-2)
000170: 000107: Mar 12 11:07:26.373 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: detail = [0] (LAB
000171: 000108: Mar 12 11:07:26.373 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: force = [0] (LAB-3850-1.Gustavsburg-2)
000172: 000109: Mar 12 11:07:26.373 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: wipe = [0] (LAB-3850-1.Gustavsburg-2)
000173: 000110: Mar 12 11:07:26.377 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: xml = [0] (LAB-3850-1.Gustavsburg-2)
000174: 000111: Mar 12 11:07:26.377 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: skip_prompt = [0] (LAB-3850-1.Gustavsburg-2)
000175: 000112: Mar 12 11:07:27.502 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: Verifying parameters (LAB-3850-1.Gustavsburg-2)
000176: 000113: Mar 12 11:07:29.607 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: ... parameters verified (LAB-3850-1.Gustavsburg-2)
000177: 000114: Mar 12 11:07:29.607 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: Validating package type (LAB-3850-1.Gustavsburg-2)
000178: 000115: Mar 12 11:08:22.856 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: bundle expanded (LAB-3850-1.Gustavsburg-2)
000179: 000116: Mar 12 11:08:22.867 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: ... package type validated (LAB-3850-1.Gustavsburg-2)
000180: 000117: Mar 12 11:08:22.867 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: Verifying package signatures (LAB-3850-1.Gustavsburg-2)
000181: 000118: Mar 12 11:08:23.736 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: Signature verified on package cat3k_caa-guestshell.16.06.05.SPA.pkg (LAB-3850-1.Gustavsburg-2)
000182: 000119: Mar 12 11:08:38.168 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: Signature verified on package cat3k_caa-rpcore.16.06.05.SPA.pkg (LAB-3850-1.Gustavsburg-2)
000183: 000120: Mar 12 11:08:38.870 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: Signature verified on package cat3k_caa-webui.16.06.05.SPA.pkg (LAB-3850-1.Gustavsburg-2)
000184: 000121: Mar 12 11:08:39.104 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: Signature verified on package cat3k_caa-srdriver.16.06.05.SPA.pkg (LAB-3850-1.Gustavsburg-2)
000185: 000122: Mar 12 11:08:40.298 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: Signature verified on package cat3k_caa-rpbase.16.06.05.SPA.pkg (LAB-3850-1.Gustavsburg-2)
000186: 000123: Mar 12 11:08:40.299 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: ... Package signatures verified (LAB-3850-1.Gustavsburg-2)
000187: 000124: Mar 12 11:08:40.299 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: Copying package files (LAB-3850-1.Gustavsburg-2)
000188: 000125: Mar 12 11:08:42.469 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: cat3k_caa-guestshell.16.06.05.SPA.pkg (LAB-3850-1.Gustavsburg-2)
000189: 000126: Mar 12 11:08:42.470 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: cat3k_caa-rpbase.16.06.05.SPA.pkg (LAB-3850-1.Gustavsburg-2)
000190: 000127: Mar 12 11:08:42.470 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: cat3k_caa-rpcore.16.06.05.SPA.pkg (LAB-3850-1.Gustavsburg-2)
000191: 000128: Mar 12 11:08:42.471 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: cat3k_caa-srdriver.16.06.05.SPA.pkg (LAB-3850-1.Gustavsburg-2)
000192: 000129: Mar 12 11:08:42.471 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: cat3k_caa-webui.16.06.0
000193: 000131: Mar 12 11:08:42.588 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: ... Package files copied (LAB-3850-1.Gustavsburg-2)
000194: 000132: Mar 12 11:08:44.600 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: [packtool]:(debug): Ensuring that cached content is written to media (LAB-3850-1.Gustavsburg-2)
000195: 000133: Mar 12 11:08:48.057 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: [packtool]:(debug): cached content flushed to media (LAB-3850-1.Gustavsburg-2)
000196: 000134: Mar 12 11:08:48.074 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: SUCCESS: Finished expanding all-in-one software package. (LAB-3850-1.Gustavsburg-2)
000197: 000135: Mar 12 11:08:50.105 CET: %IOSXE-7-PLATFORM: STANDBY:2 process xlogger: [packtool]:(debug): Received script exit status 0 (LAB-3850-1.Gustavsburg-2)
Unfortunately I was not able to find any helpful information for "Received script exit status 0"
Axel
ā03-12-2020 03:52 AM
@a.otto wrote:
SUCCESS: Finished expanding all-in-one software package. (LAB-3850-1.Gustavsburg-2)
Can you post the complete output to the command "more flash-1:packages.conf | b for NOVA".
ā03-12-2020 04:07 AM
ā03-12-2020 04:53 AM - edited ā03-12-2020 02:33 PM
Ok, last trick:
1. Download 16.6.7;
2. Copy the BIN file into switch 1 and switch 2;
3. Change the boot variable string so the switch will boot the new firmware in Bundle Mode:
boot system flash bootflash:cat3k_caa-universalk9.16.06.07.SPA.bin
4. Save the config and reboot the switch;
5. After the switch reboots, unpack the BIN file:
request platform software package install switch all file flash-1:cat3k_caa-universalk9.16.06.07.SPA.bin new auto-copyverbose
6. If the unpacking is successful, check the packages.conf file:
more flash-1:packages.conf | b for NOVA
7. Change the boot variable string to boot the packages.conf file:
no boot system flash bootflash:cat3k_caa-universalk9.16.06.07.SPA.bin boot system flash bootflash:packages.conf
8. Save the config and reboot.
Hope this works.
ā03-12-2020 05:56 AM
ā03-12-2020 02:31 PM
ā03-12-2020 02:49 PM
ā03-12-2020 04:35 PM
There are still files for 3.7.4.
Clean this up using the command
request platform software package clean switch all
Next, unpack 16.3.7 again:
req plat soft pack inst switch all file flash-1:cat3k_caa-universalk9.16.06.07.SPA.bin new auto-copy
ā03-13-2020 02:51 AM
ā03-13-2020 03:21 AM
del /f /r flash-1:*03.07.04E*.pkg del /f /r flash-2:*03.07.04E*.pkg del /f /r flash-1:cat3k_caa-universalk9.16.06.05.SPA.bin del /f /r flash-2:cat3k_caa-universalk9.16.06.05.SPA.bin
Try the following (above).
When done, re-try the unpacking again.
ā03-13-2020 03:26 AM
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