cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1914
Views
3
Helpful
13
Replies

9200 upgrade fail because ssh got disconnected

nashhkazank
Level 1
Level 1

Today I was upgrading remotely a 9300 IOS XE but suddenly while I was waiting after the command:

install add file flags:file active commit

There it was a disconnection for 1 minute with the ssh session and the Switch didn’t display the wizard again.

I know after that command always ask for a reload.

I have tried to use the “install” command to get a new installation but doesn’t work. Everytime I tried to use the install command display this error:

File cannot start new install. Operation is already running.

On flash: there are the pkg files of the new IOS, but it seems the switch always see the installation process running.

¿Is there a way to break the process? Or a trick to display the wizard?

13 Replies 13

Reza Sharifi
Hall of Fame
Hall of Fame

This type of operation should not be done remotely. It is best to have a maintenance window, connect to the switch via the console, perform the upgrade, and reload the switch.

HTH

Leo Laohoo
Hall of Fame
Hall of Fame

Post the complete output to the following command: 

more flash:packages.conf | begin rp_boot

linoytu
Level 1
Level 1

I was upgrading the IOS XE but suddenly I got disconnected from the ssh session, I just had sent the command “install asd active file flash: … commit”

It close the wizard to ask me for the reload and now when I try to use the “install” command always tell me that there is a process running.

I don’t want to reload because when we try to make all the steps again we rewrite the package.conf so I think now it is in blank.

 

 - You can not terminate or kill the install process as such ; try other ssh session for reload or else force reload with power cycle (e.g.)

 M.



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

harryraju
Level 1
Level 1

Hi There 

Did you ever find a solution for this ? Have the same issue  

Thanks 

Did you ever find a solution for this ? Have the same issue  

what is the issue provide more information, generally if the tested upgrade from remote, the switch need to be reboot after upgrade. until any other SSH bugs effected, the SSH session may be not accepting, this may be AAA configuration also.

again you need to provide what is the issue what version running what version you upgrading to.

most of the upgrade will smooth, until you hitting any bug and switch gone in to ROMMON.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

I was upgrading the IOS XE but suddenly I got disconnected from the ssh session, I just had sent the command “install asd active file flash: … commit”. From new ssh session any “install” command always said that there is a process running so I was just checking if there was a way to end the process without a reload. But have reloaded since then and completed upgrade.
Thanks for your response.


@harryraju wrote:
I was just checking if there was a way to end the process without a reload.

Yes, there is a way to extract the package files without a reboot (in case there is a need to reboot the switch/stack at at later time/date) and I call this process One-Hit-Wonder NSFW.  Whether it is a stand-alone, a stack or VSS, One-Hit-Wonder NSFW is applicable to routers, 9200, 9400, 9500 (high-performance model) and 9600.  

9300, 3650/3850 have a more simplified method:  Cisco 3850: IOS-XE/Firmware Upgrade

so the upgrade is good ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

yes no issues after reloading the switch. 

Glad all good, can we mark as solution, so this will be helpful for other community members have same issue to refer.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

sure. 

Stefan Mihajlov
Level 3
Level 3

@nashhkazank 

This can happen if the install process is interrupted mid-way, leaving the switch in a “pending” state. Since you’re getting the message that an operation is already running, try checking the current status with show install summary or show install log to see whether the upgrade actually committed. If it’s stuck, a clean reload of the switch usually clears the stale install session and lets you re-run the install add file … activate commit sequence. In cases where the wizard doesn’t reappear, you can also manually remove the partially applied packages (install remove inactive) and start fresh.

Best regards,
Stefan Mihajlov

Mark this post as Helpful if it helped you, and Accept as Solution if it resolved your question.