<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">Thanks for Eric's hint. I doubted this problem is related to OVS bridge setup yesterday</div><div class=""><br class=""></div><div class=""><div class=""><font face="Courier New" class="">controller-0:/var/log/puppet# ovs-vsctl show</font></div><div class=""><font face="Courier New" class="">a98562f6-3223-4eab-a663-68cb4d8e9ece</font></div><div class=""><font face="Courier New" class=""> Manager "ptcp:6639:127.0.0.1"</font></div><div class=""><font face="Courier New" class=""> is_connected: true</font></div><div class=""><font face="Courier New" class=""> Bridge "br-phy0"</font></div><div class=""><font face="Courier New" class=""> Controller "tcp:127.0.0.1:6633"</font></div><div class=""><font face="Courier New" class=""> is_connected: true</font></div><div class=""><font face="Courier New" class=""> fail_mode: secure</font></div><div class=""><font face="Courier New" class=""> Port "lldpd2a87771-fd"</font></div><div class=""><font face="Courier New" class=""> Interface "lldpd2a87771-fd"</font></div><div class=""><font face="Courier New" class=""> type: internal</font></div><div class=""><font face="Courier New" class=""> Port "phy-br-phy0"</font></div><div class=""><font face="Courier New" class=""> Interface "phy-br-phy0"</font></div><div class=""><font face="Courier New" class=""> type: patch</font></div><div class=""><font face="Courier New" class=""> options: {peer="int-br-phy0"}</font></div><div class=""><font face="Courier New" class=""> Port "eth0"</font></div><div class=""><font face="Courier New" class=""> Interface "eth0"</font></div><div class=""><font face="Courier New" class=""> type: dpdk</font></div><div class=""><font face="Courier New" class=""> options: {dpdk-devargs="0000:02:00.1", n_rxq="1"}</font></div><div class=""><font face="Courier New" class=""> error: "Error attaching device '0000:02:00.1' to DPDK"</font></div><div class=""><font face="Courier New" class=""> Port "br-phy0"</font></div><div class=""><font face="Courier New" class=""> Interface "br-phy0"</font></div><div class=""><font face="Courier New" class=""> type: internal</font></div><div class=""><font face="Courier New" class=""> Bridge br-int</font></div><div class=""><font face="Courier New" class=""> Controller "tcp:127.0.0.1:6633"</font></div><div class=""><font face="Courier New" class=""> is_connected: true</font></div><div class=""><font face="Courier New" class=""> fail_mode: secure</font></div><div class=""><font face="Courier New" class=""> Port "int-br-phy0"</font></div><div class=""><font face="Courier New" class=""> Interface "int-br-phy0"</font></div><div class=""><font face="Courier New" class=""> type: patch</font></div><div class=""><font face="Courier New" class=""> options: {peer="phy-br-phy0"}</font></div><div class=""><font face="Courier New" class=""> Port br-int</font></div><div class=""><font face="Courier New" class=""> Interface br-int</font></div><div class=""><font face="Courier New" class=""> type: internal</font></div><div class=""><font face="Courier New" class=""> ovs_version: “2.9.0"</font></div><div class=""><br class=""></div><div class="">I don’t know why ‘eth0’ was added into the br-phy0 bridge, since there is no ‘eth0’ in my machine. I configured an interface named ‘eno4’ for my data plane.</div><div class=""><div class="">[wrsroot@controller-0 log(keystone_admin)]$ system host-if-list -a 1</div><div class=""><font face="Courier New" class="">+--------------------------------------+------+----------+----------+---------+-----------+----------+-------------+----------------------------+-------------------+</font></div><div class=""><font face="Courier New" class="">| uuid | name | class | type | vlan id | ports | uses i/f | used by i/f | attributes | provider networks |</font></div><div class=""><font face="Courier New" class="">+--------------------------------------+------+----------+----------+---------+-----------+----------+-------------+----------------------------+-------------------+</font></div><div class=""><font face="Courier New" class="">| 548477c1-038f-4280-a4b1-d7c11d724b09 | eno4 | data | ethernet | None | [u'eno4'] | [] | [] | MTU=1500,accelerated=False | providernet-a |</font></div><div class=""><font face="Courier New" class="">| 5c4760f5-a32b-49b9-91d1-73a72fdcabfb | eno3 | None | ethernet | None | [u'eno3'] | [] | [] | MTU=1500 | None |</font></div><div class=""><font face="Courier New" class="">| 7b85e213-f435-4693-a13a-364de1e06a35 | eno1 | platform | ethernet | None | [u'eno1'] | [] | [] | MTU=1500 | None |</font></div><div class=""><font face="Courier New" class="">| 96e1e865-2f7c-486e-8e9e-88fcb1c71686 | lo | platform | virtual | None | [] | [] | [] | MTU=1500 | None |</font></div><div class=""><font face="Courier New" class="">| c87ccb52-a1c7-4332-87f9-5966e6599ee6 | eno2 | None | ethernet | None | [u'eno2'] | [] | [] | MTU=1500 | None |</font></div><div class=""><font face="Courier New" class="">+--------------------------------------+------+----------+----------+---------+-----------+----------+-------------+----------------------------+—————————+</font></div></div><div class=""><br class=""></div><div class="">And also the puppet log seems confirm that ovs setup failure because of ‘eth0':</div><div class=""><br class=""></div><div class=""><div class=""><font face="Courier New" class="">controller-0:/var/log/puppet# grep -r /var/log/puppet/ -e Error -e Warning</font></div><div class=""><font face="Courier New" class="">/var/log/puppet/2018-12-03-08-05-45_compute/puppet.log:2018-12-03T08:07:16.348 Notice: 2018-12-03 16:07:16 +0800 /Stage[main]/Platform::Vswitch::Ovs/Platform::Vswitch::Ovs::Port[eth0]/Exec[ovs-add-port: eth0]/returns: ovs-vsctl: Error detected while setting up 'eth0': Error attaching device '0000:02:00.1' to DPDK. See ovs-vswitchd log for details.</font></div><div class=""><font face="Courier New" class="">/var/log/puppet/2018-12-03-08-05-45_compute/puppet.log:2018-12-03T08:07:16.443 Error: 2018-12-03 16:07:16 +0800 ovs-ofctl add-flow br-phy0 dl_dst=01:80:c2:00:00:0e,dl_type=0x88cc,hard_timeout=0,idle_timeout=0,in_port=eth0,actions=output:lldpd2a87771-fd returned 1 instead of one of [0]</font></div><div class=""><font face="Courier New" class="">/var/log/puppet/2018-12-03-08-05-45_compute/puppet.log:2018-12-03T08:07:16.678 Error: 2018-12-03 16:07:16 +0800 /Stage[main]/Platform::Vswitch::Ovs/Platform::Vswitch::Ovs::Flow[eth0]/Exec[ovs-add-flow: eth0]/returns: change from notrun to 0 failed: ovs-ofctl add-flow br-phy0 dl_dst=01:80:c2:00:00:0e,dl_type=0x88cc,hard_timeout=0,idle_timeout=0,in_port=eth0,actions=output:lldpd2a87771-fd returned 1 instead of one of [0]</font></div><div class=""><font face="Courier New" class="">/var/log/puppet/2018-12-03-08-05-45_compute/puppet.log:2018-12-03T08:07:28.800 Warning: 2018-12-03 16:07:28 +0800 /Stage[post]/Platform::Ceph::Post/File[/var/run/.ceph_started]: Skipping because of failed dependencies</font></div><div class=""><font face="Courier New" class="">/var/log/puppet/2018-12-03-08-05-45_compute/puppet.log:2018-12-03T08:07:28.806 Warning: 2018-12-03 16:07:28 +0800 /Stage[post]/Platform::Config::Post/Service[crond]: Skipping because of failed dependencies</font></div><div class=""><font face="Courier New" class="">/var/log/puppet/2018-12-03-08-05-45_compute/puppet.log:2018-12-03T08:07:28.817 Warning: 2018-12-03 16:07:28 +0800 /Stage[post]/Platform::Config::Compute::Post/File[/etc/platform/.initial_compute_config_complete]: Skipping because of failed dependencies</font></div><div class=""><font face="Courier New" class="">/var/log/puppet/2018-12-03-08-05-45_compute/puppet.log:2018-12-03T08:07:28.824 Warning: 2018-12-03 16:07:28 +0800 /Stage[post]/Platform::Config::Compute::Post/File[/var/run/.compute_config_complete]: Skipping because of failed dependencies</font></div><div class=""><font face="Courier New" class="">/var/log/puppet/2018-12-03-08-05-45_compute/puppet.log:2018-12-03T08:07:28.833 Warning: 2018-12-03 16:07:28 +0800 /Stage[post]/Platform::Config::Post/File[/etc/platform/.initial_config_complete]: Skipping because of failed dependencies</font></div><div class=""><font face="Courier New" class="">/var/log/puppet/2018-12-03-08-05-45_compute/puppet.log:2018-12-03T08:07:28.839 Warning: 2018-12-03 16:07:28 +0800 /Stage[post]/Platform::Config::Post/File[/etc/platform/.config_applied]: Skipping because of failed dependencies</font></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div>Any further suggestion how to fix this problem? Thank you.</div><div><br class=""></div><div>Br,</div><div>Xu Yun</div><div><br class=""><blockquote type="cite" class=""><div class="">在 2018年12月3日,下午11:02,MacDonald, Eric <<a href="mailto:Eric.MacDonald@windriver.com" class="">Eric.MacDonald@windriver.com</a>> 写道:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">300.004 is a dependency alarm that should go away once controller-0 is unlocked-enabled.<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Looks like an All-In-One system your trying to provision.<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Therefore this could be a controller or compute function configuration error.<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">I would look for the words Error and Warning in the puppet logs and see what that shows.<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">sudo grep จCr /var/log/puppet จCe Error จCe Warning<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Eric.<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="border-style: none none none solid; border-left-width: 1.5pt; border-left-color: blue; padding: 0in 0in 0in 4pt;" class=""><div class=""><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(181, 196, 223); padding: 3pt 0in 0in;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><b class=""><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class=""><span class="Apple-converted-space"> </span></span><span lang="ZH-CN" style="font-size: 10pt;" class="">ะ์ิฬ</span><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class=""><span class="Apple-converted-space"> </span>[<a href="mailto:xuyun@jxresearch.com" style="color: purple; text-decoration: underline;" class="">mailto:xuyun@jxresearch.com</a>]<span class="Apple-converted-space"> </span><br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Monday, December 03, 2018 4:26 AM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span><a href="mailto:starlingx-discuss@lists.starlingx.io" style="color: purple; text-decoration: underline;" class="">starlingx-discuss@lists.starlingx.io</a><br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>[Starlingx-discuss] Unable to bring up controller-0<o:p class=""></o:p></span></div></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class="">Hi,<o:p class=""></o:p></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class="">Iกฏm trying to deploy a simplex on a bare metal server. After unlocking controller-0 following the installation_guide, two error events are reported and this node was degraded:<o:p class=""></o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><o:p class=""> </o:p></div></div><div class=""><table class="MsoNormalTable" border="0" cellpadding="0" id="alarms"><tbody class=""><tr id="alarms__row__58857199-137d-41dc-a8ab-063024695f76" class=""><td style="padding: 0.75pt;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><a href="http://111.111.111.1/admin/fault_management/58857199-137d-41dc-a8ab-063024695f76/detail/" style="color: purple; text-decoration: underline;" class="">200.011</a><o:p class=""></o:p></div></td><td style="padding: 0.75pt;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class="">controller-0 experienced a configuration failure.<span class="Apple-converted-space"> </span><o:p class=""></o:p></div></td><td style="padding: 0.75pt;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class="">host=controller-0<span class="Apple-converted-space"> </span><o:p class=""></o:p></div></td></tr></tbody></table><div class=""><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;"></p><table class="MsoNormalTable" border="0" cellpadding="0" id="alarms"><tbody class=""><tr id="alarms__row__5be8292e-c1c1-4068-bce3-84b4d43d923b" class=""><td style="padding: 0.75pt;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><a href="http://111.111.111.1/admin/fault_management/5be8292e-c1c1-4068-bce3-84b4d43d923b/detail/" style="color: purple; text-decoration: underline;" class="">300.004</a><o:p class=""></o:p></div></td><td style="padding: 0.75pt;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class="">No enabled compute host with connectivity to provider network.<span class="Apple-converted-space"> </span><o:p class=""></o:p></div></td><td style="padding: 0.75pt;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class="">service=networking.providernet=e542cf30-a07d-41f7-be7b-cc5a4e14b0d7<span class="Apple-converted-space"> </span><o:p class=""></o:p></div></td></tr></tbody></table><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><o:p class=""> </o:p></div></div></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class="">Would you please give me some hints how to debug this problem? Thank you!<o:p class=""></o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class="">Br,<o:p class=""></o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: SimSun;" class="">Xu Yun</div></div></div></div></div></blockquote></div><br class=""></div></body></html>