<div dir="ltr">Dear ,<div><br></div><div>Do you do the interface-datanetwork-assign ?</div><div><br></div><div>#system interface-datanetwork-assign controller-0 <<font color="#9bbb59" face="Tahoma, Arial, STHeiti, SimSun"><span style="font-size:14px">interface name></span></font> <data-network name><br></div><div><br></div><div><br></div><div>Reference Doc:</div><div><a href="https://wiki.openstack.org/wiki/StarlingX/Networking">https://wiki.openstack.org/wiki/StarlingX/Networking</a><br></div><div><br></div><div><br></div><div><br></div><div><p class="MsoNormal">Thanks.<u></u><u></u></p><p class="MsoNormal">BR</p></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">钱江 <<a href="mailto:qianjiang@baicells.com">qianjiang@baicells.com</a>> 於 2019年10月31日 週四 下午5:28寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="line-height:1.7;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:rgb(0,0,0)"><div style="clear:both"> Hi, Austin</div><div style="clear:both"><br></div><div style="clear:both"> I checked, the type_drivers field has no problem. Do you have more ideas?</div><div style="clear:both"><br></div><div style="clear:both"><span style="color:rgb(247,150,70);background-color:rgb(255,255,255)">controller-0:~$ grep type_drivers -r /scratch/apps/stx-openstack/1.0-18-centos-stable-latest/charts/neutron/values.yaml <br> type_drivers: flat,vlan,vxlan</span></div><div style="clear:both"><span style="background-color:rgb(255,255,255)"><br></span></div><div style="clear:both"><span style="background-color:rgb(255,255,255)"> Best Regard</span></div><div style="clear:both"><br></div><blockquote style="color:rgb(0,0,0);font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;margin-top:0px;margin-right:0px;margin-bottom:0px"><div style="clear:both">------------------------------------------------------------------</div><div style="clear:both">发件人:Sun, Austin <<a href="mailto:austin.sun@intel.com" target="_blank">austin.sun@intel.com</a>></div><div style="clear:both">发送时间:2019年10月31日(星期四) 16:42</div><div style="clear:both">收件人:钱江 <<a href="mailto:qianjiang@baicells.com" target="_blank">qianjiang@baicells.com</a>>; starlingx-discuss <<a href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank">starlingx-discuss@lists.starlingx.io</a>></div><div style="clear:both">主 题:RE: 回复:[Starlingx-discuss] openstack network creation failure: Flat provider networks are disabled</div><div style="clear:both"><br></div><div><p class="MsoNormal"> </p><p class="MsoNormal">Could you double check ? </p><p class="MsoNormal">grep -r type_drivers /scratch/apps/stx-openstack/{app-version}-centos-stable-latest/charts/neutron/values.yaml ?
</p><p class="MsoNormal"> </p><p class="MsoNormal">it comes out like ‘type_drivers: flat,vlan,vxlan’, </p><p class="MsoNormal">if not , you have to use helm command to override to include flat network.
</p><p class="MsoNormal"> </p><p class="MsoNormal">Thanks.</p><p class="MsoNormal">BR<br>
Austin Sun. </p><p class="MsoNormal"> </p><p class="MsoNormal"><b>From:</b> <span style="font-family:微软雅黑,sans-serif">
钱江</span> <<a href="mailto:qianjiang@baicells.com" target="_blank">qianjiang@baicells.com</a>> <br><b>Sent:</b> Thursday, October 31, 2019 4:12 PM<br><b>To:</b> Sun, Austin <<a href="mailto:austin.sun@intel.com" target="_blank">austin.sun@intel.com</a>>; starlingx-discuss <<a href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank">starlingx-discuss@lists.starlingx.io</a>><br><b>Subject:</b> <span style="font-family:微软雅黑,sans-serif">回复:</span>[Starlingx-discuss] openstack network creation failure: Flat provider networks are disabled</p><p class="MsoNormal"> </p><div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> Hi, Austin</span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> </span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> Thanks for your warmhearted.</span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> Follow your suggestion, but I still get the same issue.</span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> </span></p></div><div><p class="MsoNormal"><span style="background:white;color:rgb(155,187,89);font-family:Tahoma,sans-serif;font-size:14px">[sysadmin@controller-0 ~(keystone_admin)]$ system datanetwork-add enp2s1 flat<br>
+--------------+--------------------------------------+<br>
| Property | Value |<br>
+--------------+--------------------------------------+<br>
| id | 3 |<br>
| uuid | 7b999f8b-05fe-4c44-9742-907e4551d9b7 |<br>
| name | enp2s1 |<br>
| network_type | flat |<br>
| mtu | 1500 |<br>
| description | None |<br>
+--------------+--------------------------------------+<br>
[sysadmin@controller-0 ~(keystone_admin)]$ system datanetwork-list<br>
+--------------------------------------+----------+--------------+------+<br>
| uuid | name | network_type | mtu |<br>
+--------------------------------------+----------+--------------+------+<br>
| 7b999f8b-05fe-4c44-9742-907e4551d9b7 | enp2s1 | flat | 1500 |<br>
| 15eeb861-6910-4254-bb79-847bcbd88ed7 | physnet0 | vlan | 1500 |<br>
| ad22c935-51a9-4823-9b55-f18df57e5982 | physnet1 | vlan | 1500 |<br>
+--------------------------------------+----------+--------------+------+</span><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"></span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> </span></p></div><div><p class="MsoNormal"><span style="background:white;color:red;font-family:Tahoma,sans-serif;font-size:14px">controller-0:~$ openstack network create --share --external --provider-physical-network provider --provider-network-type flat provider</span><span style="color:red;font-family:Tahoma,sans-serif;font-size:14px"><br><span style="background:white">Error while executing command: BadRequestException: 400, Invalid input for operation: Flat provider networks are disabled.</span></span><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"></span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> </span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px">When I tried type vlan as following, it directed different issue.</span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> </span></p></div><div><p class="MsoNormal"><span style="background:white;color:red;font-family:Tahoma,sans-serif;font-size:14px">controller-0:~$ openstack network create --share --external --provider-physical-network provider --provider-network-type vlan provider<br>
Error while executing command: BadRequestException: 400, Invalid input for operation: physical_network 'provider' unknown for VLAN provider network.</span><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"></span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> </span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px">------------------------------------------------------------------</span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:宋体;font-size:14px">发件人:</span><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px">Sun, Austin <<a href="mailto:austin.sun@intel.com" target="_blank">austin.sun@intel.com</a>></span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:宋体;font-size:14px">发送时间:</span><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px">2019</span><span style="color:black;font-family:宋体;font-size:14px">年</span><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px">10</span><span style="color:black;font-family:宋体;font-size:14px">月</span><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px">31</span><span style="color:black;font-family:宋体;font-size:14px">日</span><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px">(</span><span style="color:black;font-family:宋体;font-size:14px">星期四</span><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px">)
15:23</span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:宋体;font-size:14px">收件人:钱江</span><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> <<a href="mailto:qianjiang@baicells.com" target="_blank">qianjiang@baicells.com</a>>; starlingx-discuss
<<a href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank">starlingx-discuss@lists.starlingx.io</a>></span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:宋体;font-size:14px">主 题:</span><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px">Re: [Starlingx-discuss] openstack network creation failure: Flat provider networks
are disabled</span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> </span></p></div><p class="MsoNormal"><span style="color:black">Hi QianJiang:</span></p><p class="MsoNormal" style="text-indent:14px"><span style="color:black">The default datanetwork in guide is vlan, you should change it to flat before openstack network create.
</span></p><p class="MsoNormal" style="text-indent:14px"><span style="color:black"> </span></p><div style="padding:20px 31px;border:1px solid rgb(204,204,204)"><p class="MsoNormal" style="background:rgb(51,51,51);margin-bottom:10px;word-break:break-all"><span style="color:white;font-family:Consolas;font-size:13px">system datanetwork-add ${PHYSNET0} flat</span><span style="color:black"></span></p></div><p class="MsoNormal"><span style="color:black"> </span></p><p class="MsoNormal"><span style="color:black">Thanks.</span></p><p class="MsoNormal"><span style="color:black">BR<br>
Austin Sun. </span></p><p class="MsoNormal"><span style="color:black;font-weight:bold">From:</span><span style="color:black"></span><span style="color:black;font-family:微软雅黑,sans-serif">钱江</span><span style="color:black"> <<a href="mailto:qianjiang@baicells.com" target="_blank">qianjiang@baicells.com</a>>
<br><b>Sent:</b> Thursday, October 31, 2019 2:42 PM<br><b>To:</b> starlingx-discuss <<a href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank">starlingx-discuss@lists.starlingx.io</a>><br><b>Subject:</b> [Starlingx-discuss] openstack network creation failure: Flat provider networks are disabled</span></p><p class="MsoNormal"><span style="color:black"> </span></p><div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> </span><span style="color:black"></span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px">Hi, the community</span><span style="color:black"></span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> </span><span style="color:black"></span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px">After installation of "<a href="https://docs.starlingx.io/deploy_install_guides/r2_release/virtual/aio_simplex.html" target="_blank"><span style="color:rgb(48,115,156)">Virtual
All-in-one Simplex Installation R2.0</span></a>", everything goes well except,</span><span style="color:black"></span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> </span><span style="color:black"></span></p></div><div><p class="MsoNormal"><span style="background:white;color:rgb(54,96,146);font-family:Tahoma,sans-serif;font-size:14px;font-style:italic">controller-0:~$ openstack network create --share --external --provider-physical-network provider --provider-network-type flat provider<br>
Error while executing command: BadRequestException: 400, Invalid input for operation: Flat provider networks are disabled.</span><span style="color:black"></span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> </span><span style="color:black"></span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px">Could anyone help to point out what's the issue, and how to fix it?</span><span style="color:black"></span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> </span><span style="color:black"></span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px">Best Regard</span><span style="color:black"></span></p></div><div><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> </span><span style="color:black"></span></p></div></div><div><p class="MsoNormal" style="line-height:20px"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14px"> </span></p></div></div></div></blockquote><div style="line-height:20px;clear:both"><br></div></div></div>_______________________________________________<br>
Starlingx-discuss mailing list<br>
<a href="mailto:Starlingx-discuss@lists.starlingx.io" target="_blank">Starlingx-discuss@lists.starlingx.io</a><br>
<a href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss" rel="noreferrer" target="_blank">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a><br>
</blockquote></div>