{ "module_stdout": "", "module_stderr": "Traceback (most recent call last): File \"/var/lib/awx/.ansible/tmp/ansible-tmp-1641164824.8501496-56-70448328417927/AnsiballZ_k8s.py\", line 102, in _ansiballz_main() File \"/var/lib/awx/.ansible/tmp/ansible-tmp-1641164824.8501496-56-70448328417927/AnsiballZ_k8s.py\", line 94, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File \"/var/lib/awx/.ansible/tmp/ansible-tmp-1641164824.8501496-56-70448328417927/AnsiballZ_k8s.py\", line 40, in invoke_module runpy.run_module(mod_name='ansible_collections.kubernetes.core.plugins.modules.k8s', init_globals=None, run_name='__main__', alter_sys=True) File \"/usr/lib64/python2.7/runpy.py\", line 176, in run_module fname, loader, pkg_name) File \"/usr/lib64/python2.7/runpy.py\", line 82, in _run_module_code mod_name, mod_fname, mod_loader, pkg_name) File \"/usr/lib64/python2.7/runpy.py\", line 72, in _run_code exec code in run_globals File \"/tmp/ansible_kubernetes.core.k8s_payload_a7Am_x/ansible_kubernetes.core.k8s_payload.zip/ansible_collections/kubernetes/core/plugins/modules/k8s.py\", line 397, in File \"/tmp/ansible_kubernetes.core.k8s_payload_a7Am_x/ansible_kubernetes.core.k8s_payload.zip/ansible_collections/kubernetes/core/plugins/modules/k8s.py\", line 388, in main File \"/tmp/ansible_kubernetes.core.k8s_payload_a7Am_x/ansible_kubernetes.core.k8s_payload.zip/ansible_collections/kubernetes/core/plugins/module_utils/common.py\", line 42, in File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/kubernetes/__init__.py\", line 19, in import kubernetes.client File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/kubernetes/client/__init__.py\", line 20, in from kubernetes.client.api.well_known_api import WellKnownApi File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/kubernetes/client/api/__init__.py\", line 6, in from kubernetes.client.api.well_known_api import WellKnownApi File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/kubernetes/client/api/well_known_api.py\", line 20, in from kubernetes.client.api_client import ApiClient File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/kubernetes/client/api_client.py\", line 29, in from kubernetes.client import rest File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/kubernetes/client/rest.py\", line 28, in from requests.utils import should_bypass_proxies File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/requests/__init__.py\", line 48, in from charset_normalizer import __version__ as charset_normalizer_version File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/charset_normalizer/__init__.py\", line 24, in from .api import from_bytes, from_fp, from_path, normalize File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/charset_normalizer/api.py\", line 36 sequences: bytes, ^ SyntaxError: invalid syntax ", "exception": "Traceback (most recent call last): File \"/var/lib/awx/.ansible/tmp/ansible-tmp-1641164824.8501496-56-70448328417927/AnsiballZ_k8s.py\", line 102, in _ansiballz_main() File \"/var/lib/awx/.ansible/tmp/ansible-tmp-1641164824.8501496-56-70448328417927/AnsiballZ_k8s.py\", line 94, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File \"/var/lib/awx/.ansible/tmp/ansible-tmp-1641164824.8501496-56-70448328417927/AnsiballZ_k8s.py\", line 40, in invoke_module runpy.run_module(mod_name='ansible_collections.kubernetes.core.plugins.modules.k8s', init_globals=None, run_name='__main__', alter_sys=True) File \"/usr/lib64/python2.7/runpy.py\", line 176, in run_module fname, loader, pkg_name) File \"/usr/lib64/python2.7/runpy.py\", line 82, in _run_module_code mod_name, mod_fname, mod_loader, pkg_name) File \"/usr/lib64/python2.7/runpy.py\", line 72, in _run_code exec code in run_globals File \"/tmp/ansible_kubernetes.core.k8s_payload_a7Am_x/ansible_kubernetes.core.k8s_payload.zip/ansible_collections/kubernetes/core/plugins/modules/k8s.py\", line 397, in File \"/tmp/ansible_kubernetes.core.k8s_payload_a7Am_x/ansible_kubernetes.core.k8s_payload.zip/ansible_collections/kubernetes/core/plugins/modules/k8s.py\", line 388, in main File \"/tmp/ansible_kubernetes.core.k8s_payload_a7Am_x/ansible_kubernetes.core.k8s_payload.zip/ansible_collections/kubernetes/core/plugins/module_utils/common.py\", line 42, in File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/kubernetes/__init__.py\", line 19, in import kubernetes.client File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/kubernetes/client/__init__.py\", line 20, in from kubernetes.client.api.well_known_api import WellKnownApi File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/kubernetes/client/api/__init__.py\", line 6, in from kubernetes.client.api.well_known_api import WellKnownApi File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/kubernetes/client/api/well_known_api.py\", line 20, in from kubernetes.client.api_client import ApiClient File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/kubernetes/client/api_client.py\", line 29, in from kubernetes.client import rest File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/kubernetes/client/rest.py\", line 28, in from requests.utils import should_bypass_proxies File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/requests/__init__.py\", line 48, in from charset_normalizer import __version__ as charset_normalizer_version File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/charset_normalizer/__init__.py\", line 24, in from .api import from_bytes, from_fp, from_path, normalize File \"/opt/custom-envs/cloudbuilder-k8s-py3/lib/python3.9/site-packages/charset_normalizer/api.py\", line 36 sequences: bytes, ^ SyntaxError: invalid syntax ", "msg": "MODULE FAILURE See stdout/stderr for the exact error", "rc": 1, "invocation": { "kind": "Namespace", "name": "waap-managed", "kubeconfig": "kubeconfig", "module_args": { "kind": "Namespace", "name": "waap-managed", "kubeconfig": "kubeconfig" } }, "_ansible_no_log": false, "changed": false }