[Starlingx-discuss] Ansible-playbook deploy distributed cloud failed
Penney, Don
Don.Penney at windriver.com
Wed Nov 18 15:38:05 UTC 2020
I don’t know anything about this step, but this is simply a flag file indicating a particular step has completed. You’d want to look for what’s failing to cause this step to fail to complete.
A couple of quick “repo grep” commands shows that the flag file is created by a puppet runtime manifest here:
https://opendev.org/starlingx/stx-puppet/src/branch/master/puppet-manifests/src/modules/platform/manifests/postgresql.pp#L196-L224
which gets applied from sysinv here, after it determines initial inventory is complete:
https://opendev.org/starlingx/config/src/commit/9bc8f0ddf7e1801a34295aca847ddcc92f47bce1/sysinv/sysinv/sysinv/sysinv/conductor/manager.py#L11559-L11566
So I’d maybe start by looking at sysinv logs.
From: Yu ChanDer <yuchander at gmail.com>
Sent: Thursday, November 12, 2020 2:07 AM
To: starlingx-discuss at lists.starlingx.io; Khalil, Ghada <Ghada.Khalil at windriver.com>
Subject: [Starlingx-discuss] Ansible-playbook deploy distributed cloud failed
[Please note this e-mail is from an EXTERNAL e-mail address]
Hello Ghada and fellows:
Please help.
I built a stx.4.0 bootimages.iso from my Starlingx-layered-build environment,
and use the bootimages.iso to deploy a distributed cloud.
However, suffer an error after ansible-playbook deploying.
I have traced the yaml file to find the root cause, but I can't find any .sc_database_configured in /etc/platform.
Where I can find the .sc_database_configured?
TASK [bootstrap/persist-config : Wait for system controller database configuration to complete] ***
fatal: [localhost]: FAILED! => {"changed": false, "elapsed": 300, "msg": "Timeout waiting for system controller database configuration to complete"}
@ansible-playbooks\playbookconfig\src\playbooks\roles\bootstrap\persist-config\tasks\update_sysinv_database.yml
- name: Wait for system controller database configuration to complete
wait_for:
path: /etc/platform/.sc_database_configured
state: present
timeout: 300
msg: Timeout waiting for system controller database configuration to complete
when: distributed_cloud_role == 'systemcontroller'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20201118/eaed02bc/attachment.html>
More information about the Starlingx-discuss
mailing list