- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-17-2024 11:28 PM
After downloading the PAN-OS version in the software tab in Panorama.
I accidentally clicked on install and the Pan-OS is installed on Panorama and it's asking for a restart to switch to the new version, I haven't restarted yet, is there a way I can cancel that install without restarting.
11-18-2024 01:53 AM
TL;DR : debug swm cancel
yes there is
first a little background so you know what you're doing:
when you install a PAN-OS, the install takes place on a dormant root partition, PAN-OS uses an active and inactive partition to run it's OS.
after the install, the bootloader is switched to start using the dormant partition as the active partition after the next reboot so you can keep working in your current install untill you reboot and then you're on the new one
to recover from a accidental install, you can take the same steps as it would to do a full rollback, but this time without the reboot:
in CLI verify what status SWM (softwaremanager) is in:
reaper@PA-440> debug swm status
Partition State Version
--------------------------------------------------------------------------------
sysroot0 PENDING-CHANGE 11.2.4
sysroot1 RUNNING-ACTIVE 11.2.3
maint READY 11.2.4
as you can see i am running 11.2.3 and 11.2.4 has been installed and pending a reboot (PENDING-CHANGE)
if i want to roll that back i can use debug swm cancel to cancel the upgrade, now the other partition becomes READY instead of pending change, and my MAINT partition is reverted to 11.2.3
reaper@PA-440> debug swm cancel
Executing this command will cancel any pending changes to software. Do you want to continue? (y or n)
Software cancel job enqueued with jobid 5242. Run 'show jobs id 5242' to monitor its status.
5242
reaper@PA-440>
reaper@PA-440> debug swm status
Partition State Version
--------------------------------------------------------------------------------
sysroot0 READY 11.2.4
sysroot1 RUNNING-ACTIVE 11.2.3
maint READY 11.2.3
hope this helps
11-18-2024 01:53 AM
TL;DR : debug swm cancel
yes there is
first a little background so you know what you're doing:
when you install a PAN-OS, the install takes place on a dormant root partition, PAN-OS uses an active and inactive partition to run it's OS.
after the install, the bootloader is switched to start using the dormant partition as the active partition after the next reboot so you can keep working in your current install untill you reboot and then you're on the new one
to recover from a accidental install, you can take the same steps as it would to do a full rollback, but this time without the reboot:
in CLI verify what status SWM (softwaremanager) is in:
reaper@PA-440> debug swm status
Partition State Version
--------------------------------------------------------------------------------
sysroot0 PENDING-CHANGE 11.2.4
sysroot1 RUNNING-ACTIVE 11.2.3
maint READY 11.2.4
as you can see i am running 11.2.3 and 11.2.4 has been installed and pending a reboot (PENDING-CHANGE)
if i want to roll that back i can use debug swm cancel to cancel the upgrade, now the other partition becomes READY instead of pending change, and my MAINT partition is reverted to 11.2.3
reaper@PA-440> debug swm cancel
Executing this command will cancel any pending changes to software. Do you want to continue? (y or n)
Software cancel job enqueued with jobid 5242. Run 'show jobs id 5242' to monitor its status.
5242
reaper@PA-440>
reaper@PA-440> debug swm status
Partition State Version
--------------------------------------------------------------------------------
sysroot0 READY 11.2.4
sysroot1 RUNNING-ACTIVE 11.2.3
maint READY 11.2.3
hope this helps
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!