<div class="__aliyun_email_body_block"><div  style="line-height:1.7;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;"><div  style="clear:both;">       Hi, Ezpeer</div><div  style="clear:both;"><br ></div><div  style="clear:both;">      I checked and yes, </div><div  style="clear:both;"><span  style="background-color:#ffffff;">[sysadmin@controller-0 ~(keystone_admin)]$ system interface-network-list controller-0<br >+--------------+--------------------------------------+--------+--------------+<br >| hostname     | uuid                                 | ifname | network_name |<br >+--------------+--------------------------------------+--------+--------------+<br ><span  style="color:#c00000;background-color:#ffffff;">| controller-0 | 2a17737a-bd4c-40fe-bbe7-163237109ed7 | enp2s1 | oam          |</span><br >| controller-0 | 33472810-e1b3-44fa-9a30-cda0d73bc296 | lo     | mgmt         |<br >| controller-0 | 3ae75daf-b22f-47d9-bc48-5086f700563d | lo     | cluster-host |<br >+--------------+--------------------------------------+--------+--------------+</span></div><div  style="clear:both;"><br ></div><div  style="clear:both;">      Best Regard</div><div  style="clear:both;"><br ></div><blockquote  style="color:#000000;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;margin-top:.0px;margin-right:.0px;margin-bottom:.0px;"><div  style="clear:both;">------------------------------------------------------------------</div><div  style="clear:both;">发件人:Ezpeer Chen <ezpeerchen@gmail.com></div><div  style="clear:both;">发送时间:2019年10月31日(星期四) 18:12</div><div  style="clear:both;">收件人:钱江 <qianjiang@baicells.com></div><div  style="clear:both;">抄 送:"Sun, Austin" <austin.sun@intel.com>; starlingx-discuss <starlingx-discuss@lists.starlingx.io></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 >Dear  ,<div ><br ></div><div >Do you do the interface-datanetwork-assign ?</div><div ><br ></div><div >#system interface-datanetwork-assign controller-0  <<span  style="color:#9bbb59;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;">interface name></span>  <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" target="_blank">https://wiki.openstack.org/wiki/StarlingX/Networking</a><br ></div><div ><br ></div><div ><br ></div><div ><br ></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;">Thanks.<u ></u><u ></u></p><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;">BR</p></div></div><br ><div  class="gmail_quote"><div  class="gmail_attr">钱江 <<a  href="mailto:qianjiang@baicells.com" target="_blank">qianjiang@baicells.com</a>> 於 2019年10月31日 週四 下午5:28寫道:<br ></div><div  style="color:#000000;line-height:1.7;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;"><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:#f79646;background-color:#ffffff;">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:#ffffff;"><br ></span></div><div  style="clear:both;"><span  style="background-color:#ffffff;">       Best Regard</span></div><div  style="clear:both;"><br ></div><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" style="margin-top:14.0px;margin-bottom:14.0px;"> </p><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;">Could you double check ? </p><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;">grep -r type_drivers /scratch/apps/stx-openstack/{app-version}-centos-stable-latest/charts/neutron/values.yaml ?
</p><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"> </p><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;">it comes out like ‘type_drivers: flat,vlan,vxlan’, </p><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;">if not , you have to use helm command to override to include flat network.
</p><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"> </p><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;">Thanks.</p><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;">BR<br >
Austin Sun. </p><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"> </p><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><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" style="margin-top:14.0px;margin-bottom:14.0px;"> </p><div ><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">       Hi, Austin</span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">       Thanks for your warmhearted.</span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">       Follow your suggestion, but I still get the same issue.</span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="background:white;color:#9bbb59;font-family:Tahoma,sans-serif;font-size:14.0px;">[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:14.0px;"></span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="background:white;color:red;font-family:Tahoma,sans-serif;font-size:14.0px;">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:14.0px;"><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:14.0px;"></span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">When I tried type vlan as following, it directed different issue.</span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="background:white;color:red;font-family:Tahoma,sans-serif;font-size:14.0px;">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:14.0px;"></span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">------------------------------------------------------------------</span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:宋体;font-size:14.0px;">发件人:</span><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">Sun, Austin <<a  href="mailto:austin.sun@intel.com" target="_blank">austin.sun@intel.com</a>></span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:宋体;font-size:14.0px;">发送时间:</span><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">2019</span><span  style="color:black;font-family:宋体;font-size:14.0px;">年</span><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">10</span><span  style="color:black;font-family:宋体;font-size:14.0px;">月</span><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">31</span><span  style="color:black;font-family:宋体;font-size:14.0px;">日</span><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">(</span><span  style="color:black;font-family:宋体;font-size:14.0px;">星期四</span><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">)
 15:23</span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:宋体;font-size:14.0px;">收件人:钱江</span><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> <<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" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:宋体;font-size:14.0px;">主 题:</span><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">Re: [Starlingx-discuss] openstack network creation failure: Flat provider networks
 are disabled</span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span></p></div><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;">Hi QianJiang:</span></p><p  class="MsoNormal" style="text-indent:14.0px;margin-top:14.0px;margin-bottom:14.0px;"><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:14.0px;margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;"> </span></p><div  style="padding:20.0px 31.0px;border:1.0px solid #cccccc;border-image:none;"><p  class="MsoNormal" style="background:#333333;margin-top:14.0px;margin-bottom:10.0px;word-break:break-all;"><span  style="color:white;font-family:Consolas;font-size:13.0px;">system datanetwork-add ${PHYSNET0} flat</span><span  style="color:black;"></span></p></div><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;"> </span></p><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;">Thanks.</span></p><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;">BR<br >
Austin Sun. </span></p><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-weight:700;">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" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;"> </span></p><div ><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span><span  style="color:black;"></span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">Hi, the community</span><span  style="color:black;"></span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span><span  style="color:black;"></span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">After installation of "<a  href="https://docs.starlingx.io/deploy_install_guides/r2_release/virtual/aio_simplex.html" target="_blank"><span  style="color:#30739c;">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" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span><span  style="color:black;"></span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="background:white;color:#366092;font-family:Tahoma,sans-serif;font-size:14.0px;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" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span><span  style="color:black;"></span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">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" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span><span  style="color:black;"></span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">Best Regard</span><span  style="color:black;"></span></p></div><div ><p  class="MsoNormal" style="margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span><span  style="color:black;"></span></p></div></div><div ><p  class="MsoNormal" style="line-height:20.0px;margin-top:14.0px;margin-bottom:14.0px;"><span  style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span></p></div></div></div><div  style="line-height:20.0px;clear:both;"><br ></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" target="_blank">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a><br ></div></blockquote><div  style="line-height:20.0px;clear:both;"><br ></div></div></div>