<div dir="ltr">HI Alex,<div><br></div><div>I finally found the parameter for this, which is NeutronPublicInterface.</div><div><br></div><div>However, it looks like os-net-config can't cope with alias interfaces (which are all I have on this test node).</div><div><br></div><div>I did try with master, and there was a similar error with a config image value missing.</div><div>Is it worthwhile reporting that?</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 18:30, 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"><div class="HOEnZb"><div class="h5">On Thu, Apr 12, 2018 at 10:32 AM, Adam Huffman<br>
<<a href="mailto:adam.huffman.lists@gmail.com">adam.huffman.lists@gmail.com</a>> wrote:<br>
> The next failure appears to be because os-net-config is looking for the<br>
> non-existent eth1 interface:<br>
><br>
> TASK [Output for NetworkDeployment]<br>
> fatal: [192.168.24.1]: FAILED! => {<br>
> "failed_when_result": true,<br>
> "msg": [<br>
> {<br>
> "stderr": [<br>
> "[2018-04-12 17:27:17,906] (heat-config) [DEBUG] Running<br>
> /usr/libexec/heat-config/<wbr>hooks/script <<br>
> /var/lib/heat-config/deployed/<wbr>676fe26a-bbc0-4ba2-9733-<wbr>42afaf90f3c9.json",<br>
> "[2018-04-12 17:27:18,443] (heat-config) [INFO]<br>
> {\"deploy_stdout\": \"\", \"deploy_stderr\": \"+ '[' -n<br>
> '{\\\"network_config\\\": [{\\\"addresses\\\": [{\\\"ip_netmask\\\":<br>
> \\\"<a href="http://192.168.24.1/24\\\" rel="noreferrer" target="_blank">192.168.24.1/24\\\</a>"}], \\\"dns_servers\\\": [], \\\"members\\\":<br>
> [{\\\"name\\\": \\\"interface_name\\\", \\\"primary\\\": true, \\\"type\\\":<br>
> \\\"interface\\\"}], \\\"name\\\": \\\"br-ctlplane\\\", \\\"type\\\":<br>
> \\\"ovs_bridge\\\", \\\"use_dhcp\\\": false}]}' ']'\\n+ '[' -z True ']'\\n+<br>
> mkdir -p /etc/os-net-config\\n+ echo '{\\\"network_config\\\":<br>
> [{\\\"addresses\\\": [{\\\"ip_netmask\\\": \\\"<a href="http://192.168.24.1/24\\\" rel="noreferrer" target="_blank">192.168.24.1/24\\\</a>"}],<br>
> \\\"dns_servers\\\": [], \\\"members\\\": [{\\\"name\\\":<br>
> \\\"interface_name\\\", \\\"primary\\\": true, \\\"type\\\":<br>
> \\\"interface\\\"}], \\\"name\\\": \\\"br-ctlplane\\\", \\\"type\\\":<br>
> \\\"ovs_bridge\\\", \\\"use_dhcp\\\": false}]}'\\n++ type -t<br>
> network_config_hook\\n+ '[' '' = function ']'\\n+ sed -i<br>
> s/bridge_name/br-ex/ /etc/os-net-config/config.<wbr>json\\n+ sed -i<br>
> s/interface_name/eth1/ /etc/os-net-config/config.<wbr>json\\n+ set +e\\n+<br>
> os-net-config -c /etc/os-net-config/config.json -v<br>
> --detailed-exit-codes\\n[2018/<wbr>04/12 05:27:18 PM] [INFO] Using config file<br>
> at: /etc/os-net-config/config.<wbr>json\\n[2018/04/12 05:27:18 PM] [INFO] Ifcfg<br>
> net config provider created.\\n[2018/04/12 05:27:18 PM] [INFO] Not using any<br>
> mapping file.\\n[2018/04/12 05:27:18 PM] [INFO] Finding active<br>
> nics\\n[2018/04/12 05:27:18 PM] [INFO] lo is not an active nic\\n[2018/04/12<br>
> 05:27:18 PM] [INFO] em1 is an embedded active nic\\n[2018/04/12 05:27:18 PM]<br>
> [INFO] docker0 is not an active nic\\n[2018/04/12 05:27:18 PM] [INFO] No<br>
> DPDK mapping available in path<br>
> (/var/lib/os-net-config/dpdk_<wbr>mapping.yaml)\\n[2018/04/12 05:27:18 PM] [INFO]<br>
> Active nics are ['em1']\\n[2018/04/12 05:27:18 PM] [INFO] nic1 mapped to:<br>
> em1\\n[2018/04/12 05:27:18 PM] [INFO] adding bridge:<br>
> br-ctlplane\\n[2018/04/12 05:27:18 PM] [ERROR] Unable to read mac address:<br>
> eth1\\nTraceback (most recent call last):\\n File<br>
> \\\"/bin/os-net-config\\\", line 10, in <module>\\n sys.exit(main())\\n<br>
> File \\\"/usr/lib/python2.7/site-<wbr>packages/os_net_config/cli.py\<wbr>\\", line<br>
> 268, in main\\n provider.add_object(obj)\\n File<br>
> \\\"/usr/lib/python2.7/site-<wbr>packages/os_net_config/__init_<wbr>_.py\\\", line 62,<br>
> in add_object\\n self.add_bridge(obj)\\n File<br>
> \\\"/usr/lib/python2.7/site-<wbr>packages/os_net_config/impl_<wbr>ifcfg.py\\\", line<br>
> 506, in add_bridge\\n data = self._add_common(bridge)\\n File<br>
> \\\"/usr/lib/python2.7/site-<wbr>packages/os_net_config/impl_<wbr>ifcfg.py\\\", line<br>
> 215, in _add_common\\n mac =<br>
> utils.interface_mac(base_opt.<wbr>primary_interface_name)\\n File<br>
> \\\"/usr/lib/python2.7/site-<wbr>packages/os_net_config/utils.<wbr>py\\\", line 121,<br>
> in interface_mac\\n with open('/sys/class/net/%s/<wbr>address' % name, 'r') as<br>
> f:\\nIOError: [Errno 2] No such file or directory:<br>
> '/sys/class/net/eth1/address'\<wbr>\n+ RETVAL=1\\n+ set -e\\n+ [[ 1 == 2 ]]\\n+<br>
> [[ 1 != 0 ]]\\n+ echo 'ERROR: os-net-config configuration failed.'\\nERROR:<br>
> os-net-config configuration failed.\\n+ exit 1\\n\", \"deploy_status_code\":<br>
> 1}",<br>
> "[2018-04-12 17:27:18,443] (heat-config) [DEBUG] [2018-04-12 17:27:17,929]<br>
> (heat-config) [INFO] disable_configure_safe_<wbr>defaults=True",<br>
> "[2018-04-12 17:27:17,929] (heat-config) [INFO]<br>
> interface_name=eth1",<br>
> "[2018-04-12 17:27:17,929] (heat-config) [INFO]<br>
> bridge_name=br-ex",<br>
> "[2018-04-12 17:27:17,929] (heat-config) [INFO]<br>
> deploy_server_id=5afc73d4-<wbr>5aec-42a9-a1ec-1035da9e164b",<br>
> "[2018-04-12 17:27:17,929] (heat-config) [INFO]<br>
> deploy_action=CREATE",<br>
> "[2018-04-12 17:27:17,930] (heat-config) [INFO]<br>
> deploy_stack_id=undercloud-<wbr>Undercloud-jqksadcll2tk-0-<wbr>wj6kdjy567yh-<wbr>NetworkDeployment-<wbr>xyzrohqru57l-<wbr>TripleOSoftwareDeployment-<wbr>c47m7mo5bwvh/bba28770-0e27-<wbr>46dd-a311-0d53309ee1e6",<br>
> "[2018-04-12 17:27:17,930] (heat-config) [INFO]<br>
> deploy_resource_name=<wbr>TripleOSoftwareDeployment",<br>
> "[2018-04-12 17:27:17,930] (heat-config) [INFO]<br>
> deploy_signal_transport=NO_<wbr>SIGNAL",<br>
> "[2018-04-12 17:27:17,930] (heat-config) [DEBUG] Running<br>
> /var/lib/heat-config/heat-<wbr>config-script/676fe26a-bbc0-<wbr>4ba2-9733-42afaf90f3c9",<br>
> "[2018-04-12 17:27:18,439] (heat-config) [INFO] ",<br>
> "[2018-04-12 17:27:18,439] (heat-config) [DEBUG] + '[' -n<br>
> '{\"network_config\": [{\"addresses\": [{\"ip_netmask\":<br>
> \"<a href="http://192.168.24.1/24\" rel="noreferrer" target="_blank">192.168.24.1/24\</a>"}], \"dns_servers\": [], \"members\": [{\"name\":<br>
> \"interface_name\", \"primary\": true, \"type\": \"interface\"}], \"name\":<br>
> \"br-ctlplane\", \"type\": \"ovs_bridge\", \"use_dhcp\": false}]}' ']'",<br>
> "+ '[' -z True ']'",<br>
> "+ mkdir -p /etc/os-net-config",<br>
> "+ echo '{\"network_config\": [{\"addresses\":<br>
> [{\"ip_netmask\": \"<a href="http://192.168.24.1/24\" rel="noreferrer" target="_blank">192.168.24.1/24\</a>"}], \"dns_servers\": [], \"members\":<br>
> [{\"name\": \"interface_name\", \"primary\": true, \"type\":<br>
> \"interface\"}], \"name\": \"br-ctlplane\", \"type\": \"ovs_bridge\",<br>
> \"use_dhcp\": false}]}'",<br>
> "++ type -t network_config_hook",<br>
> "+ '[' '' = function ']'",<br>
> "+ sed -i s/bridge_name/br-ex/<br>
> /etc/os-net-config/config.<wbr>json",<br>
> "+ sed -i s/interface_name/eth1/<br>
> /etc/os-net-config/config.<wbr>json",<br>
> "+ set +e",<br>
> "+ os-net-config -c /etc/os-net-config/config.json -v<br>
> --detailed-exit-codes",<br>
> "[2018/04/12 05:27:18 PM] [INFO] Using config file at:<br>
> /etc/os-net-config/config.<wbr>json",<br>
> "[2018/04/12 05:27:18 PM] [INFO] Ifcfg net config provider<br>
> created.",<br>
> "[2018/04/12 05:27:18 PM] [INFO] Not using any mapping<br>
> file.",<br>
> "[2018/04/12 05:27:18 PM] [INFO] Finding active nics",<br>
> "[2018/04/12 05:27:18 PM] [INFO] lo is not an active nic",<br>
> "[2018/04/12 05:27:18 PM] [INFO] em1 is an embedded active<br>
> nic",<br>
> "[2018/04/12 05:27:18 PM] [INFO] docker0 is not an active<br>
> nic",<br>
> "[2018/04/12 05:27:18 PM] [INFO] No DPDK mapping available<br>
> in path (/var/lib/os-net-config/dpdk_<wbr>mapping.yaml)",<br>
> "[2018/04/12 05:27:18 PM] [INFO] Active nics are ['em1']",<br>
> "[2018/04/12 05:27:18 PM] [INFO] nic1 mapped to: em1",<br>
> "[2018/04/12 05:27:18 PM] [INFO] adding bridge:<br>
> br-ctlplane",<br>
> "[2018/04/12 05:27:18 PM] [ERROR] Unable to read mac<br>
> address: eth1",<br>
> "Traceback (most recent call last):",<br>
> " File \"/bin/os-net-config\", line 10, in <module>",<br>
> " sys.exit(main())",<br>
> " File<br>
> \"/usr/lib/python2.7/site-<wbr>packages/os_net_config/cli.py\<wbr>", line 268, in<br>
> main",<br>
> " provider.add_object(obj)",<br>
> " File<br>
> \"/usr/lib/python2.7/site-<wbr>packages/os_net_config/__init_<wbr>_.py\", line 62, in<br>
> add_object",<br>
> " self.add_bridge(obj)",<br>
> " File<br>
> \"/usr/lib/python2.7/site-<wbr>packages/os_net_config/impl_<wbr>ifcfg.py\", line 506,<br>
> in add_bridge",<br>
> " data = self._add_common(bridge)",<br>
> " File<br>
> \"/usr/lib/python2.7/site-<wbr>packages/os_net_config/impl_<wbr>ifcfg.py\", line 215,<br>
> in _add_common",<br>
> " mac =<br>
> utils.interface_mac(base_opt.<wbr>primary_interface_name)",<br>
> " File<br>
> \"/usr/lib/python2.7/site-<wbr>packages/os_net_config/utils.<wbr>py\", line 121, in<br>
> interface_mac",<br>
> " with open('/sys/class/net/%s/<wbr>address' % name, 'r') as<br>
> f:",<br>
> "IOError: [Errno 2] No such file or directory:<br>
> '/sys/class/net/eth1/address'"<wbr>,<br>
> "+ RETVAL=1",<br>
> "+ set -e",<br>
> "+ [[ 1 == 2 ]]",<br>
> "+ [[ 1 != 0 ]]",<br>
> "+ echo 'ERROR: os-net-config configuration failed.'",<br>
> "ERROR: os-net-config configuration failed.",<br>
> "+ exit 1",<br>
> "",<br>
> "[2018-04-12 17:27:18,440] (heat-config) [ERROR] Error<br>
> running<br>
> /var/lib/heat-config/heat-<wbr>config-script/676fe26a-bbc0-<wbr>4ba2-9733-42afaf90f3c9.<br>
> [1]",<br>
><br>
> It should be using em1:1, which I've created for this purpose.<br>
><br>
> Is there a way of setting that value?<br>
><br>
<br>
</div></div>You'd have to update the network configuration in the environment<br>
files with this information. I'm not sure what that would look like<br>
off the top of my head.<br>
<span class=""><br>
><br>
> For the new method, I'll need to use the latest master, prior to the Rocky<br>
> release?<br>
><br>
<br>
</span>Since Rocky is still in development, it's current master. We won't<br>
fully support containerized undercloud until Rocky (current dev). Our<br>
goal is to make it a similar install as it was under the<br>
non-containerized undercloud via undercloud.conf and using 'openstack<br>
undercloud install --use-heat'. Technically I think some of the bits<br>
might have made it into queens so you may be able to use this method<br>
but we've uncovered some bugs in the setup which won't be fixed until<br>
Rocky.<br>
<br>
Thanks,<br>
-Alex<br>
<div class="HOEnZb"><div class="h5"><br>
> Best Wishes,<br>
> Adam<br>
><br>
> On 12 April 2018 at 17:10, Adam Huffman <<a href="mailto:adam.huffman.lists@gmail.com">adam.huffman.lists@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hi Alex,<br>
>><br>
>> Thanks, that step was indeed missing from the instructions, and it gets a<br>
>> lot further.<br>
>><br>
>> I'll take a look at the updated documentation too.<br>
>><br>
>> Best Wishes,<br>
>> Adam<br>
>><br>
>> On 12 April 2018 at 17:02, Alex Schultz <<a href="mailto:aschultz@redhat.com">aschultz@redhat.com</a>> wrote:<br>
>>><br>
>>> 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<br>
>>> command.<br>
>>><br>
>>> Thanks,<br>
>>> -Alex<br>
>>><br>
>>> On Thu, Apr 12, 2018 at 7:29 AM, Adam Huffman<br>
>>> <<a href="mailto:adam.huffman.lists@gmail.com">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-<wbr>44706c00d50a admin admin - - -] Creating<br>
>>> > stack<br>
>>> ><br>
>>> > undercloud-<wbr>UndercloudServiceChain-<wbr>elou4xokwrep-ServiceChain-<wbr>e6umma7beuwd<br>
>>> > 2018-04-12 14:25:26.368 21111 INFO heat.engine.resource<br>
>>> > [req-3e106a9e-6b06-445e-abcf-<wbr>44706c00d50a 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-<wbr>44706c00d50a admin admin - - -] CREATE:<br>
>>> > ResourceChain "ServiceChain" Stack<br>
>>> > "undercloud-<wbr>UndercloudServiceChain-<wbr>elou4xokwrep"<br>
>>> > [3c27ccbf-8653-4519-ad95-<wbr>79b469dde2e2]<br>
>>> > 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource Traceback<br>
>>> > (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-<wbr>packages/heat/engine/resource.<wbr>py", line 918,<br>
>>> > 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-<wbr>packages/heat/engine/resource.<wbr>py", line 1026,<br>
>>> > in<br>
>>> > _do_action<br>
>>> > 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource yield<br>
>>> > self.action_handler_task(<wbr>action, args=handler_args)<br>
>>> > 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
>>> > "/usr/lib/python2.7/site-<wbr>packages/heat/engine/<wbr>scheduler.py", line 329,<br>
>>> > 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-<wbr>packages/heat/engine/resource.<wbr>py", line 971,<br>
>>> > in<br>
>>> > action_handler_task<br>
>>> > 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource<br>
>>> > handler_data =<br>
>>> > handler(*args)<br>
>>> > 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
>>> ><br>
>>> > "/usr/lib/python2.7/site-<wbr>packages/heat/engine/<wbr>resources/openstack/heat/<wbr>resource_chain.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(<wbr>self.child_template())<br>
>>> > 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
>>> ><br>
>>> > "/usr/lib/python2.7/site-<wbr>packages/heat/engine/<wbr>resources/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-<wbr>packages/oslo_utils/excutils.<wbr>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-<wbr>packages/oslo_utils/excutils.<wbr>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>
>>> ><br>
>>> > "/usr/lib/python2.7/site-<wbr>packages/heat/engine/<wbr>resources/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-<wbr>packages/heat/rpc/client.py", line 301, in<br>
>>> > _create_stack<br>
>>> > 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource<br>
>>> > version='1.29')<br>
>>> > 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource File<br>
>>> > "/usr/lib/python2.7/site-<wbr>packages/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-<wbr>packages/oslo_messaging/rpc/<wbr>client.py", line<br>
>>> > 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-<wbr>packages/oslo_messaging/<wbr>transport.py", line<br>
>>> > 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>
>>> ><br>
>>> > "/usr/lib/python2.7/site-<wbr>packages/oslo_messaging/_<wbr>drivers/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>
>>> ><br>
>>> > "/usr/lib/python2.7/site-<wbr>packages/oslo_messaging/_<wbr>drivers/impl_fake.py",<br>
>>> > line 206, in _send<br>
>>> > 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource raise<br>
>>> > failure<br>
>>> > 2018-04-12 14:25:26.447 21111 ERROR heat.engine.resource<br>
>>> > StackValidationFailed: Property error: resources[36].properties:<br>
>>> > 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-<wbr>72748c671c1b admin admin - - -] 127.0.0.1<br>
>>> > - -<br>
>>> > [12/Apr/2018 14:25:26] "GET<br>
>>> ><br>
>>> > /v1/admin/stacks/2340cfb8-<wbr>064d-4e4d-8096-89be7a3b2757/<wbr>events?marker=d5abce43-e93b-<wbr>402f-aa34-7089f00c7811&nested_<wbr>depth=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-<wbr>44706c00d50a admin admin - - -] Stack<br>
>>> > CREATE<br>
>>> > FAILED (undercloud-<wbr>UndercloudServiceChain-<wbr>elou4xokwrep): Resource<br>
>>> > CREATE<br>
>>> > failed: StackValidationFailed: resources.ServiceChain: Property error:<br>
>>> > ServiceChain.resources[36].<wbr>properties: Property<br>
>>> > DockerRabbitmqConfigImage<br>
>>> > not assigned<br>
>>> > 2018-04-12 14:25:26.520 21111 INFO eventlet.wsgi.server<br>
>>> > [req-8207c6e0-a86c-4c17-8eed-<wbr>6c396176b853 admin admin - - -] 127.0.0.1<br>
>>> > - -<br>
>>> > [12/Apr/2018 14:25:26] "GET<br>
>>> ><br>
>>> > /v1/admin/stacks/undercloud/<wbr>2340cfb8-064d-4e4d-8096-<wbr>89be7a3b2757/events?marker=<wbr>d5abce43-e93b-402f-aa34-<wbr>7089f00c7811&nested_depth=6&<wbr>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-<wbr>5efed6cdfb5f admin admin - - -] 127.0.0.1<br>
>>> > - -<br>
>>> > [12/Apr/2018 14:25:26] "GET<br>
>>> > /v1/admin/stacks/2340cfb8-<wbr>064d-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-<wbr>2eff87a1b1b4 admin admin - - -] 127.0.0.1<br>
>>> > - -<br>
>>> > [12/Apr/2018 14:25:26] "GET<br>
>>> > /v1/admin/stacks/undercloud/<wbr>2340cfb8-064d-4e4d-8096-<wbr>89be7a3b2757<br>
>>> > 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-<wbr>44706c00d50a admin admin - - -] CREATE:<br>
>>> > TemplateResource "UndercloudServiceChain"<br>
>>> > [3c27ccbf-8653-4519-ad95-<wbr>79b469dde2e2] Stack "undercloud"<br>
>>> > [2340cfb8-064d-4e4d-8096-<wbr>89be7a3b2757]<br>
>>> > 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource Traceback<br>
>>> > (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-<wbr>packages/heat/engine/resource.<wbr>py", line 918,<br>
>>> > 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-<wbr>packages/heat/engine/resource.<wbr>py", line 1026,<br>
>>> > in<br>
>>> > _do_action<br>
>>> > 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource yield<br>
>>> > self.action_handler_task(<wbr>action, args=handler_args)<br>
>>> > 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource File<br>
>>> > "/usr/lib/python2.7/site-<wbr>packages/heat/engine/<wbr>scheduler.py", line 346,<br>
>>> > 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-<wbr>packages/heat/engine/resource.<wbr>py", line 977,<br>
>>> > 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>
>>> ><br>
>>> > "/usr/lib/python2.7/site-<wbr>packages/heat/engine/<wbr>resources/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(<wbr>self.CREATE)<br>
>>> > 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource File<br>
>>> ><br>
>>> > "/usr/lib/python2.7/site-<wbr>packages/heat/engine/<wbr>resources/stack_resource.py",<br>
>>> > line 454, in _check_status_complete<br>
>>> > 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource<br>
>>> > action=action)<br>
>>> > 2018-04-12 14:25:27.396 21111 ERROR heat.engine.resource<br>
>>> > ResourceFailure:<br>
>>> > StackValidationFailed:<br>
>>> > resources.<wbr>UndercloudServiceChain.<wbr>resources.ServiceChain: Property<br>
>>> > error:<br>
>>> > ServiceChain.resources[36].<wbr>properties: Property<br>
>>> > 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-<wbr>44706c00d50a admin admin - - -] Stack<br>
>>> > CREATE<br>
>>> > FAILED (undercloud): Resource CREATE failed: StackValidationFailed:<br>
>>> > resources.<wbr>UndercloudServiceChain.<wbr>resources.ServiceChain: Property<br>
>>> > error:<br>
>>> > ServiceChain.resources[36].<wbr>properties: Property<br>
>>> > DockerRabbitmqConfigImage<br>
>>> > not assigned<br>
>>> > 2018-04-12 14:25:28.931 21111 INFO eventlet.wsgi.server<br>
>>> > [req-3dc46209-6a23-478e-92a3-<wbr>b3b75357bb28 admin admin - - -] 127.0.0.1<br>
>>> > - -<br>
>>> > [12/Apr/2018 14:25:28] "GET<br>
>>> ><br>
>>> > /v1/admin/stacks/2340cfb8-<wbr>064d-4e4d-8096-89be7a3b2757/<wbr>events?marker=0a1d1832-e877-<wbr>43c6-9b03-bede83ff0404&nested_<wbr>depth=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-<wbr>5f0cc9fcbd6d admin admin - - -] 127.0.0.1<br>
>>> > - -<br>
>>> > [12/Apr/2018 14:25:29] "GET<br>
>>> ><br>
>>> > /v1/admin/stacks/undercloud/<wbr>2340cfb8-064d-4e4d-8096-<wbr>89be7a3b2757/events?marker=<wbr>0a1d1832-e877-43c6-9b03-<wbr>bede83ff0404&nested_depth=6&<wbr>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-<wbr>9aff2effa316 admin admin - - -] 127.0.0.1<br>
>>> > - -<br>
>>> > [12/Apr/2018 14:25:29] "GET<br>
>>> > /v1/admin/stacks/2340cfb8-<wbr>064d-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-<wbr>42cf941d4694 admin admin - - -] 127.0.0.1<br>
>>> > - -<br>
>>> > [12/Apr/2018 14:25:29] "GET<br>
>>> > /v1/admin/stacks/undercloud/<wbr>2340cfb8-064d-4e4d-8096-<wbr>89be7a3b2757<br>
>>> > 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">adam.huffman.lists@gmail.com</a>><br>
>>> > wrote:<br>
>>> >><br>
>>> >> Thanks, a bit further now:<br>
>>> >><br>
>>> >> 2018-04-12 13:25:23Z [undercloud.<wbr>UndercloudServiceChain]:<br>
>>> >> CREATE_IN_PROGRESS state changed<br>
>>> >> 2018-04-12 13:25:24Z [undercloud.<wbr>UndercloudServiceChain]:<br>
>>> >> CREATE_IN_PROGRESS Stack CREATE started<br>
>>> >> 2018-04-12 13:25:24Z<br>
>>> >> [undercloud.<wbr>UndercloudServiceChain.<wbr>LoggingConfiguration]:<br>
>>> >> CREATE_IN_PROGRESS<br>
>>> >> state changed<br>
>>> >> 2018-04-12 13:25:24Z [undercloud.<wbr>UndercloudServiceChain.<wbr>ServiceChain]:<br>
>>> >> CREATE_IN_PROGRESS state changed<br>
>>> >> 2018-04-12 13:25:26Z [undercloud.<wbr>UndercloudServiceChain.<wbr>ServiceChain]:<br>
>>> >> CREATE_FAILED StackValidationFailed: resources.ServiceChain: Property<br>
>>> >> error: resources[36].properties: Property DockerRabbitmqConfigImage<br>
>>> >> not<br>
>>> >> assigned<br>
>>> >> 2018-04-12 13:25:26Z<br>
>>> >> [undercloud.<wbr>UndercloudServiceChain.<wbr>LoggingConfiguration]:<br>
>>> >> CREATE_FAILED<br>
>>> >> CREATE aborted<br>
>>> >> 2018-04-12 13:25:26Z [undercloud.<wbr>UndercloudServiceChain]:<br>
>>> >> CREATE_FAILED<br>
>>> >> Resource CREATE failed: StackValidationFailed: resources.ServiceChain:<br>
>>> >> Property error: ServiceChain.resources[36].<wbr>properties: Property<br>
>>> >> DockerRabbitmqConfigImage not assigned<br>
>>> >> 2018-04-12 13:25:27Z [undercloud.<wbr>UndercloudServiceChain]:<br>
>>> >> CREATE_FAILED<br>
>>> >> StackValidationFailed:<br>
>>> >> resources.<wbr>UndercloudServiceChain.<wbr>resources.ServiceChain: Property<br>
>>> >> error:<br>
>>> >> ServiceChain.resources[36].<wbr>properties: Property<br>
>>> >> DockerRabbitmqConfigImage<br>
>>> >> not assigned<br>
>>> >> 2018-04-12 13:25:27Z [undercloud]: CREATE_FAILED Resource CREATE<br>
>>> >> failed:<br>
>>> >> StackValidationFailed:<br>
>>> >> resources.<wbr>UndercloudServiceChain.<wbr>resources.ServiceChain: Property<br>
>>> >> error:<br>
>>> >> ServiceChain.resources[36].<wbr>properties: Property<br>
>>> >> DockerRabbitmqConfigImage<br>
>>> >> not assigned<br>
>>> >> Exception: Stack create failed<br>
>>> >> ['Traceback (most recent call last):\n', ' File<br>
>>> >><br>
>>> >> "/usr/lib/python2.7/site-<wbr>packages/tripleoclient/v1/<wbr>undercloud_deploy.py",<br>
>>> >> line 511, in take_action\n parsed_args.timeout)\n', ' File<br>
>>> >><br>
>>> >> "/usr/lib/python2.7/site-<wbr>packages/tripleoclient/v1/<wbr>undercloud_deploy.py",<br>
>>> >> line 346, in _wait_for_heat_complete\n raise Exception(\'Stack<br>
>>> >> create<br>
>>> >> failed\')\n', 'Exception: Stack create failed\n']<br>
>>> >> ERROR: Heat log files: /var/tmp/undercloud/<wbr>undercloud_deploy-KVv2ms<br>
>>> >><br>
>>> >><br>
>>> >><br>
>>> >> On 12 April 2018 at 13:56, Thomas Herve <<a href="mailto:therve@redhat.com">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">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<br>
>>> >>> > python-tripleoclient<br>
>>> >>> > python2-openstackclient openstack-heat-agents docker openvswitch<br>
>>> >>> ><br>
>>> >>> > python-tripleoclient-9.2.1-0.<wbr>20180410161616.1c1af2a.el7.<wbr>centos.noarch<br>
>>> >>> ><br>
>>> >>> ><br>
>>> >>> > python2-openstackclient-3.14.<wbr>1-0.20180402185834.a3caf7b.<wbr>el7.centos.noarch<br>
>>> >>> ><br>
>>> >>> > openstack-heat-agents-1.5.4-0.<wbr>20180308153305.ecf43c7.el7.<wbr>centos.noarch<br>
>>> >>> > docker-1.13.1-53.git774336d.<wbr>el7.centos.x86_64<br>
>>> >>> > openvswitch-2.9.0-3.el7.x86_64<br>
>>> >>> ><br>
>>> >>> > [stack@tripleo000 containers-2018-04-12]$ rpm -q<br>
>>> >>> > python-tripleoclient<br>
>>> >>> > python2-openstackclient openstack-heat-agents docker openvswitch<br>
>>> >>> ><br>
>>> >>> > python-tripleoclient-9.2.1-0.<wbr>20180410161616.1c1af2a.el7.<wbr>centos.noarch<br>
>>> >>> ><br>
>>> >>> ><br>
>>> >>> > python2-openstackclient-3.14.<wbr>1-0.20180402185834.a3caf7b.<wbr>el7.centos.noarch<br>
>>> >>> ><br>
>>> >>> > openstack-heat-agents-1.5.4-0.<wbr>20180308153305.ecf43c7.el7.<wbr>centos.noarch<br>
>>> >>> > docker-1.13.1-53.git774336d.<wbr>el7.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/<wbr>7/x86_64<br>
>>> >>> > dell-system-update_dependent<br>
>>> >>> > dell-system-update_independent<br>
>>> >>> > dell-system-update_independent<br>
>>> >>> > delorean-queens<br>
>>> >>> ><br>
>>> >>> ><br>
>>> >>> > delorean-openstack-kuryr-<wbr>kubernetes-<wbr>c394b695dfbf823de626276a610690<wbr>89ccdb0aca<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/<wbr>services-docker/ironic.yaml -e<br>
>>> >>> > $THT_ROOT/environments/<wbr>services-docker/mistral.yaml -e<br>
>>> >>> > $THT_ROOT/environments/<wbr>services-docker/zaqar.yaml -e<br>
>>> >>> > $THT_ROOT/environments/docker.<wbr>yaml -e<br>
>>> >>> > $THT_ROOT/environments/<wbr>mongodb-nojournal.yaml -e<br>
>>> >>> > $HOME/src/containers-2018-04-<wbr>12/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>
>>> >>> ><br>
>>> >>> > "/usr/lib/python2.7/site-<wbr>packages/tripleoclient/v1/<wbr>undercloud_deploy.py",<br>
>>> >>> > line 502, in take_action\n orchestration_client =<br>
>>> >>> > self._launch_heat(parsed_args)<wbr>\n', ' File<br>
>>> >>> ><br>
>>> >>> ><br>
>>> >>> > "/usr/lib/python2.7/site-<wbr>packages/tripleoclient/v1/<wbr>undercloud_deploy.py",<br>
>>> >>> > line 187, in _launch_heat\n parsed_args.heat_user)\n', ' File<br>
>>> >>> > "/usr/lib/python2.7/site-<wbr>packages/tripleoclient/heat_<wbr>launcher.py",<br>
>>> >>> > line<br>
>>> >>> > 306,<br>
>>> >>> > in __init__\n user)\n', ' File<br>
>>> >>> > "/usr/lib/python2.7/site-<wbr>packages/tripleoclient/heat_<wbr>launcher.py",<br>
>>> >>> > line<br>
>>> >>> > 170,<br>
>>> >>> > in __init__\n uid = int(self.get_heat_uid())\n', ' File<br>
>>> >>> > "/usr/lib/python2.7/site-<wbr>packages/tripleoclient/heat_<wbr>launcher.py",<br>
>>> >>> > line<br>
>>> >>> > 318,<br>
>>> >>> > in get_heat_uid\n return<br>
>>> >>> > p.communicate()[0].rstrip().<wbr>split(\':\')[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<br>
>>> >>> heat<br>
>>> >>> user).<br>
>>> >>><br>
>>> >>> --<br>
>>> >>> Thomas<br>
>>> >><br>
>>> >><br>
>>> ><br>
>>> ><br>
>>> > ______________________________<wbr>_________________<br>
>>> > dev mailing list<br>
>>> > <a href="mailto:dev@lists.rdoproject.org">dev@lists.rdoproject.org</a><br>
>>> > <a href="http://lists.rdoproject.org/mailman/listinfo/dev" rel="noreferrer" target="_blank">http://lists.rdoproject.org/<wbr>mailman/listinfo/dev</a><br>
>>> ><br>
>>> > To unsubscribe: <a href="mailto:dev-unsubscribe@lists.rdoproject.org">dev-unsubscribe@lists.<wbr>rdoproject.org</a><br>
>>> ><br>
>><br>
>><br>
><br>
</div></div></blockquote></div><br></div>