Forum Discussion
KernelPanic
Jan 31, 2019Nimbostratus
Excellent point sir! TMOS 12.1.3.6 ansible 2.7.5 python version = 2.7.5 GCC 4.8.5 20150623 Red Hat 4.8.5-36
I added a monitor type and have the same error. I think it has something to do with the handler but could be wrong.
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/network/common/__init__.py
`
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/network/common/utils.py
Using module file /usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_pool.py
PUT /home/eh7305/.ansible/tmp/ansible-local-6428wf53d0/tmpYBaaD6 TO /home/eh7305/.ansible/tmp/ansible-tmp-1548950000.6-199856288208530/AnsiballZ_bigip_pool.py
EXEC /bin/sh -c 'chmod u+x /home/eh7305/.ansible/tmp/ansible-tmp-1548950000.6-199856288208530/ /home/eh7305/.ansible/tmp/ansible-tmp-1548950000.6-199856288208530/AnsiballZ_bigip_pool.py && sleep 0'
EXEC /bin/sh -c '/usr/bin/python2 /home/eh7305/.ansible/tmp/ansible-tmp-1548950000.6-199856288208530/AnsiballZ_bigip_pool.py && sleep 0'
EXEC /bin/sh -c 'rm -f -r /home/eh7305/.ansible/tmp/ansible-tmp-1548950000.6-199856288208530/ > /dev/null 2>&1 && sleep 0'
The full traceback is:
WARNING: The below traceback may *not* be related to the actual failure.
File "/tmp/ansible_bigip_pool_payload_etue6Y/__main__.py", line 947, in main
results = mm.exec_module()
File "/tmp/ansible_bigip_pool_payload_etue6Y/__main__.py", line 709, in exec_module
changed = self.present()
File "/tmp/ansible_bigip_pool_payload_etue6Y/__main__.py", line 757, in present
if self.exists():
File "/tmp/ansible_bigip_pool_payload_etue6Y/__main__.py", line 836, in exists
return self.client.api.tm.ltm.pools.pool.exists(
File "/tmp/ansible_bigip_pool_payload_etue6Y/ansible_bigip_pool_payload.zip/ansible/module_utils/network/f5/bigip.py", line 61, in api
raise F5ModuleError(error)
fatal: [haf5b.express-scripts.com -> localhost]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"auth_provider": null,
"description": null,
"lb_method": "round-robin",
"metadata": null,
"monitor_type": "single",
"monitors": [
"http"
],
"name": "pool1",
"partition": "Common",
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"priority_group_activation": null,
"provider": {
"auth_provider": null,
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"server": "f5bm.express-scripts.com",
"server_port": null,
"ssh_keyfile": null,
"timeout": null,
"transport": "rest",
"user": "admin",
"validate_certs": false
},
"quorum": null,
"reselect_tries": null,
"server": "f5bm.express-scripts.com",
"server_port": null,
"service_down_action": null,
"slow_ramp_time": null,
"state": "present",
"transport": null,
"user": "admin",
"validate_certs": false
}
}
}
MSG:
Unable to connect to f5bm.express-scripts.com on port 443. The reported error was "Unexpected **kwargs: {'verify': False}".
` to retry, use: --limit @/home/eh7305/scripts/ansible/f5tst.retry
PLAY RECAP *************************************************************************************************************************************************** f5am.express-scripts.com : ok=2 changed=0 unreachable=0 failed=0 f5bm.express-scripts.com : ok=2 changed=0 unreachable=0 failed=1