PanOS upgrade from 8.0.13 to 8.1.15 fail (SoftwareUpdater(device).upgrade_to_version(version, False))
Hello, team
Describe the bug
Using "SoftwareUpdater(device).upgrade_to_version(version, False)" to upgrade PanOS from different levels to 8.1.15. for versions 8.1.x it works, but when trying to upgrade 8.0.x (or earlier) it fails
Expected behavior
expecting function to do consequent upgrades to desired version with installation of base images
Current behavior
Traceback (most recent call last):
File "panos_upgrade.py", line 50, in
Possible cause
when upgrading from 8.0.x to 8.1.15 , process excpected as download of 8.1.0 image, download of 8.1.15 image, then install 8.1.15. But according device's log, image 8.1.0 not downloaded, and isntall of 8.1.15 fails because of that.
Steps to reproduce
upgrade from v.8.0.13 to 8.1.15-h3
Your Environment
using hardware model PA-220
:tada: Thanks for opening your first issue here! Welcome to the community!
Thanks for the bug report. We fixed an issue recently in the upgrader, but the fix hasn't been released yet.
https://github.com/PaloAltoNetworks/pandevice/pull/216
I recommend to try using the 'develop' branch and check if it fixes your issue. We're trying to release this fix ASAP, but we're also changing our release process, so it's taking a while. Sorry for the delay.