Open fanalytica opened 4 months ago
Unfortunately the library that we are using for performing snapshots and readiness checks panos-upgrade-assurance does not support Panorama, so nothing that you change within the settings.yaml file will affect your Panorama appliances.
I see, thank you for the response. For my personal case I've edited the check_panorama_license function in pan_os_upgrade/components/device.py to ignore if the Software Warranty is expired but I doubt that's universal enough to exclude by default.
# Check if any license entry has expired
for entry in licenses_element.findall(".//entry"):
if entry.find("expired").text == "yes" and entry.find("feature").text != "Software warranty":
return False
Describe the bug For Panorama, the license readiness check will fail if there is an expired software warranty. Setting the license_expired readiness check to false using advanced settings doesn't seem to have any change although I think this check is different from the readiness checks.
To Reproduce Steps to reproduce the behavior:
Expected behavior This is expected based on the logic used in the check_panorama_license function of device.py. The software warranty could be excluded or be available as an option we can choose to exclude in the custom settings.yaml