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
Sys::Version
Main Package
Product BIG-IP
Version 14.1.5.4
Build 0.0.2
Edition Point Release 4
Date Wed Mar 22 06:02:45 PDT 2023
CONFIGURATION
No changes to ansible.cfg
OS / ENVIRONMENT
CentOS 7
Linux ip-10-0-2-15.ap-southeast-2.compute.internal 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
ANSIBLE COLLECTIONS
[scalesss@ip-10-0-2-15 ansible]$ ansible-galaxy collection list
# /home/scalesss/.ansible/collections/ansible_collections
Collection Version
------------------- -----------
ansible.netcommon 5.0.0
ansible.utils 2.9.0
f5networks.f5_bigip 2.1.0-devel
SUMMARY
While trying to remove a partition using
f5networks.f5_bigip.bigip_as3_deploy:
state: absent
The following error is returned
fatal: [f5v14_1]: FAILED! => {"changed": false, "msg": "{'code': 400, 'message': 'query param \"async\" is not allowed for method=GET or action=retrieve.'}"}
[scalesss@ip-10-0-2-15 ~]$ ansible-playbook input/playbooks/as3basics.yml --tags delete -vvvv
ansible-playbook [core 2.14.4]
config file = None
configured module search path = ['/home/scalesss/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/scalesss/.local/lib/python3.11/site-packages/ansible
ansible collection location = /home/scalesss/.ansible/collections:/usr/share/ansible/collections
executable location = /home/scalesss/.local/bin/ansible-playbook
python version = 3.11.3 (main, Apr 11 2023, 17:00:17) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] (/usr/local/bin/python3)
jinja version = 3.1.2
libyaml = True
No config file found; using defaults
ERROR! the playbook: input/playbooks/as3basics.yml could not be found
[scalesss@ip-10-0-2-15 ~]$ cd ansible
[scalesss@ip-10-0-2-15 ansible]$ ansible-playbook input/playbooks/as3basics.yml --tags delete -vvvv
ansible-playbook [core 2.14.4]
config file = /home/scalesss/ansible/ansible.cfg
configured module search path = ['/home/scalesss/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/scalesss/.local/lib/python3.11/site-packages/ansible
ansible collection location = /home/scalesss/.ansible/collections:/usr/share/ansible/collections
executable location = /home/scalesss/.local/bin/ansible-playbook
python version = 3.11.3 (main, Apr 11 2023, 17:00:17) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] (/usr/local/bin/python3)
jinja version = 3.1.2
libyaml = True
Using /home/scalesss/ansible/ansible.cfg as config file
setting up inventory plugins
host_list declined parsing /home/scalesss/ansible/input/inventory.yml as it did not pass its verify_file() method
script declined parsing /home/scalesss/ansible/input/inventory.yml as it did not pass its verify_file() method
Skipping empty key (hosts) in group (all)
Skipping empty key (children) in group (sandpit)
Parsed /home/scalesss/ansible/input/inventory.yml inventory source with yaml plugin
Loading collection f5networks.f5_bigip from /home/scalesss/.ansible/collections/ansible_collections/f5networks/f5_bigip
Loading callback plugin default of type stdout, v2.0 from /home/scalesss/.local/lib/python3.11/site-packages/ansible/plugins/callback/default.py
Skipping callback 'default', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
PLAYBOOK: as3basics.yml **********************************************************************************************
Positional arguments: input/playbooks/as3basics.yml
verbosity: 4
connection: smart
timeout: 10
become_method: sudo
tags: ('delete',)
inventory: ('/home/scalesss/ansible/input/inventory.yml',)
forks: 5
1 plays in input/playbooks/as3basics.yml
PLAY [AS3] ***********************************************************************************************************
TASK [Delete Specified Tenant] ***************************************************************************************
task path: /home/scalesss/ansible/input/playbooks/as3basics.yml:16
redirecting (type: connection) ansible.builtin.httpapi to ansible.netcommon.httpapi
Loading collection ansible.netcommon from /home/scalesss/.ansible/collections/ansible_collections/ansible/netcommon
Loading collection ansible.utils from /home/scalesss/.ansible/collections/ansible_collections/ansible/utils
<10.0.2.16> attempting to start connection
<10.0.2.16> using connection plugin ansible.netcommon.httpapi
Found ansible-connection at path /home/scalesss/.local/bin/ansible-connection
<10.0.2.16> local domain socket does not exist, starting it
<10.0.2.16> control socket path is /home/scalesss/.ansible/pc/e7d71ec0e0
<10.0.2.16> redirecting (type: connection) ansible.builtin.httpapi to ansible.netcommon.httpapi
<10.0.2.16> Loading collection ansible.netcommon from /home/scalesss/.ansible/collections/ansible_collections/ansible/netcommon
<10.0.2.16> Loading collection ansible.utils from /home/scalesss/.ansible/collections/ansible_collections/ansible/utils
<10.0.2.16> Loading collection f5networks.f5_bigip from /home/scalesss/.ansible/collections/ansible_collections/f5networks/f5_bigip
<10.0.2.16> local domain socket listeners started successfully
<10.0.2.16> loaded API plugin ansible_collections.f5networks.f5_bigip.plugins.httpapi.bigip from path /home/scalesss/.ansible/collections/ansible_collections/f5networks/f5_bigip/plugins/httpapi/bigip.py for platform type f5networks.f5_bigip.bigip
<10.0.2.16>
<10.0.2.16> local domain socket path is /home/scalesss/.ansible/pc/e7d71ec0e0
<10.0.2.16> Using network group action f5networks.f5_bigip.bigip for f5networks.f5_bigip.bigip_as3_deploy
<10.0.2.16> ANSIBLE_NETWORK_IMPORT_MODULES: enabled
<10.0.2.16> ANSIBLE_NETWORK_IMPORT_MODULES: found f5networks.f5_bigip.bigip_as3_deploy at /home/scalesss/.ansible/collections/ansible_collections/f5networks/f5_bigip/plugins/modules/bigip_as3_deploy.py
<10.0.2.16> ANSIBLE_NETWORK_IMPORT_MODULES: running f5networks.f5_bigip.bigip_as3_deploy
<10.0.2.16> ANSIBLE_NETWORK_IMPORT_MODULES: complete
The full traceback is:
File "/home/scalesss/.ansible/collections/ansible_collections/f5networks/f5_bigip/plugins/modules/bigip_as3_deploy.py", line 374, in main
results = mm.exec_module()
^^^^^^^^^^^^^^^^
File "/home/scalesss/.ansible/collections/ansible_collections/f5networks/f5_bigip/plugins/modules/bigip_as3_deploy.py", line 207, in exec_module
changed = self.absent()
^^^^^^^^^^^^^
File "/home/scalesss/.ansible/collections/ansible_collections/f5networks/f5_bigip/plugins/modules/bigip_as3_deploy.py", line 227, in absent
return self.remove()
^^^^^^^^^^^^^
File "/home/scalesss/.ansible/collections/ansible_collections/f5networks/f5_bigip/plugins/modules/bigip_as3_deploy.py", line 233, in remove
result = self.remove_from_device()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/scalesss/.ansible/collections/ansible_collections/f5networks/f5_bigip/plugins/modules/bigip_as3_deploy.py", line 333, in remove_from_device
raise F5ModuleError(response['contents'])
fatal: [f5v14_1]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"content": null,
"state": "absent",
"tenant": "ansible",
"timeout": 300
}
},
"msg": "{'code': 400, 'message': 'query param \"async\" is not allowed for method=GET or action=retrieve.'}"
}
PLAY RECAP ***********************************************************************************************************
f5v14_1 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
[scalesss@ip-10-0-2-15 ansible]$
COMPONENT NAME
f5networks.f5_bigip.bigip_as3_deploy
Environment
Sandpit
ANSIBLE VERSION
BIGIP VERSION
CONFIGURATION
No changes to ansible.cfg
OS / ENVIRONMENT
CentOS 7
ANSIBLE COLLECTIONS
SUMMARY
While trying to remove a partition using
f5networks.f5_bigip.bigip_as3_deploy:
state: absent
The following error is returned
STEPS TO REPRODUCE
EXPECTED RESULTS
Tenant to be deleted from F5
ACTUAL RESULTS
sscales_ansible.tar.gz
The text was updated successfully, but these errors were encountered: