Open zallez123 opened 3 months ago
Hi @zallez123,
TypeError: can only concatenate str (not "list") to str
issue should be fixed now in the main branch with the #29 - but a release is not available yet.
Regarding the URLError: reason: [Errno -3] Temporary failure in name resolution
issue, check_session_exists
works on IPv4 addresses for checking existing sessions on the firewall in the output of show sessions all
command.
Could you please try with the following format from the latest code ?
check_session_exists="10.10.10.10/192.168.10.10/443"
Describe the bug
Experiencing a failure with XSOAR playbook associated with Panorama Batch Firewall Upgrades within a sub playbook "PAN-OS Network Operations - Upgrade Assurance - First Snapshot".
This sub playbook stems from a main playbook "PAN-OS Network Operations - Device Upgrade". This is documented as a supported playbook, and it is recommended from Palo.
We have filled in the correct firewall device name and serial number within our panorama, and we have confirmed integrations on the panorama side as well as firewall readiness.
We verified on our end that our DNS records were consistent. The input still returns the same error code (Temporary failure in name resolution):
Expected behavior
Retrieve firewall devices to determine upgrade readiness.
Current behavior
Results in a temporary failure in name resolution. Associated log information below. AN_OS_Upgrade_Assurance returned an error
125: Run Readiness Tests
Command: !pan-os-assurance-run-readiness-checks firewall_serial="113101014803" check_session_exists="wuxppan10/tfw20/443" (PAN_OS_Upgrade_Assurance) Reason URLError: reason: [Errno -3] Temporary failure in name resolution
Ran into programming error during implemenetation stages:
Exception message is [Traceback (most recent call last): File "/tmp/pyrunner/_script_docker_python_loop.py", line 735, in
exec(code, sub_globals, sub_globals)
File "", line 12736, in
File "", line 12722, in main
File "", line 12665, in command_run_readiness_checks
File "", line 12598, in run_readiness_checks
TypeError: can only concatenate str (not "list") to str
Screenshots
Your Environment