awx in kubernetes|| Installation issue

150 views
Skip to first unread message

BB

unread,
Oct 4, 2018, 8:01:16 AM10/4/18
to Ansible Project
I have populated the kubernetes cluster context and namespace in the inventory file but when running the playbook to install it, it fails while wait for the management pod to start.

Any idea why it may fail? 

___________

TASK [kubernetes : Create management pod] ******************************************************************************************************************************************************************
changed: [localhost]

TASK [kubernetes : Wait for management pod to start] *******************************************************************************************************************************************************
FAILED - RETRYING: Wait for management pod to start (60 retries left).
FAILED - RETRYING: Wait for management pod to start (59 retries left).
FAILED - RETRYING: Wait for management pod to start (58 retries left).
FAILED - RETRYING: Wait for management pod to start (57 retries left).
FAILED - RETRYING: Wait for management pod to start (56 retries left).
FAILED - RETRYING: Wait for management pod to start (55 retries left).
FAILED - RETRYING: Wait for management pod to start (54 retries left).
......
......
fatal: [localhost]: FAILED! => {"attempts": 60, "changed": true, "cmd": "kubectl -n awx get pod ansible-tower-management -o jsonpath=\"{.status.phase}\"", "delta": "0:00:00.275190", "end": "2018-10-04 13:24:29.192210", "rc": 0, "start": "2018-10-04 13:24:28.917020", "stderr": "", "stderr_lines": [], "stdout": "Failed", "stdout_lines": ["Failed"]}
to retry, use: --limit @/Users/*****/awx/installer/install.retry

PLAY RECAP *********************************************************************
localhost                  : ok=15   changed=7    unreachable=0    failed=1


___________________________

NAME                                READY     STATUS               RESTARTS   AGE
ansible-tower-management            0/1       ContainerCannotRun   0          4m
awx-79d465b4b5-6nspn                2/4       CrashLoopBackOff     10         4m

______________

Logs for ansible-tower-management is empty. 

Reply all
Reply to author
Forward
0 new messages