Hi all,
I am working in the deployment of AWX using Kubernetes. Everything seems to works and I can create projects, associate playbooks, even run those playbooks on my servers.
One of my playbooks is using the f5 big ip module to enable and disable nodes on BigIP. The problem that I have is that there are some python modules missing, so I can’t use the BigIP module.
{ "_ansible_parsed": true, "deprecations": [], "exception": " File \"/tmp/ansible_o9NWnB/ansible_module_bigip_pool_member.py\", line 199, in <module>\n from library.module_utils.network.f5.common import f5_argument_spec\n", "changed": false, "_ansible_no_log": false, "_ansible_delegated_vars": { "ansible_delegated_host": "localhost", "ansible_host": "localhost" }, "_ansible_item_result": true, "item": { "name": "server-patching-poc
.domain.internal", "port": "22" }, "invocation": { "module_args": { "session_state": "disabled", "ratio": null, "description": null, "transport": "rest", "monitor_state": "disabled", "partition": "Common", "rate_limit": null, "connection_limit": null, "server": "bigip
.domain.internal", "state": "present", "preserve_node": false, "user": "myuser", "server_port": 443, "provider": { "ssh_keyfile": null, "server_port": 443, "server": "bigip
.domain.internal", "user": "myuser", "timeout": 10, "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "validate_certs": false, "transport": "rest" }, "host": "server-patching-poc-2.
.domain.internal`",
“priority_group”: null,
“password”: “VALUE_SPECIFIED_IN_NO_LOG_PARAMETER”,
“validate_certs”: false,
“port”: 22,
“pool”: “server-patching-poc.domain.internal”
}
},
“_ansible_ignore_errors”: null,
“msg”: “the python bigsuds module is required”
}
`
I tried to install the module but I am getting a permission denied, I also tried to perform a 'su' to root but it seems that there is no root user in the kubernetes installation. I even tried to create a new virtualenv with the awx user, but I can't move it under /var/lib/awx due lack of permissions.
How can I solve this issue?
Thanks in advance.
Cheers,
nrk