AWX-Operator Helm installs while trying to bring up the Task deployment
K8s cluster - v1.27.10+rke2r.1
AWX-Operator Version - 2.5.3
AWX Version - 23.1.0
This is the steps that I did to get where I’m at.
helm fetch awx-operator/awx-operator --version 2.5.3
Put .tgz on node
put values.yaml on node
helm install awx-operator --create-namespace --namespace awx ./awx-operator-2.5.3.tgz -f awx.yaml
Here is my awx.yaml
AWX:
enabled: true
name: awx
spec:
admin_user: admin
image: harbor.xx/ansible/awx
image_version: "23.1.0"
postgres_image: harbor.xx/library/postgres
postgres_image_version: "13"
init_container_image: harbor.xx/ansible/awx-ee
init_container_image_version: "23.1.04"
ee_images:
- name: AWX EE
image: harbor.xx/ansible/awx-ee:23.1.04
control_plane_ee_image: harbor.xx/ansible/awx-ee:23.1.04
service_type: ClusterIP
redis_image: harbor.xx/library/redis
redis_image_version: "7"
ingress_type: ingress
hostname: awx.xx
Here is the error
--------------------------- Ansible Task StdOut -------------------------------
2024-04-04T12:38:00.279469258-04:00
2024-04-04T12:38:00.279477705-04:00 TASK [Check for presence of awx-task Deployment] ********************************
2024-04-04T12:38:00.279480612-04:00 An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ValueError: too many values to unpack (expected 2)
2024-04-04T12:38:00.279501174-04:00 fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File "/opt/ansible/.ansible/tmp/ansible-tmp-1712248679.6658406-808-85479366350307/AnsiballZ_k8s_info.py", line 102, in \n _ansiballz_main()\n File "/opt/ansible/.ansible/tmp/ansible-tmp-1712248679.6658406-808-85479366350307/AnsiballZ_k8s_info.py", line 94, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/opt/ansible/.ansible/tmp/ansible-tmp-1712248679.6658406-808-85479366350307/AnsiballZ_k8s_info.py", line 40, in invoke_module\n runpy.run_module(mod_name='ansible_collections.kubernetes.core.plugins.modules.k8s_info', init_globals=None, run_name='main', alter_sys=True)\n File "/usr/lib64/python3.8/runpy.py", line 207, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File "/usr/lib64/python3.8/runpy.py", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File "/usr/lib64/python3.8/runpy.py", line 87, in _run_code\n exec(code, run_globals)\n File "/tmp/ansible_k8s_info_payload_05wsq_9a/ansible_k8s_info_payload.zip/ansible_collections/kubernetes/core/plugins/modules/k8s_info.py", line 217, in \n File "/tmp/ansible_k8s_info_payload_05wsq_9a/ansible_k8s_info_payload.zip/ansible_collections/kubernetes/core/plugins/modules/k8s_info.py", line 211, in main\n File "/tmp/ansible_k8s_info_payload_05wsq_9a/ansible_k8s_info_payload.zip/ansible_collections/kubernetes/core/plugins/modules