Forum Discussion
Jae_Hong_Kim_32
Nimbostratus
May 15, 2017iControlUnexpectedHTTPError
I get an iControlUnexpectedHTTPError with the following source
It is trying to connect to the BigIP ASM server.
Does this meant something is wrong with the server?
Should I use postman to test the co...
Anand_Shridhar_
Nimbostratus
Dec 11, 2017Similar issue was faced when Ansible version was upgraded from version 2.3 to 2.4.
This was the error faced:
"module_stderr": "Traceback (most recent cmp/ansible_TEdNxx/ansible_module_bigip_pool.py\", line 237, in \n from ansible.module_utils.f5_utils import (\nImportError: cannotexpectedHTTPError\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 0}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ImportError: cannot import name iControlUnex
Fix is by installing f5-sdk. You can do a pip install f5-sdk. Somehow this became a requirement after updating Ansible to version 2.4
[root@ansible-controller f5] pip install f5-sdk
Collecting f5-sdk
Downloading f5-sdk-3.0.6.tar.gz (141kB)
100% |████████████████████████████████| 143kB 1.3MB/s
.....
Successfully installed enum-compat-0.0.2 eventlet-0.21.0 f5-icontrol-rest-1.3.4 f5-sdk-3.0.6 greenlet-0.4.12
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects