The PAN-OS SDK for Python is a package to help interact with Palo Alto Networks devices (including physical and virtualized Next-generation Firewalls and Panorama). The pan-os-python SDK is object oriented and mimics the traditional interaction with the device via the GUI or CLI/API.
Panorama push for Log Collector Group works in Panorama, the push completes successfully, but the SDK returns an empty result. This breaks the Ansible modules consuming this SDK, and stops playbooks continuing to execute.
Expected behavior
Returned result from commit with PanoramaCommitAll should not be empty, it should contain the legitimate result.
Current behavior
Returned result from commit with PanoramaCommitAll is empty, despite the push to Log Collector Group being successful in Panorama itself.
Possible solution
Unsure why returned result is empty at this point in time.
Describe the bug
Panorama push for Log Collector Group works in Panorama, the push completes successfully, but the SDK returns an empty result. This breaks the Ansible modules consuming this SDK, and stops playbooks continuing to execute.
Expected behavior
Returned result from
commit
withPanoramaCommitAll
should not be empty, it should contain the legitimate result.Current behavior
Returned result from
commit
withPanoramaCommitAll
is empty, despite the push to Log Collector Group being successful in Panorama itself.Possible solution
Unsure why returned result is empty at this point in time.
Steps to reproduce
Code:
Result:
print(result)
result isNone
Context
This has been raised due to a reported issue in pan-os-ansible: https://github.com/PaloAltoNetworks/pan-os-ansible/issues/369
Your Environment