Comment 3 for bug 1810966

Revision history for this message
Sudeep Batra (sudeep.batra) wrote :

Went into the undercloud :
$ ssh -F ~/.quickstart/ssh.config.ansible undercloud

$ cat overcloud_deploy.log (attached for reference)

Found below Error : [ERROR] Error running /var/lib/heat-config/heaOvercloud configuration failed.

2019-01-08 18:09:15 | PLAY RECAP *********************************************************************
2019-01-08 18:09:15 | overcloud-controller-0 : ok=64 changed=22 unreachable=0 failed=1
2019-01-08 18:09:15 | overcloud-novacompute-0 : ok=5 changed=2 unreachable=0 failed=0
2019-01-08 18:09:15 | undercloud : ok=2 changed=0 unreachable=0 failed=0

2019-01-08 18:09:15 | Ansible failed, check log at /var/lib/mistral/8ed13b10-bcd9-4922-bd08-210b69ef673d/ansible.log.

$ sudo cat /var/lib/mistral/8ed13b10-bcd9-4922-bd08-210b69ef673d/ansible.log

                "TASK [Ensure system is NTP time synced] ****************************************",
                "fatal: [localhost]: FAILED! => {\"changed\": true, \"cmd\": [\"ntpdate\", \"-u\", \"pool.ntp.org\"], \"delta\": \"0:00:08.773511\", \"end\": \"2019-01-08 18:09:12.820257\", \"msg\": \"non-zero return code\", \"rc\": 1, \"start\": \"2019-01-08 18:09:04.046746\", \"stderr\": \" 8 Jan 18:09:12 ntpdate[17982]: no server suitable for synchronization found\", \"stderr_lines\": [\" 8 Jan 18:09:12 ntpdate[17982]: no server suitable for synchronization found\"], \"stdout\": \"\", \"stdout_lines\": []}",
                "PLAY RECAP *********************************************************************",
                "localhost : ok=27 changed=19 unreachable=0 failed=1 ",
Error running /var/lib/heat-config/heat-config-ansible/167864a6-973b-4463-8fb9-150badd82d22_playbook.yaml. [2]",
 "status_code": "2"
2019-01-08 18:09:14,117 p=34745 u=mistral | NO MORE HOSTS LEFT *************************************************************
PLAY RECAP *********************************************************************
2019-01-08 18:09:14,118 p=34745 u=mistral | overcloud-controller-0 : ok=64 changed=22 unreachable=0 failed=1
2019-01-08 18:09:14,118 p=34745 u=mistral | overcloud-novacompute-0 : ok=5 changed=2 unreachable=0 failed=0
2019-01-08 18:09:14,118 p=34745 u=mistral | undercloud : ok=2 changed=0 unreachable=0 failed=0

so Probably one solution is either manually configure the NTP (but then subsequent scripts will fail anyway) and quickstart wont be seamless.
the other solution is to use the Rocky release since I see there is a fix for this issues in Rocky : https://bugs.launchpad.net/tripleo/+bug/1777140 since the present default one took Queens.

Next need to find how to specify Rocky release in quickstart script.