[rdo-dev] Heat problem with containerised undercloud

Adam Huffman adam.huffman.lists at gmail.com
Thu Apr 12 11:50:20 UTC 2018


I've been following the guide at:

http://tripleo.org/containers_deployment/undercloud.html

to test a containerised deployment.

Here's what I have installed:

[stack at tripleo000 containers-2018-04-12]$ rpm -q python-tripleoclient
python2-openstackclient openstack-heat-agents docker openvswitch
python-tripleoclient-9.2.1-0.20180410161616.1c1af2a.el7.centos.noarch
python2-openstackclient-3.14.1-0.20180402185834.a3caf7b.el7.centos.noarch
openstack-heat-agents-1.5.4-0.20180308153305.ecf43c7.el7.centos.noarch
docker-1.13.1-53.git774336d.el7.centos.x86_64
openvswitch-2.9.0-3.el7.x86_64

[stack at tripleo000 containers-2018-04-12]$ rpm -q python-tripleoclient
python2-openstackclient openstack-heat-agents docker openvswitch
python-tripleoclient-9.2.1-0.20180410161616.1c1af2a.el7.centos.noarch
python2-openstackclient-3.14.1-0.20180402185834.a3caf7b.el7.centos.noarch
openstack-heat-agents-1.5.4-0.20180308153305.ecf43c7.el7.centos.noarch
docker-1.13.1-53.git774336d.el7.centos.x86_64
openvswitch-2.9.0-3.el7.x86_64

and here are the configured yum repos:

repo id
  repo name
                                           status
base/7/x86_64
  CentOS-7 - Base
dell-system-update_dependent/7/x86_64
 dell-system-update_dependent
dell-system-update_independent
dell-system-update_independent
delorean-queens

delorean-openstack-kuryr-kubernetes-c394b695dfbf823de626276a61069089ccdb0aca
delorean-queens-testing
  dlrn-queens-testing
extras/7/x86_64
  CentOS-7 - Extras
rdo-qemu-ev/x86_64
 RDO CentOS-7 - QEMU EV
tripleo-centos-ceph-luminous
 tripleo-centos-ceph-luminous
updates/7/x86_64
 CentOS-7 - Updates

Here's the attempted installation:

export THT_ROOT=/usr/share/openstack-tripleo-heat-templates/
[stack at tripleo000 containers-2018-04-12]$ !40
sudo openstack undercloud deploy --templates=$THT_ROOT
--local-ip=192.168.24.1 --keep-running   -e
$THT_ROOT/environments/services-docker/ironic.yaml   -e
$THT_ROOT/environments/services-docker/mistral.yaml   -e
$THT_ROOT/environments/services-docker/zaqar.yaml   -e
$THT_ROOT/environments/docker.yaml   -e
$THT_ROOT/environments/mongodb-nojournal.yaml   -e
$HOME/src/containers-2018-04-12/custom.yaml

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'


Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20180412/59df2e50/attachment.html>


More information about the dev mailing list