Open antoinekh opened 4 months ago
Maybe similar to #471
I have tried with success to add the following lines and this fix the issue
L4906 on base.py
try:
commit_response_msg = commit_response.find("./msg/line").text
except AttributeError:
commit_response_msg = "No message in commit response"
self._logger.debug("No job id. Msg: " + commit_response_msg)
the problem has been added here #493 the 07/02/2024
Pull request #557
I can confirm that it works in pan-os-python 1.11.0
Describe the bug
Was OK before 02/2024
With Ansible, when I commit to Panorama I have this issue. This is related to the pan-os-python as
Expected behavior
It should work with a message Commit not needed No issues when modification are there to commit to the device.
Current behavior
Python error
Possible solution
Change line on /panos/base.py (https://github.com/PaloAltoNetworks/pan-os-python/blob/62bcff3bca86a5ff745eae3e92635d109673963a/panos/base.py#L4906C1-L4906C78)
to add a try except
Steps to reproduce
Screenshots
Context
Issue is with last version of ansible, and pan-os-python
Your Environment