<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;"><span style="color:#000000;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;"> Hi, Austin</span></div><div style="clear:both;"><span style="color:#000000;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;"><br ></span></div><div style="clear:both;"><span style="color:#000000;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;"> Thanks for your warmhearted.</span></div><div style="clear:both;"><span style="color:#000000;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;"> Follow your suggestion, but I still get the same issue.</span></div><div style="clear:both;"><span style="color:#000000;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;"><br ></span></div><div style="clear:both;"><span style="color:#9bbb59;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;background-color:#ffffff;">[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></div><div style="clear:both;"><span style="color:#000000;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;"><br ></span></div><div style="clear:both;"><span style="color:#ff0000;"><span style="text-align:left;text-transform:none;text-indent:.0px;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;display:inline;float:none;background-color:#ffffff;">controller-0:~$ openstack network create --share --external --provider-physical-network provider --provider-network-type flat provider</span><span style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;"><br style="text-align:left;text-transform:none;text-indent:.0px;letter-spacing:normal;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;word-spacing:.0px;white-space:normal;orphans:2;"></span><span style="text-align:left;text-transform:none;text-indent:.0px;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;display:inline;float:none;background-color:#ffffff;">Error while executing command: BadRequestException: 400, Invalid input for operation: Flat provider networks are disabled.</span></span></div><div style="clear:both;"><span style="color:#000000;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;"><br ></span></div><div style="clear:both;"><span style="color:#000000;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;">When I tried type vlan as following, it directed different issue.</span></div><div style="clear:both;"><span style="color:#ff0000;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;"><br ></span></div><div style="clear:both;"><span style="color:#ff0000;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;background-color:#ffffff;">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></div><div style="clear:both;"><span style="color:#000000;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;"><br ></span></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;">发件人:Sun, Austin <austin.sun@intel.com></div><div style="clear:both;">发送时间:2019年10月31日(星期四) 15:23</div><div style="clear:both;">收件人:钱江 <qianjiang@baicells.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><style >!-- @font-face{font-family:宋体;panose-1:2 1 6 0 3 1 1 1 1 1;}{font-family:Cambria Math;panose-1:2 4 5 3 5 4 6 3 2 4;}{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}{font-family:Consolas;panose-1:2 11 6 9 2 2 4 3 2 4;}{font-family:\@宋体;panose-1:2 1 6 0 3 1 1 1 1 1;}{font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}{font-family:微软雅黑;panose-1:2 11 5 3 2 2 4 2 2 4;}{font-family:\@微软雅黑;panose-1:2 11 5 3 2 2 4 2 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal{margin:.0in;margin-bottom:.0pt;font-size:11.0pt;font-family:Calibri,sans-serif;}a:link, span.MsoHyperlink{mso-style-priority:99;color:blue;text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed{mso-style-priority:99;color:purple;text-decoration:underline;}pre{mso-style-priority:99;mso-style-link:HTML Preformatted Char;margin:.0in;margin-bottom:.0pt;font-size:10.0pt;font-family:Courier New;}p.msonormal0, li.msonormal0, div.msonormal0{mso-style-name:msonormal;mso-margin-top-alt:auto;margin-right:.0in;mso-margin-bottom-alt:auto;margin-left:.0in;font-size:11.0pt;font-family:Calibri,sans-serif;}span.EmailStyle18{mso-style-type:personal-reply;font-family:Calibri,sans-serif;color:windowtext;}span.HTMLPreformattedChar{mso-style-name:HTML Preformatted Char;mso-style-priority:99;mso-style-link:HTML Preformatted;font-family:Courier New;}.MsoChpDefault{mso-style-type:export-only;font-family:Calibri,sans-serif;}@page WordSection1{size:8.5in 11.0in;margin:1.0in 1.2in 1.0in 1.2in;}div.WordSection1{page:WordSection1;}--></style><div class="WordSection1"><p class="MsoNormal">Hi QianJiang:</p><p class="MsoNormal" style="text-indent:14.0px;">The default datanetwork in guide is vlan, you should change it to flat before openstack network create.
</p><p class="MsoNormal" style="text-indent:14.0px;"> </p><div style="background:#333333;padding:20.0px 31.0px;border:1.0px solid #cccccc;border-image:none;"><p class="MsoNormal" style="background:#333333;padding:.0in;border:medium;border-image:none;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></p></div><p class="MsoNormal"> </p><p class="MsoNormal">Thanks.</p><p class="MsoNormal">BR<br >
Austin Sun. </p><p class="MsoNormal"><b >From:</b> <span style="font-family:微软雅黑,sans-serif;">
钱江</span> <qianjiang@baicells.com> <br ><b >Sent:</b> Thursday, October 31, 2019 2:42 PM<br ><b >To:</b> starlingx-discuss <starlingx-discuss@lists.starlingx.io><br ><b >Subject:</b> [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:14.0px;"> </span></p></div><div ><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">Hi, the community</span></p></div><div ><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span></p></div><div ><p class="MsoNormal"><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></p></div><div ><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span></p></div><div ><p class="MsoNormal"><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;font-family:Tahoma,sans-serif;font-size:14.0px;"></span></p></div><div ><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span></p></div><div ><p class="MsoNormal"><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></p></div><div ><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span></p></div><div ><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;">Best Regard</span></p></div><div ><p class="MsoNormal"><span style="color:black;font-family:Tahoma,sans-serif;font-size:14.0px;"> </span></p></div></div></div></blockquote><div style="line-height:20.0px;clear:both;"><span style="color:#000000;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;"><br ></span></div></div></div>