<div dir="ltr">Here's the more detailed log:<div><br></div><div><div>2018-04-12 14:25:24.769 21111 INFO heat.engine.service [req-3e106a9e-6b06-445e-abcf-44706c00d50a admin admin - - -] Creating stack undercloud-UndercloudServiceChain-elou4xokwrep-ServiceChain-e6umma7beuwd</div><div>2018-04-12 14:25:26.368 21111 INFO heat.engine.resource [req-3e106a9e-6b06-445e-abcf-44706c00d50a admin admin - - -] Validating TemplateResource "36"</div><div>2018-04-12 14:25:26.447 21111 INFO heat.engine.resource [req-3e106a9e-6b06-445e-abcf-44706c00d50a admin admin - - -] CREATE: ResourceChain "ServiceChain" Stack "undercloud-UndercloudServiceChain-elou4xokwrep" [3c27ccbf-8653-4519-ad95-79b469dde2e2]</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource Traceback (most recent call last):</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 918, in _action_recorder</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource     yield</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 1026, in _do_action</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource     yield self.action_handler_task(action, args=handler_args)</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/scheduler.py", line 329, in wrapper</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource     step = next(subtask)</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 971, in action_handler_task</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource     handler_data = handler(*args)</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resources/openstack/heat/resource_chain.py", line 110, in handle_create</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource     return self.create_with_template(self.child_template())</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resources/stack_resource.py", line 338, in create_with_template</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource     kwargs['template_id'])</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource     self.force_reraise()</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource     six.reraise(self.type_, self.value, self.tb)</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resources/stack_resource.py", line 333, in create_with_template</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource     **kwargs)</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/rpc/client.py", line 301, in _create_stack</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource     version='1.29')</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/rpc/client.py", line 88, in call</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource     return client.call(ctxt, method, **kwargs)</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 174, in call</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource     retry=self.retry)</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 131, in _send</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource     timeout=timeout, retry=retry)</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_fake.py", line 219, in send</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource     return self._send(target, ctxt, message, wait_for_reply, timeout)</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_fake.py", line 206, in _send</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource     raise failure</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource StackValidationFailed: Property error: resources[36].properties: Property DockerRabbitmqConfigImage not assigned</div><div>2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource</div><div>2018-04-12 14:25:26.460 21111 INFO eventlet.wsgi.server [req-87fd4006-5992-4ab3-b217-72748c671c1b admin admin - - -] 127.0.0.1 - - [12/Apr/2018 14:25:26] "GET /v1/admin/stacks/2340cfb8-064d-4e4d-8096-89be7a3b2757/events?marker=d5abce43-e93b-402f-aa34-7089f00c7811&nested_depth=6&sort_dir=asc HTTP/1.1" 302 849 0.070983</div><div>2018-04-12 14:25:26.474 21111 INFO heat.engine.stack [req-3e106a9e-6b06-445e-abcf-44706c00d50a admin admin - - -] Stack CREATE FAILED (undercloud-UndercloudServiceChain-elou4xokwrep): Resource CREATE failed: StackValidationFailed: resources.ServiceChain: Property error: ServiceChain.resources[36].properties: Property DockerRabbitmqConfigImage not assigned</div><div>2018-04-12 14:25:26.520 21111 INFO eventlet.wsgi.server [req-8207c6e0-a86c-4c17-8eed-6c396176b853 admin admin - - -] 127.0.0.1 - - [12/Apr/2018 14:25:26] "GET /v1/admin/stacks/undercloud/2340cfb8-064d-4e4d-8096-89be7a3b2757/events?marker=d5abce43-e93b-402f-aa34-7089f00c7811&nested_depth=6&sort_dir=asc HTTP/1.1" 200 11250 0.051634</div><div>2018-04-12 14:25:26.548 21111 INFO eventlet.wsgi.server [req-d98e7628-6f3c-45a9-945f-5efed6cdfb5f admin admin - - -] 127.0.0.1 - - [12/Apr/2018 14:25:26] "GET /v1/admin/stacks/2340cfb8-064d-4e4d-8096-89be7a3b2757 HTTP/1.1" 302 612 0.024857</div><div>2018-04-12 14:25:26.908 21111 INFO eventlet.wsgi.server [req-0d67916e-4d4e-4692-b7ed-2eff87a1b1b4 admin admin - - -] 127.0.0.1 - - [12/Apr/2018 14:25:26] "GET /v1/admin/stacks/undercloud/2340cfb8-064d-4e4d-8096-89be7a3b2757 HTTP/1.1" 200 26774 0.358471</div><div>2018-04-12 14:25:27.396 21111 INFO heat.engine.resource [req-3e106a9e-6b06-445e-abcf-44706c00d50a admin admin - - -] CREATE: TemplateResource "UndercloudServiceChain" [3c27ccbf-8653-4519-ad95-79b469dde2e2] Stack "undercloud" [2340cfb8-064d-4e4d-8096-89be7a3b2757]</div><div>2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource Traceback (most recent call last):</div><div>2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 918, in _action_recorder</div><div>2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource     yield</div><div>2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 1026, in _do_action</div><div>2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource     yield self.action_handler_task(action, args=handler_args)</div><div>2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/scheduler.py", line 346, in wrapper</div><div>2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource     step = next(subtask)</div><div>2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 977, in action_handler_task</div><div>2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource     done = check(handler_data)</div><div>2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resources/stack_resource.py", line 404, in check_create_complete</div><div>2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource     return self._check_status_complete(self.CREATE)</div><div>2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resources/stack_resource.py", line 454, in _check_status_complete</div><div>2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource     action=action)</div><div>2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource ResourceFailure: StackValidationFailed: resources.UndercloudServiceChain.resources.ServiceChain: Property error: ServiceChain.resources[36].properties: Property DockerRabbitmqConfigImage not assigned</div><div>2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource</div><div>2018-04-12 14:25:27.402 21111 INFO heat.engine.stack [req-3e106a9e-6b06-445e-abcf-44706c00d50a admin admin - - -] Stack CREATE FAILED (undercloud): Resource CREATE failed: StackValidationFailed: resources.UndercloudServiceChain.resources.ServiceChain: Property error: ServiceChain.resources[36].properties: Property DockerRabbitmqConfigImage not assigned</div><div>2018-04-12 14:25:28.931 21111 INFO eventlet.wsgi.server [req-3dc46209-6a23-478e-92a3-b3b75357bb28 admin admin - - -] 127.0.0.1 - - [12/Apr/2018 14:25:28] "GET /v1/admin/stacks/2340cfb8-064d-4e4d-8096-89be7a3b2757/events?marker=0a1d1832-e877-43c6-9b03-bede83ff0404&nested_depth=6&sort_dir=asc HTTP/1.1" 302 849 0.016178</div><div>2018-04-12 14:25:29.001 21111 INFO eventlet.wsgi.server [req-590a4e1d-71cf-401f-97b8-5f0cc9fcbd6d admin admin - - -] 127.0.0.1 - - [12/Apr/2018 14:25:29] "GET /v1/admin/stacks/undercloud/2340cfb8-064d-4e4d-8096-89be7a3b2757/events?marker=0a1d1832-e877-43c6-9b03-bede83ff0404&nested_depth=6&sort_dir=asc HTTP/1.1" 200 2344 0.067888</div><div>2018-04-12 14:25:29.031 21111 INFO eventlet.wsgi.server [req-1b44e39c-f35f-4dea-95bc-9aff2effa316 admin admin - - -] 127.0.0.1 - - [12/Apr/2018 14:25:29] "GET /v1/admin/stacks/2340cfb8-064d-4e4d-8096-89be7a3b2757 HTTP/1.1" 302 612 0.028547</div><div>2018-04-12 14:25:29.497 21111 INFO eventlet.wsgi.server [req-9cc37a1b-7aa9-4f55-834b-42cf941d4694 admin admin - - -] 127.0.0.1 - - [12/Apr/2018 14:25:29] "GET /v1/admin/stacks/undercloud/2340cfb8-064d-4e4d-8096-89be7a3b2757 HTTP/1.1" 200 26955 0.463922</div></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 12 April 2018 at 14:27, Adam Huffman <span dir="ltr"><<a href="mailto:adam.huffman.lists@gmail.com" target="_blank">adam.huffman.lists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks, a bit further now:<div><br></div><div><div>2018-04-12 13:25:23Z [undercloud.<wbr>UndercloudServiceChain]: CREATE_IN_PROGRESS  state changed</div><div>2018-04-12 13:25:24Z [undercloud.<wbr>UndercloudServiceChain]: CREATE_IN_PROGRESS  Stack CREATE started</div><div>2018-04-12 13:25:24Z [undercloud.<wbr>UndercloudServiceChain.<wbr>LoggingConfiguration]: CREATE_IN_PROGRESS  state changed</div><div>2018-04-12 13:25:24Z [undercloud.<wbr>UndercloudServiceChain.<wbr>ServiceChain]: CREATE_IN_PROGRESS  state changed</div><div>2018-04-12 13:25:26Z [undercloud.<wbr>UndercloudServiceChain.<wbr>ServiceChain]: CREATE_FAILED  StackValidationFailed: resources.ServiceChain: Property error: resources[36].properties: Property DockerRabbitmqConfigImage not assigned</div><div>2018-04-12 13:25:26Z [undercloud.<wbr>UndercloudServiceChain.<wbr>LoggingConfiguration]: CREATE_FAILED  CREATE aborted</div><div>2018-04-12 13:25:26Z [undercloud.<wbr>UndercloudServiceChain]: CREATE_FAILED  Resource CREATE failed: StackValidationFailed: resources.ServiceChain: Property error: ServiceChain.resources[36].<wbr>properties: Property DockerRabbitmqConfigImage not assigned</div><div>2018-04-12 13:25:27Z [undercloud.<wbr>UndercloudServiceChain]: CREATE_FAILED  StackValidationFailed: resources.<wbr>UndercloudServiceChain.<wbr>resources.ServiceChain: Property error: ServiceChain.resources[36].<wbr>properties: Property DockerRabbitmqConfigImage not assigned</div><div>2018-04-12 13:25:27Z [undercloud]: CREATE_FAILED  Resource CREATE failed: StackValidationFailed: resources.<wbr>UndercloudServiceChain.<wbr>resources.ServiceChain: Property error: ServiceChain.resources[36].<wbr>properties: Property DockerRabbitmqConfigImage not assigned</div><div>Exception: Stack create failed</div><div>['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/site-<wbr>packages/tripleoclient/v1/<wbr>undercloud_deploy.py", line 511, in take_action\n    parsed_args.timeout)\n', '  File "/usr/lib/python2.7/site-<wbr>packages/tripleoclient/v1/<wbr>undercloud_deploy.py", line 346, in _wait_for_heat_complete\n    raise Exception(\'Stack create failed\')\n', 'Exception: Stack create failed\n']</div><div>ERROR: Heat log files: /var/tmp/undercloud/<wbr>undercloud_deploy-KVv2ms</div></div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 12 April 2018 at 13:56, Thomas Herve <span dir="ltr"><<a href="mailto:therve@redhat.com" target="_blank">therve@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_1777983987448054633HOEnZb"><div class="m_1777983987448054633h5">On Thu, Apr 12, 2018 at 1:50 PM, Adam Huffman<br>
<<a href="mailto:adam.huffman.lists@gmail.com" target="_blank">adam.huffman.lists@gmail.com</a>> wrote:<br>
> I've been following the guide at:<br>
><br>
> <a href="http://tripleo.org/containers_deployment/undercloud.html" rel="noreferrer" target="_blank">http://tripleo.org/containers_<wbr>deployment/undercloud.html</a><br>
><br>
> to test a containerised deployment.<br>
><br>
> Here's what I have installed:<br>
><br>
> [stack@tripleo000 containers-2018-04-12]$ rpm -q python-tripleoclient<br>
> python2-openstackclient openstack-heat-agents docker openvswitch<br>
> python-tripleoclient-9.2.1-0.2<wbr>0180410161616.1c1af2a.el7.cent<wbr>os.noarch<br>
> python2-openstackclient-3.14.1<wbr>-0.20180402185834.a3caf7b.el7.<wbr>centos.noarch<br>
> openstack-heat-agents-1.5.4-0.<wbr>20180308153305.ecf43c7.el7.cen<wbr>tos.noarch<br>
> docker-1.13.1-53.git774336d.el<wbr>7.centos.x86_64<br>
> openvswitch-2.9.0-3.el7.x86_64<br>
><br>
> [stack@tripleo000 containers-2018-04-12]$ rpm -q python-tripleoclient<br>
> python2-openstackclient openstack-heat-agents docker openvswitch<br>
> python-tripleoclient-9.2.1-0.2<wbr>0180410161616.1c1af2a.el7.cent<wbr>os.noarch<br>
> python2-openstackclient-3.14.1<wbr>-0.20180402185834.a3caf7b.el7.<wbr>centos.noarch<br>
> openstack-heat-agents-1.5.4-0.<wbr>20180308153305.ecf43c7.el7.cen<wbr>tos.noarch<br>
> docker-1.13.1-53.git774336d.el<wbr>7.centos.x86_64<br>
> openvswitch-2.9.0-3.el7.x86_64<br>
><br>
> and here are the configured yum repos:<br>
><br>
> repo id<br>
> repo name<br>
> status<br>
> base/7/x86_64<br>
> CentOS-7 - Base<br>
> dell-system-update_dependent/7<wbr>/x86_64<br>
> dell-system-update_dependent<br>
> dell-system-update_independent<br>
> dell-system-update_independent<br>
> delorean-queens<br>
> delorean-openstack-kuryr-kuber<wbr>netes-c394b695dfbf823de626276a<wbr>61069089ccdb0aca<br>
> delorean-queens-testing<br>
> dlrn-queens-testing<br>
> extras/7/x86_64<br>
> CentOS-7 - Extras<br>
> rdo-qemu-ev/x86_64<br>
> RDO CentOS-7 - QEMU EV<br>
> tripleo-centos-ceph-luminous<br>
> tripleo-centos-ceph-luminous<br>
> updates/7/x86_64<br>
> CentOS-7 - Updates<br>
><br>
> Here's the attempted installation:<br>
><br>
> export THT_ROOT=/usr/share/openstack-<wbr>tripleo-heat-templates/<br>
> [stack@tripleo000 containers-2018-04-12]$ !40<br>
> sudo openstack undercloud deploy --templates=$THT_ROOT<br>
> --local-ip=192.168.24.1 --keep-running   -e<br>
> $THT_ROOT/environments/service<wbr>s-docker/ironic.yaml   -e<br>
> $THT_ROOT/environments/service<wbr>s-docker/mistral.yaml   -e<br>
> $THT_ROOT/environments/service<wbr>s-docker/zaqar.yaml   -e<br>
> $THT_ROOT/environments/docker.<wbr>yaml   -e<br>
> $THT_ROOT/environments/mongodb<wbr>-nojournal.yaml   -e<br>
> $HOME/src/containers-2018-04-1<wbr>2/custom.yaml<br>
><br>
> Undercloud deploy is an experimental developer focused feature that does not<br>
> yet replace 'openstack undercloud install'.<br>
> Configuring puppet modules symlinks ...<br>
> Exception: list index out of range<br>
> ['Traceback (most recent call last):\n', '  File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/tripleoclient/v1/underclou<wbr>d_deploy.py",<br>
> line 502, in take_action\n    orchestration_client =<br>
> self._launch_heat(parsed_args)<wbr>\n', '  File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/tripleoclient/v1/underclou<wbr>d_deploy.py",<br>
> line 187, in _launch_heat\n    parsed_args.heat_user)\n', '  File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/tripleoclient/heat_launche<wbr>r.py", line 306,<br>
> in __init__\n    user)\n', '  File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/tripleoclient/heat_launche<wbr>r.py", line 170,<br>
> in __init__\n    uid = int(self.get_heat_uid())\n', '  File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/tripleoclient/heat_launche<wbr>r.py", line 318,<br>
> in get_heat_uid\n    return p.communicate()[0].rstrip().sp<wbr>lit(\':\')[2]\n',<br>
> 'IndexError: list index out of range\n']<br>
> 'DeployUndercloud' object has no attribute 'heat_launch'<br>
<br>
</div></div>Hi,<br>
<br>
I think the guide is missing heat. You need to have it installed as<br>
well prior to the deploy, that's probably what's missing (the<br>
deployment is failing when doing getent passwd heat, it needs the heat<br>
user).<br>
<span class="m_1777983987448054633HOEnZb"><font color="#888888"><br>
--<br>
Thomas<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>