I’m running 20.10.2 with operator 1.1.3 and having a lot of joy. Things are beginning to work, but this is a new problem in the ephemeral worker node:
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named ‘packaging’
Am I reading correctly that the worker node has a bad Python install? Is there anything I can do about this?
Here’s the full error:
{“uuid”: “19026f90-0653-464f-9cfa-a471fd82c20c”, “counter”: 87, “stdout”: “\u001b[0;31mAn exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named ‘packaging’\u001b[0m\r\n\u001b[0;31mfatal: [10.xx.xx.xx]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (packaging) on automation-job-130-r4fwp’s Python /usr/libexec/platform-python. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"}\u001b[0m”, “start_line”: 215, “end_line”: 217, “runner_ident”: “130”, “event”: “runner_on_failed”, “job_id”: 130, “pid”: 20, “created”: “2023-01-25T15:23:47.775259”, “parent_uuid”: “0a580a3a-3980-308c-1e30-000000000033”, “event_data”: {“playbook”: “Ansible/playbooks/AWX_NonProd/named_deploy-certificate-f5.yml”, “playbook_uuid”: “c1685fdf-ef45-473b-a9e0-3c70711566ab”, “play”: “Deploy named certificate to F5 as Traffic Certificate”, “play_uuid”: “0a580a3a-3980-308c-1e30-000000000008”, “play_pattern”: “int”, “task”: “Add SNI profile to existing virtual server /Common/app-vip.vs in nadc-int”, “task_uuid”: “0a580a3a-3980-308c-1e30-000000000033”, “task_action”: “bigip_virtual_server”, “resolved_action”: “f5networks.f5_modules.bigip_virtual_server”, “task_args”: “”, “task_path”: “/runner/project/Ansible/playbooks/roles/PutMicroservice/tasks/full_install.yml:81”, “role”: “PutMicroservice”, “host”: “10.xx.xx.xx”, “remote_addr”: “10.xx.xx.xx”, “res”: {“exception”: “Traceback (most recent call last):\n File "/tmp/ansible_bigip_virtual_server_payload_2bbo10x6/ansible_bigip_virtual_server_payload.zip/ansible_collections/f5networks/f5_modules/plugins/modules/bigip_virtual_server.py", line 927, in \nModuleNotFoundError: No module named ‘packaging’\n”, “msg”: “Failed to import the required Python library (packaging) on automation-job-130-r4fwp’s Python /usr/libexec/platform-python. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter”, “invocation”: {“module_args”: {“state”: “present”, “partition”: “Common”, “name”: “[appdetail]”, “profiles”: [“ASM_mwosapps-sbx.policy”, “http-xff”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “[appdetail]”, “tcp”, “websecurity”, “websocket”], “check_profiles”: false, “provider”: {“server”: “10.xx.xx.xx”, “validate_certs”: false, “server_port”: null, “user”: “ansible-f5-mw”, “password”: “VALUE_SPECIFIED_IN_NO_LOG_PARAMETER”, “transport”: “rest”, “timeout”: null, “no_f5_teem”: null, “auth_provider”: null}, “type”: “standard”, “insert_metadata”: true, “rate_limit_mode”: “object”, “bypass_module_checks”: false, “destination”: null, “port”: null, “policies”: null, “irules”: null, “enabled_vlans”: null, “disabled_vlans”: null, “pool”: null, “description”: null, “snat”: null, “default_persistence_profile”: null, “fallback_persistence_profile”: null, “source”: null, “metadata”: null, “address_translation”: null, “port_translation”: null, “source_port”: null, “ip_protocol”: null, “mirror”: null, “auto_last_hop”: null, “mask”: null, “firewall_staged_policy”: null, “firewall_enforced_policy”: null, “ip_intelligence_policy”: null, “service_down_immediate_action”: null, “security_log_profiles”: null, “security_nat_policy”: null, “rate_limit”: null, “rate_limit_dst_mask”: null, “rate_limit_src_mask”: null, “clone_pools”: null}}, “_ansible_no_log”: false, “changed”: false}, “start”: “2023-01-25T15:23:46.873682”, “end”: “2023-01-25T15:23:47.775046”, “duration”: 0.901364, “ignore_errors”: null, “event_loop”: null, “uuid”: “19026f90-0653-464f-9cfa-a471fd82c20c”}}