You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we updated to PanOS 9.1.x we found that the ability to list commit locks was broken -- we get the following error message:
Failed to list config locks. vsys not provided
Enabling debugging, we can see that the vsys is properly being set to shared. The following debugging shows this actually only occurs when we try and get commit locks:
❯ go run . locks list
Password:
2022/05/02 11:42:10 (op) show system info
2022/05/02 11:42:11 (op) getting plugin info
2022/05/02 11:42:11 vsys: shared
2022/05/02 11:42:11 (op) getting config locks for scope "shared"
2022/05/02 11:42:12 (op) getting commit locks for scope "shared"
2022/05/02 11:42:12 Error retrieving commit locks: Failed to list config locks. vsys not provided
Comparing the ConfigLocks and ComitLocks source reveals that some 9.1.0+ logic was not implemented for CommitLocks.
Expected behavior
We can retrieve locks successfully.
Current behavior
Unable to retrieve locks, get error about vsys not being provided.
Possible solution
Implement 9.1.0+ logic into the CommitLocks function, similar to the ConfigLocks function.
Steps to reproduce
Create a PAN Client
Try and run CommitLocks("shared")
Context
Your Environment
Version used: 9.1.13-h3
Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3):
Operating System and version (desktop or mobile):
Link to your project:
The text was updated successfully, but these errors were encountered:
Describe the bug
When we updated to PanOS 9.1.x we found that the ability to list commit locks was broken -- we get the following error message:
Enabling debugging, we can see that the vsys is properly being set to
shared
. The following debugging shows this actually only occurs when we try and get commit locks:Comparing the ConfigLocks and ComitLocks source reveals that some 9.1.0+ logic was not implemented for CommitLocks.
Expected behavior
We can retrieve locks successfully.
Current behavior
Unable to retrieve locks, get error about vsys not being provided.
Possible solution
Implement 9.1.0+ logic into the CommitLocks function, similar to the ConfigLocks function.
Steps to reproduce
CommitLocks("shared")
Context
Your Environment
The text was updated successfully, but these errors were encountered: