We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
- name: Force Delete a Service Engine vmware.alb.avi_api_session: avi_credentials: "{{ AVI_CREDENTIALS }}" data: name: foo http_method: post timeout: 30 path: "serviceengine/{{ se_uuid }}/forcedelete"
Results in: vmware.alb.plugins.module_utils.avi_api.APIError: ('HTTP Error: 405 Error Msg {\"detail\": \"Method \\'GET\\' not allowed.\"}', <Response [405]>)\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
vmware.alb.plugins.module_utils.avi_api.APIError: ('HTTP Error: 405 Error Msg {\"detail\": \"Method \\'GET\\' not allowed.\"}', <Response [405]>)\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
It looks like we are hitting this conditional
https://github.com/vmware/ansible-collection-alb/blob/eng/plugins/modules/avi_api_session.py#L199
which should be avoided if we add 'forcedelete' to api_get_not_allowed and sub_api_get_not_allowed on lines 181 and 182, respectively.
I added the above to my local ansible collection and it allowed the post to proceed correctly.
Post is expected to go through unless there is an issue with se_uuid or permissions.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Results in:
vmware.alb.plugins.module_utils.avi_api.APIError: ('HTTP Error: 405 Error Msg {\"detail\": \"Method \\'GET\\' not allowed.\"}', <Response [405]>)\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
It looks like we are hitting this conditional
https://github.com/vmware/ansible-collection-alb/blob/eng/plugins/modules/avi_api_session.py#L199
which should be avoided if we add 'forcedelete' to api_get_not_allowed and sub_api_get_not_allowed on lines 181 and 182, respectively.
I added the above to my local ansible collection and it allowed the post to proceed correctly.
Reproduction steps
Expected behavior
Post is expected to go through unless there is an issue with se_uuid or permissions.
Additional context
No response
The text was updated successfully, but these errors were encountered: