Closed scoopex closed 10 months ago
Started to optimize, debug an probably fix that at: https://github.com/osism/cloud-in-a-box/tree/Installation_fails_because_osismclient_container_is_notready_159
I'm afraid the fix did not work:
bootstrap |
bootstrap | TASK [osism.services.manager : Start/enable manager service] *******************
bootstrap | changed: [manager.systems.in-a-box.cloud]
bootstrap |
bootstrap | TASK [osism.services.manager : Include initialize tasks] ***********************
bootstrap | included: /root/.ansible/collections/ansible_collections/osism/services/roles/manager/tasks/initialize.yml for manager.systems.in-a-box.cloud
bootstrap |
bootstrap | TASK [osism.services.manager : Flush handlers] *********************************
bootstrap |
bootstrap | RUNNING HANDLER [osism.services.manager : Restart manager service] *************
bootstrap | changed: [manager.systems.in-a-box.cloud]
bootstrap |
bootstrap | RUNNING HANDLER [osism.services.manager : Register that manager service was restarted] ***
bootstrap | ok: [manager.systems.in-a-box.cloud]
bootstrap |
bootstrap | RUNNING HANDLER [osism.services.manager : Wait for an healthy manager service] ***
bootstrap | changed: [manager.systems.in-a-box.cloud]
bootstrap |
bootstrap | RUNNING HANDLER [osism.services.manager : Copy osismclient bash completion script] ***
bootstrap | fatal: [manager.systems.in-a-box.cloud]: FAILED! => {"changed": true, "cmd": "INTERACTIVE=false osism complete > /etc/bash_completion.d/osism", "delta": "0:00:00.014676", "end": "2023-11-12 14:38:18.355874", "failed_when_result": true, "msg": "non-zero return code", "rc": 1, "start": "2023-11-12 14:38:18.341198", "stderr": "Error response from daemon: No such container: osismclient", "stderr_lines": ["Error response from daemon: No such container: osismclient"], "stdout": "", "stdout_lines": []}
bootstrap |
bootstrap | PLAY RECAP *********************************************************************
bootstrap | manager.systems.in-a-box.cloud : ok=32 changed=17 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
bootstrap |
bootstrap | /opt/cloud-in-a-box
bootstrap | Checking if container 'osismclient' is running
bootstrap | 2/60 - Waiting for container 'osismclient' to be running
bootstrap | 3/60 - Waiting for container 'osismclient' to be running
bootstrap | 4/60 - Waiting for container 'osismclient' to be running
bootstrap | BOOTSTRAP FAILED
The script just died afterwards.
It depends on the environment. I am currently running a deployment here and it is working.
Probably it depends on the Docker version. I just prepared 2 more PRs to try to make the deployment more stable.
Fixed
The current state of the CiaB fails with the following messages in the installation log:
A manual retry seems to help. therefore it might be a good idea to wait for the "osismclient" in "bootstrap.sh".