-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support HA Upgrades for Firewalls and Panorama Using firewall Subcommand #105
Comments
When I target a member of the HA pair with the firewall command I get the following message. Firewall 3220 is running 10.1.12.
|
Yes, this is to be expected for now, although the error could be a bit more descriptive. For HA firewalls, there is a check first to determine if the firewall is in a "revisit" list, which is dedicated for storing firewalls that are the "active" peer AND running the same PAN-OS version as the "passive" peer. We place firewalls in this list to revisit after the "passive" and standalone firewalls completed their upgrades and are in a stable phase. Since the │ /Users/cdot/development/public/pan-os-upgrade/pan_os_upgrade/components/ha.py:247 in │
│ handle_firewall_ha │
│ │
│ 244 │ ) │
│ 245 │ │
│ 246 │ # Check if the firewall is in the revisit list │
│ ❱ 247 │ with target_devices_to_revisit_lock: │
│ 248 │ │ is_device_to_revisit = target_device in target_devices_to_revisit │
│ 249 │ │ |
Is your feature request related to a problem? Please describe.
Yes. The pan-os-upgrade tool's reliance on the batch subcommand for HA upgrades imposes limitations. It cannot directly upgrade standalone HA firewalls (those not managed by Panorama), nor can it handle HA upgrades for Panorama appliances themselves.
Describe the solution you'd like
Extend the pan-os-upgrade tool to support HA upgrades using the
firewall
andpanorama
subcommands. This would allow direct upgrades of both standalone firewall HA pairs and Panorama HA pairs.Describe alternatives you've considered
Currently, the only way to upgrade HA pairs without the proposed change is by either:
Manual Process: Performing the upgrade manually, which can be time-consuming, complex, and error-prone.
Panorama Reliance (for firewalls): Upgrading firewalls through Panorama, which isn't always feasible or desirable.
Additional context
This enhancement would improve pan-os-upgrade in several significant ways:
The text was updated successfully, but these errors were encountered: