<div dir="ltr">The next failure appears to be because os-net-config is looking for the non-existent eth1 interface:<div><br><div>TASK [Output for NetworkDeployment]<br></div><div><div>fatal: [192.168.24.1]: FAILED! => {</div><div> "failed_when_result": true,</div><div> "msg": [</div><div> {</div><div> "stderr": [</div><div> "[2018-04-12 17:27:17,906] (heat-config) [DEBUG] Running /usr/libexec/heat-config/hooks/script < /var/lib/heat-config/deployed/676fe26a-bbc0-4ba2-9733-42afaf90f3c9.json",</div><div> "[2018-04-12 17:27:18,443] (heat-config) [INFO] {\"deploy_stdout\": \"\", \"deploy_stderr\": \"+ '[' -n '{\\\"network_config\\\": [{\\\"addresses\\\": [{\\\"ip_netmask\\\": \\\"<a href="http://192.168.24.1/24\\\">192.168.24.1/24\\\</a>"}], \\\"dns_servers\\\": [], \\\"members\\\": [{\\\"name\\\": \\\"interface_name\\\", \\\"primary\\\": true, \\\"type\\\": \\\"interface\\\"}], \\\"name\\\": \\\"br-ctlplane\\\", \\\"type\\\": \\\"ovs_bridge\\\", \\\"use_dhcp\\\": false}]}' ']'\\n+ '[' -z True ']'\\n+ mkdir -p /etc/os-net-config\\n+ echo '{\\\"network_config\\\": [{\\\"addresses\\\": [{\\\"ip_netmask\\\": \\\"<a href="http://192.168.24.1/24\\\">192.168.24.1/24\\\</a>"}], \\\"dns_servers\\\": [], \\\"members\\\": [{\\\"name\\\": \\\"interface_name\\\", \\\"primary\\\": true, \\\"type\\\": \\\"interface\\\"}], \\\"name\\\": \\\"br-ctlplane\\\", \\\"type\\\": \\\"ovs_bridge\\\", \\\"use_dhcp\\\": false}]}'\\n++ type -t network_config_hook\\n+ '[' '' = function ']'\\n+ sed -i s/bridge_name/br-ex/ /etc/os-net-config/config.json\\n+ sed -i s/interface_name/eth1/ /etc/os-net-config/config.json\\n+ set +e\\n+ os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes\\n[2018/04/12 05:27:18 PM] [INFO] Using config file at: /etc/os-net-config/config.json\\n[2018/04/12 05:27:18 PM] [INFO] Ifcfg net config provider created.\\n[2018/04/12 05:27:18 PM] [INFO] Not using any mapping file.\\n[2018/04/12 05:27:18 PM] [INFO] Finding active nics\\n[2018/04/12 05:27:18 PM] [INFO] lo is not an active nic\\n[2018/04/12 05:27:18 PM] [INFO] em1 is an embedded active nic\\n[2018/04/12 05:27:18 PM] [INFO] docker0 is not an active nic\\n[2018/04/12 05:27:18 PM] [INFO] No DPDK mapping available in path (/var/lib/os-net-config/dpdk_mapping.yaml)\\n[2018/04/12 05:27:18 PM] [INFO] Active nics are ['em1']\\n[2018/04/12 05:27:18 PM] [INFO] nic1 mapped to: em1\\n[2018/04/12 05:27:18 PM] [INFO] adding bridge: br-ctlplane\\n[2018/04/12 05:27:18 PM] [ERROR] Unable to read mac address: eth1\\nTraceback (most recent call last):\\n File \\\"/bin/os-net-config\\\", line 10, in <module>\\n sys.exit(main())\\n File \\\"/usr/lib/python2.7/site-packages/os_net_config/cli.py\\\", line 268, in main\\n provider.add_object(obj)\\n File \\\"/usr/lib/python2.7/site-packages/os_net_config/__init__.py\\\", line 62, in add_object\\n self.add_bridge(obj)\\n File \\\"/usr/lib/python2.7/site-packages/os_net_config/impl_ifcfg.py\\\", line 506, in add_bridge\\n data = self._add_common(bridge)\\n File \\\"/usr/lib/python2.7/site-packages/os_net_config/impl_ifcfg.py\\\", line 215, in _add_common\\n mac = utils.interface_mac(base_opt.primary_interface_name)\\n File \\\"/usr/lib/python2.7/site-packages/os_net_config/utils.py\\\", line 121, in interface_mac\\n with open('/sys/class/net/%s/address' % name, 'r') as f:\\nIOError: [Errno 2] No such file or directory: '/sys/class/net/eth1/address'\\n+ RETVAL=1\\n+ set -e\\n+ [[ 1 == 2 ]]\\n+ [[ 1 != 0 ]]\\n+ echo 'ERROR: os-net-config configuration failed.'\\nERROR: os-net-config configuration failed.\\n+ exit 1\\n\", \"deploy_status_code\": 1}",</div></div><div><div> "[2018-04-12 17:27:18,443] (heat-config) [DEBUG] [2018-04-12 17:27:17,929] (heat-config) [INFO] disable_configure_safe_defaults=True",</div><div> "[2018-04-12 17:27:17,929] (heat-config) [INFO] interface_name=eth1",</div><div> "[2018-04-12 17:27:17,929] (heat-config) [INFO] bridge_name=br-ex",</div><div> "[2018-04-12 17:27:17,929] (heat-config) [INFO] deploy_server_id=5afc73d4-5aec-42a9-a1ec-1035da9e164b",</div><div> "[2018-04-12 17:27:17,929] (heat-config) [INFO] deploy_action=CREATE",</div><div> "[2018-04-12 17:27:17,930] (heat-config) [INFO] deploy_stack_id=undercloud-Undercloud-jqksadcll2tk-0-wj6kdjy567yh-NetworkDeployment-xyzrohqru57l-TripleOSoftwareDeployment-c47m7mo5bwvh/bba28770-0e27-46dd-a311-0d53309ee1e6",</div><div> "[2018-04-12 17:27:17,930] (heat-config) [INFO] deploy_resource_name=TripleOSoftwareDeployment",</div><div> "[2018-04-12 17:27:17,930] (heat-config) [INFO] deploy_signal_transport=NO_SIGNAL",</div><div> "[2018-04-12 17:27:17,930] (heat-config) [DEBUG] Running /var/lib/heat-config/heat-config-script/676fe26a-bbc0-4ba2-9733-42afaf90f3c9",</div><div> "[2018-04-12 17:27:18,439] (heat-config) [INFO] ",</div><div> "[2018-04-12 17:27:18,439] (heat-config) [DEBUG] + '[' -n '{\"network_config\": [{\"addresses\": [{\"ip_netmask\": \"<a href="http://192.168.24.1/24\">192.168.24.1/24\</a>"}], \"dns_servers\": [], \"members\": [{\"name\": \"interface_name\", \"primary\": true, \"type\": \"interface\"}], \"name\": \"br-ctlplane\", \"type\": \"ovs_bridge\", \"use_dhcp\": false}]}' ']'",</div><div> "+ '[' -z True ']'",</div><div> "+ mkdir -p /etc/os-net-config",</div><div> "+ echo '{\"network_config\": [{\"addresses\": [{\"ip_netmask\": \"<a href="http://192.168.24.1/24\">192.168.24.1/24\</a>"}], \"dns_servers\": [], \"members\": [{\"name\": \"interface_name\", \"primary\": true, \"type\": \"interface\"}], \"name\": \"br-ctlplane\", \"type\": \"ovs_bridge\", \"use_dhcp\": false}]}'",</div><div> "++ type -t network_config_hook",</div><div> "+ '[' '' = function ']'",</div><div> "+ sed -i s/bridge_name/br-ex/ /etc/os-net-config/config.json",</div><div> "+ sed -i s/interface_name/eth1/ /etc/os-net-config/config.json",</div><div> "+ set +e",</div><div> "+ os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes",</div><div> "[2018/04/12 05:27:18 PM] [INFO] Using config file at: /etc/os-net-config/config.json",</div><div> "[2018/04/12 05:27:18 PM] [INFO] Ifcfg net config provider created.",</div><div> "[2018/04/12 05:27:18 PM] [INFO] Not using any mapping file.",</div><div> "[2018/04/12 05:27:18 PM] [INFO] Finding active nics",</div><div> "[2018/04/12 05:27:18 PM] [INFO] lo is not an active nic",</div><div> "[2018/04/12 05:27:18 PM] [INFO] em1 is an embedded active nic",</div><div> "[2018/04/12 05:27:18 PM] [INFO] docker0 is not an active nic",</div><div> "[2018/04/12 05:27:18 PM] [INFO] No DPDK mapping available in path (/var/lib/os-net-config/dpdk_mapping.yaml)",</div><div> "[2018/04/12 05:27:18 PM] [INFO] Active nics are ['em1']",</div><div> "[2018/04/12 05:27:18 PM] [INFO] nic1 mapped to: em1",</div><div> "[2018/04/12 05:27:18 PM] [INFO] adding bridge: br-ctlplane",</div><div> "[2018/04/12 05:27:18 PM] [ERROR] Unable to read mac address: eth1",</div><div> "Traceback (most recent call last):",</div><div> " File \"/bin/os-net-config\", line 10, in <module>",</div><div> " sys.exit(main())",</div><div> " File \"/usr/lib/python2.7/site-packages/os_net_config/cli.py\", line 268, in main",</div><div> " provider.add_object(obj)",</div><div> " File \"/usr/lib/python2.7/site-packages/os_net_config/__init__.py\", line 62, in add_object",</div><div> " self.add_bridge(obj)",</div><div> " File \"/usr/lib/python2.7/site-packages/os_net_config/impl_ifcfg.py\", line 506, in add_bridge",</div><div> " data = self._add_common(bridge)",</div><div> " File \"/usr/lib/python2.7/site-packages/os_net_config/impl_ifcfg.py\", line 215, in _add_common",</div><div> " mac = utils.interface_mac(base_opt.primary_interface_name)",</div><div> " File \"/usr/lib/python2.7/site-packages/os_net_config/utils.py\", line 121, in interface_mac",</div><div> " with open('/sys/class/net/%s/address' % name, 'r') as f:",</div><div> "IOError: [Errno 2] No such file or directory: '/sys/class/net/eth1/address'",</div><div> "+ RETVAL=1",</div><div> "+ set -e",</div><div> "+ [[ 1 == 2 ]]",</div><div> "+ [[ 1 != 0 ]]",</div><div> "+ echo 'ERROR: os-net-config configuration failed.'",</div><div> "ERROR: os-net-config configuration failed.",</div><div> "+ exit 1",</div><div> "",</div><div> "[2018-04-12 17:27:18,440] (heat-config) [ERROR] Error running /var/lib/heat-config/heat-config-script/676fe26a-bbc0-4ba2-9733-42afaf90f3c9. [1]",</div></div><div><br></div><div>It should be using em1:1, which I've created for this purpose.</div><div><br></div><div>Is there a way of setting that value?</div><div><br></div><div><br></div></div><div>For the new method, I'll need to use the latest master, prior to the Rocky release?</div><div><br></div><div>Best Wishes,</div><div>Adam</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 12 April 2018 at 17:10, 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">Hi Alex,<div><br></div><div>Thanks, that step was indeed missing from the instructions, and it gets a lot further.</div><div><br></div><div>I'll take a look at the updated documentation too.</div><div><br></div><div>Best Wishes,</div><div>Adam</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 12 April 2018 at 17:02, Alex Schultz <span dir="ltr"><<a href="mailto:aschultz@redhat.com" target="_blank">aschultz@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So it should be noted that we're actively working on the containerized<br>
undercloud deployment process for Rocky and you might want to try the<br>
new way we will be going forward with. You can see the updated<br>
documentation <a href="https://review.openstack.org/#/c/558893/" rel="noreferrer" target="_blank">https://review.openstack.org/#<wbr>/c/558893/</a>. It's much<br>
simpler than the existing docs.<br>
<br>
That being said I think you're missing a step around the the container<br>
prep part as "Property DockerRabbitmqConfigImage not assigned"<br>
usually means the docker information is not being passed during the<br>
deployment. This information is generated with the:<br>
<br>
openstack overcloud container image prepare \<br>
--output-env-file $HOME/docker_registry.yaml<br>
<br>
<br>
You then need to add -e $HOME/docker_registry.yaml to your deploy command.<br>
<br>
Thanks,<br>
-Alex<br>
<div><div class="m_6628789121642668477h5"><br>
On Thu, Apr 12, 2018 at 7:29 AM, Adam Huffman<br>
<<a href="mailto:adam.huffman.lists@gmail.com" target="_blank">adam.huffman.lists@gmail.com</a>> wrote:<br>
> Here's the more detailed log:<br>
><br>
> 2018-04-12 14:25:24.769 21111 INFO heat.engine.service<br>
> [req-3e106a9e-6b06-445e-abcf-4<wbr>4706c00d50a admin admin - - -] Creating stack<br>
> undercloud-UndercloudServiceCh<wbr>ain-elou4xokwrep-ServiceChain-<wbr>e6umma7beuwd<br>
> 2018-04-12 14:25:26.368 21111 INFO heat.engine.resource<br>
> [req-3e106a9e-6b06-445e-abcf-4<wbr>4706c00d50a admin admin - - -] Validating<br>
> TemplateResource "36"<br>
> 2018-04-12 14:25:26.447 21111 INFO heat.engine.resource<br>
> [req-3e106a9e-6b06-445e-abcf-4<wbr>4706c00d50a admin admin - - -] CREATE:<br>
> ResourceChain "ServiceChain" Stack<br>
> "undercloud-UndercloudServiceC<wbr>hain-elou4xokwrep"<br>
> [3c27ccbf-8653-4519-ad95-79b46<wbr>9dde2e2]<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource Traceback (most<br>
> recent call last):<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/heat/engine/resource.py", line 918, in<br>
> _action_recorder<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource yield<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/heat/engine/resource.py", line 1026, in<br>
> _do_action<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource yield<br>
> self.action_handler_task(actio<wbr>n, args=handler_args)<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/heat/engine/scheduler.py", line 329, in<br>
> wrapper<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource step =<br>
> next(subtask)<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/heat/engine/resource.py", line 971, in<br>
> action_handler_task<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource handler_data =<br>
> handler(*args)<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/heat/engine/resources/<wbr>openstack/heat/resource_chain.<wbr>py",<br>
> line 110, in handle_create<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource return<br>
> self.create_with_template(self<wbr>.child_template())<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/heat/engine/resources/<wbr>stack_resource.py",<br>
> line 338, in create_with_template<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource<br>
> kwargs['template_id'])<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/oslo_utils/excutils.py", line 220, in<br>
> __exit__<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource<br>
> self.force_reraise()<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/oslo_utils/excutils.py", line 196, in<br>
> force_reraise<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource<br>
> six.reraise(self.type_, self.value, self.tb)<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/heat/engine/resources/<wbr>stack_resource.py",<br>
> line 333, in create_with_template<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource **kwargs)<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/heat/rpc/client.py", line 301, in<br>
> _create_stack<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource version='1.29')<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/heat/rpc/client.py", line 88, in call<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource return<br>
> client.call(ctxt, method, **kwargs)<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/oslo_messaging/rpc/client.<wbr>py", line 174,<br>
> in call<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource<br>
> retry=self.retry)<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/oslo_messaging/transport.<wbr>py", line 131, in<br>
> _send<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource<br>
> timeout=timeout, retry=retry)<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/oslo_messaging/_drivers/<wbr>impl_fake.py",<br>
> line 219, in send<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource return<br>
> self._send(target, ctxt, message, wait_for_reply, timeout)<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/oslo_messaging/_drivers/<wbr>impl_fake.py",<br>
> line 206, in _send<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource raise failure<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource<br>
> StackValidationFailed: Property error: resources[36].properties: Property<br>
> DockerRabbitmqConfigImage not assigned<br>
> 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource<br>
> 2018-04-12 14:25:26.460 21111 INFO eventlet.wsgi.server<br>
> [req-87fd4006-5992-4ab3-b217-7<wbr>2748c671c1b admin admin - - -] 127.0.0.1 - -<br>
> [12/Apr/2018 14:25:26] "GET<br>
> /v1/admin/stacks/2340cfb8-064d<wbr>-4e4d-8096-89be7a3b2757/events<wbr>?marker=d5abce43-e93b-402f-<wbr>aa34-7089f00c7811&nested_depth<wbr>=6&sort_dir=asc<br>
> HTTP/1.1" 302 849 0.070983<br>
> 2018-04-12 14:25:26.474 21111 INFO heat.engine.stack<br>
> [req-3e106a9e-6b06-445e-abcf-4<wbr>4706c00d50a admin admin - - -] Stack CREATE<br>
> FAILED (undercloud-UndercloudServiceC<wbr>hain-elou4xokwrep): Resource CREATE<br>
> failed: StackValidationFailed: resources.ServiceChain: Property error:<br>
> ServiceChain.resources[36].pro<wbr>perties: Property DockerRabbitmqConfigImage<br>
> not assigned<br>
> 2018-04-12 14:25:26.520 21111 INFO eventlet.wsgi.server<br>
> [req-8207c6e0-a86c-4c17-8eed-6<wbr>c396176b853 admin admin - - -] 127.0.0.1 - -<br>
> [12/Apr/2018 14:25:26] "GET<br>
> /v1/admin/stacks/undercloud/23<wbr>40cfb8-064d-4e4d-8096-89be7a3b<wbr>2757/events?marker=d5abce43-<wbr>e93b-402f-aa34-7089f00c7811&<wbr>nested_depth=6&sort_dir=asc<br>
> HTTP/1.1" 200 11250 0.051634<br>
> 2018-04-12 14:25:26.548 21111 INFO eventlet.wsgi.server<br>
> [req-d98e7628-6f3c-45a9-945f-5<wbr>efed6cdfb5f admin admin - - -] 127.0.0.1 - -<br>
> [12/Apr/2018 14:25:26] "GET<br>
> /v1/admin/stacks/2340cfb8-064d<wbr>-4e4d-8096-89be7a3b2757 HTTP/1.1" 302 612<br>
> 0.024857<br>
> 2018-04-12 14:25:26.908 21111 INFO eventlet.wsgi.server<br>
> [req-0d67916e-4d4e-4692-b7ed-2<wbr>eff87a1b1b4 admin admin - - -] 127.0.0.1 - -<br>
> [12/Apr/2018 14:25:26] "GET<br>
> /v1/admin/stacks/undercloud/23<wbr>40cfb8-064d-4e4d-8096-89be7a3b<wbr>2757 HTTP/1.1"<br>
> 200 26774 0.358471<br>
> 2018-04-12 14:25:27.396 21111 INFO heat.engine.resource<br>
> [req-3e106a9e-6b06-445e-abcf-4<wbr>4706c00d50a admin admin - - -] CREATE:<br>
> TemplateResource "UndercloudServiceChain"<br>
> [3c27ccbf-8653-4519-ad95-79b46<wbr>9dde2e2] Stack "undercloud"<br>
> [2340cfb8-064d-4e4d-8096-89be7<wbr>a3b2757]<br>
> 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource Traceback (most<br>
> recent call last):<br>
> 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/heat/engine/resource.py", line 918, in<br>
> _action_recorder<br>
> 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource yield<br>
> 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/heat/engine/resource.py", line 1026, in<br>
> _do_action<br>
> 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource yield<br>
> self.action_handler_task(actio<wbr>n, args=handler_args)<br>
> 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/heat/engine/scheduler.py", line 346, in<br>
> wrapper<br>
> 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource step =<br>
> next(subtask)<br>
> 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/heat/engine/resource.py", line 977, in<br>
> action_handler_task<br>
> 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource done =<br>
> check(handler_data)<br>
> 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/heat/engine/resources/<wbr>stack_resource.py",<br>
> line 404, in check_create_complete<br>
> 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource return<br>
> self._check_status_complete(se<wbr>lf.CREATE)<br>
> 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource File<br>
> "/usr/lib/python2.7/site-packa<wbr>ges/heat/engine/resources/<wbr>stack_resource.py",<br>
> line 454, in _check_status_complete<br>
> 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource action=action)<br>
> 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource ResourceFailure:<br>
> StackValidationFailed:<br>
> resources.UndercloudServiceCha<wbr>in.resources.ServiceChain: Property error:<br>
> ServiceChain.resources[36].pro<wbr>perties: Property DockerRabbitmqConfigImage<br>
> not assigned<br>
> 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource<br>
> 2018-04-12 14:25:27.402 21111 INFO heat.engine.stack<br>
> [req-3e106a9e-6b06-445e-abcf-4<wbr>4706c00d50a admin admin - - -] Stack CREATE<br>
> FAILED (undercloud): Resource CREATE failed: StackValidationFailed:<br>
> resources.UndercloudServiceCha<wbr>in.resources.ServiceChain: Property error:<br>
> ServiceChain.resources[36].pro<wbr>perties: Property DockerRabbitmqConfigImage<br>
> not assigned<br>
> 2018-04-12 14:25:28.931 21111 INFO eventlet.wsgi.server<br>
> [req-3dc46209-6a23-478e-92a3-b<wbr>3b75357bb28 admin admin - - -] 127.0.0.1 - -<br>
> [12/Apr/2018 14:25:28] "GET<br>
> /v1/admin/stacks/2340cfb8-064d<wbr>-4e4d-8096-89be7a3b2757/events<wbr>?marker=0a1d1832-e877-43c6-<wbr>9b03-bede83ff0404&nested_depth<wbr>=6&sort_dir=asc<br>
> HTTP/1.1" 302 849 0.016178<br>
> 2018-04-12 14:25:29.001 21111 INFO eventlet.wsgi.server<br>
> [req-590a4e1d-71cf-401f-97b8-5<wbr>f0cc9fcbd6d admin admin - - -] 127.0.0.1 - -<br>
> [12/Apr/2018 14:25:29] "GET<br>
> /v1/admin/stacks/undercloud/23<wbr>40cfb8-064d-4e4d-8096-89be7a3b<wbr>2757/events?marker=0a1d1832-<wbr>e877-43c6-9b03-bede83ff0404&<wbr>nested_depth=6&sort_dir=asc<br>
> HTTP/1.1" 200 2344 0.067888<br>
> 2018-04-12 14:25:29.031 21111 INFO eventlet.wsgi.server<br>
> [req-1b44e39c-f35f-4dea-95bc-9<wbr>aff2effa316 admin admin - - -] 127.0.0.1 - -<br>
> [12/Apr/2018 14:25:29] "GET<br>
> /v1/admin/stacks/2340cfb8-064d<wbr>-4e4d-8096-89be7a3b2757 HTTP/1.1" 302 612<br>
> 0.028547<br>
> 2018-04-12 14:25:29.497 21111 INFO eventlet.wsgi.server<br>
> [req-9cc37a1b-7aa9-4f55-834b-4<wbr>2cf941d4694 admin admin - - -] 127.0.0.1 - -<br>
> [12/Apr/2018 14:25:29] "GET<br>
> /v1/admin/stacks/undercloud/23<wbr>40cfb8-064d-4e4d-8096-89be7a3b<wbr>2757 HTTP/1.1"<br>
> 200 26955 0.463922<br>
><br>
><br>
><br>
> On 12 April 2018 at 14:27, Adam Huffman <<a href="mailto:adam.huffman.lists@gmail.com" target="_blank">adam.huffman.lists@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Thanks, a bit further now:<br>
>><br>
>> 2018-04-12 13:25:23Z [undercloud.UndercloudServiceC<wbr>hain]:<br>
>> CREATE_IN_PROGRESS state changed<br>
>> 2018-04-12 13:25:24Z [undercloud.UndercloudServiceC<wbr>hain]:<br>
>> CREATE_IN_PROGRESS Stack CREATE started<br>
>> 2018-04-12 13:25:24Z<br>
>> [undercloud.UndercloudServiceC<wbr>hain.LoggingConfiguration]: CREATE_IN_PROGRESS<br>
>> state changed<br>
>> 2018-04-12 13:25:24Z [undercloud.UndercloudServiceC<wbr>hain.ServiceChain]:<br>
>> CREATE_IN_PROGRESS state changed<br>
>> 2018-04-12 13:25:26Z [undercloud.UndercloudServiceC<wbr>hain.ServiceChain]:<br>
>> CREATE_FAILED StackValidationFailed: resources.ServiceChain: Property<br>
>> error: resources[36].properties: Property DockerRabbitmqConfigImage not<br>
>> assigned<br>
>> 2018-04-12 13:25:26Z<br>
>> [undercloud.UndercloudServiceC<wbr>hain.LoggingConfiguration]: CREATE_FAILED<br>
>> CREATE aborted<br>
>> 2018-04-12 13:25:26Z [undercloud.UndercloudServiceC<wbr>hain]: CREATE_FAILED<br>
>> Resource CREATE failed: StackValidationFailed: resources.ServiceChain:<br>
>> Property error: ServiceChain.resources[36].pro<wbr>perties: Property<br>
>> DockerRabbitmqConfigImage not assigned<br>
>> 2018-04-12 13:25:27Z [undercloud.UndercloudServiceC<wbr>hain]: CREATE_FAILED<br>
>> StackValidationFailed:<br>
>> resources.UndercloudServiceCha<wbr>in.resources.ServiceChain: Property error:<br>
>> ServiceChain.resources[36].pro<wbr>perties: Property DockerRabbitmqConfigImage<br>
>> not assigned<br>
>> 2018-04-12 13:25:27Z [undercloud]: CREATE_FAILED Resource CREATE failed:<br>
>> StackValidationFailed:<br>
>> resources.UndercloudServiceCha<wbr>in.resources.ServiceChain: Property error:<br>
>> ServiceChain.resources[36].pro<wbr>perties: Property DockerRabbitmqConfigImage<br>
>> not assigned<br>
>> Exception: Stack create failed<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 511, in take_action\n parsed_args.timeout)\n', ' File<br>
>> "/usr/lib/python2.7/site-packa<wbr>ges/tripleoclient/v1/underclou<wbr>d_deploy.py",<br>
>> line 346, in _wait_for_heat_complete\n raise Exception(\'Stack create<br>
>> failed\')\n', 'Exception: Stack create failed\n']<br>
>> ERROR: Heat log files: /var/tmp/undercloud/undercloud<wbr>_deploy-KVv2ms<br>
>><br>
>><br>
>><br>
>> On 12 April 2018 at 13:56, Thomas Herve <<a href="mailto:therve@redhat.com" target="_blank">therve@redhat.com</a>> wrote:<br>
>>><br>
>>> 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>
>>> ><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>
>>> ><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>
>>> ><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<br>
>>> > 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>
>>> ><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>
>>> ><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<br>
>>> > 306,<br>
>>> > in __init__\n user)\n', ' File<br>
>>> > "/usr/lib/python2.7/site-packa<wbr>ges/tripleoclient/heat_launche<wbr>r.py", line<br>
>>> > 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<br>
>>> > 318,<br>
>>> > in get_heat_uid\n return<br>
>>> > 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>
>>> 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>
>>><br>
>>> --<br>
>>> Thomas<br>
>><br>
>><br>
><br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> dev mailing list<br>
> <a href="mailto:dev@lists.rdoproject.org" target="_blank">dev@lists.rdoproject.org</a><br>
> <a href="http://lists.rdoproject.org/mailman/listinfo/dev" rel="noreferrer" target="_blank">http://lists.rdoproject.org/ma<wbr>ilman/listinfo/dev</a><br>
><br>
> To unsubscribe: <a href="mailto:dev-unsubscribe@lists.rdoproject.org" target="_blank">dev-unsubscribe@lists.rdoproje<wbr>ct.org</a><br>
><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>