Closed cdot65 closed 6 months ago
This issue appeared when upgrading ten virtual firewalls that are split between two hard disks on the same server. It may have been an I/O issue on the server but nonetheless should be considered as an opportunity to move away from pan-os-python
's sync option for the software install method.
We have identified a bug in the upgrade script where a session timeout error can occur during the install step. Despite this error, the upgrade process continues on the remote device, but the script incorrectly reports a failure and halts execution.
Current Behavior:
During the upgrade process, if a session timeout occurs, the script outputs an error message and prematurely stops, as illustrated below:
Expected Behavior:
The script should handle session timeouts more gracefully. Instead of halting the upgrade process, it should allow the upgrade to continue in the background and periodically check the progress through subsequent API calls for the job status.
Proposed Solution:
This enhancement will improve the reliability and user experience of the upgrade script, ensuring that upgrades can proceed smoothly even in the face of transient network issues or session timeouts.
Steps to Reproduce:
Acceptance Criteria: