[Openstack] [tripleo] [tripleo-quickstart] quickstart.sh failing

Bernd Bausch berndbausch at gmail.com
Thu Jun 21 00:32:34 UTC 2018


I hoped that I could use quickstart.sh to set up Tripleo without much
thinking. The Ansible playbook generates undercloud, compute and control
images and much more on the VIRTHOST but ultimately fails with:

TASK [undercloud-deploy : Write containers-prepare-parameter.yaml]
**************************************************************************
task path:
/home/stack/.quickstart/usr/local/share/ansible/roles/undercloud-deploy/tasks/create-scripts.yml:96
Wednesday 20 June 2018  18:31:07 +0900 (0:00:07.221)       1:14:05.859
********
fatal: [undercloud]: FAILED! => {"changed": false, "failed": true,
"msg": "AnsibleUndefinedVariable: 'container_build_id' is undefined"}

What puzzles me (I am far from being an Ansible expert): If I interpret
/_quickstart.log/ correctly, this variable is set about half-way through
the process:

TASK [extras-common : set container_build_id from docker_image_tag]
*************************************************************************
task path:
/home/stack/.quickstart/usr/local/share/ansible/roles/extras-common/tasks/main.yml:19
Wednesday 20 June 2018  17:23:13 +0900 (0:00:00.212)       0:06:12.229
********
ok: [jupiter] => {*"ansible_facts": {"container_build_id":
"current-tripleo-rdo"},* "changed": false, "failed": false}

Later plays also set it conditionally, but the conditions are never met.
Some derive it from a variable named /get_build_command/, which I can't
find anywhere (I did do a http://codesearch.openstack.org):

TASK [extras-common : set container_build_id from get_build_command]
************************************************************************
task path:
/home/stack/.quickstart/usr/local/share/ansible/roles/extras-common/tasks/main.yml:6
Wednesday 20 June 2018  18:16:45 +0900 (0:00:00.323)       0:59:44.741
********
skipping: [jupiter] => {"changed": false, "skip_reason": "Conditional
result was False", "skipped": true}

others base it on a Docker container tag:

TASK [extras-common : set container_build_id from docker_image_tag]
*************************************************************************
task path:
/home/stack/.quickstart/usr/local/share/ansible/roles/extras-common/tasks/main.yml:19
Wednesday 20 June 2018  18:16:46 +0900 (0:00:00.128)       0:59:44.996
********
skipping: [jupiter] => {"changed": false, "skip_reason": "Conditional
result was False", "skipped": true}

Any pointers how to fix this?

My VIRTHOST is a HP Z420 workstation named /jupiter/, 4 core Xeon, 32G
memory, 150G disk space running freshly installed Centos 7.5. I run the
quickstart script on a VM, equally with Centos 7.5. I followed the
instructions at
https://docs.openstack.org/tripleo-quickstart/latest/readme.html#tripleo-quickstart:

$ ssh-keygen; ssh-copy-id root at jupiter; ssh-copy-id stack at jupiter
$
curl-Ohttps://raw.githubusercontent.com/openstack/tripleo-quickstart/master/quickstart.sh
$ bashquickstart.sh--install-deps
$ bash quickstart.sh jupiter

Bernd Bausch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20180621/675068d2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20180621/675068d2/attachment.sig>


More information about the Openstack mailing list