[Openstack] [TripleO] Containerized Undercloud Install Fails On Queens Release

Joel Cressy joel at jtcressy.net
Wed Jun 20 20:33:34 UTC 2018


Hi All,

I’m following the instructions at https://docs.openstack.org/tripleo-docs/latest/install/installation/installation.html <https://docs.openstack.org/tripleo-docs/latest/install/installation/installation.html> and at the step to deploy a containerized undercloud, it fails immediately. 

The command I ran was “openstack undercloud install --use-heat”

It fails with this traceback:

```
[stack at undercloud1 ~]$ openstack undercloud install --use-heat
Running: sudo openstack undercloud deploy --local-ip=192.168.24.1 --templates=/usr/share/openstack-tripleo-heat-templates/ --heat-native -e /usr/share/openstack-tripleo-heat-templates/environments/services-docker/ironic.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services-docker/ironic-inspector.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services-docker/mistral.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services-docker/zaqar.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/docker.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/config-download-environment.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/undercloud.yaml -e /tmp/undercloud_parameters.yaml --output-dir=/home/stack

Undercloud deploy is an experimental developer focused feature that does not yet replace 'openstack undercloud install'.
Configuring puppet modules symlinks ...
Exception: list index out of range
['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/undercloud_deploy.py", line 502, in take_action\n    orchestration_client = self._launch_heat(parsed_args)\n', '  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/undercloud_deploy.py", line 187, in _launch_heat\n    parsed_args.heat_user)\n', '  File "/usr/lib/python2.7/site-packages/tripleoclient/heat_launcher.py", line 306, in __init__\n    user)\n', '  File "/usr/lib/python2.7/site-packages/tripleoclient/heat_launcher.py", line 170, in __init__\n    uid = int(self.get_heat_uid())\n', '  File "/usr/lib/python2.7/site-packages/tripleoclient/heat_launcher.py", line 318, in get_heat_uid\n    return p.communicate()[0].rstrip().split(\':\')[2]\n', 'IndexError: list index out of range\n']
'DeployUndercloud' object has no attribute 'heat_launch'
Command '['sudo', 'openstack', 'undercloud', 'deploy', '--local-ip=192.168.24.1', '--templates=/usr/share/openstack-tripleo-heat-templates/', '--heat-native', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services-docker/ironic.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services-docker/ironic-inspector.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services-docker/mistral.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services-docker/zaqar.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/docker.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/config-download-environment.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/undercloud.yaml', '-e', '/tmp/undercloud_parameters.yaml', '--output-dir=/home/stack']' returned non-zero exit status 1
[stack at undercloud1 ~]$
```

This is a fresh install of CentOS 7. Prior commands ran were “sudo -E tripleo-repos -b queens current ceph” and “sudo yum install python-tripleorepos”.

Is a containerized install recommended as the documentation claims? Why does the command line say "Undercloud deploy is an experimental developer focused feature that does not yet replace 'openstack undercloud install’.”?
This makes me think that the command line tool is not on par with the documentation.

What can I do to fix this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20180620/24c46614/attachment.html>


More information about the Openstack mailing list