<font><font face="arial,helvetica,sans-serif">I tried to boot a new instance with two NICs, but seems I can't setup network_id to a single one, that means I have to create at least two VLANs for NICs. Is there any way that I can boot my instance with two NICs and assign the ip in a single VLAN? And why this is not allowed currently? Thanks.</font></font><div>
<font><font face="arial,helvetica,sans-serif"><br></font></font></div><div><font><font face="arial,helvetica,sans-serif">Here's the error message I saw from output:</font></font></div><div><font><font face="arial,helvetica,sans-serif">nova --debug boot --flavor 11033 --image 39b66c00-2dfd-4310-99f2-76ea8905e820 --availability-zone CL_PUBLIC --nic net-id=5fbe4145-f48e-420b-9493-866714d08376,v4-fixed-ip=172.16.4.20 --nic net-id=5fbe4145-f48e-420b-9493-866714d08376,v4-fixed-ip=172.16.4.21 --security-groups default MYTEST</font></font></div>
<div><font><font face="arial,helvetica,sans-serif"><br></font></font></div><div><font><font face="arial,helvetica,sans-serif"><div>DEBUG (shell:534) Duplicate networks (5fbe4145-f48e-420b-9493-866714d08376) are not allowed (HTTP 400) (Request-ID: req-0bf32ea6-afc4-4ffa-94dd-d4e4a0d3a8eb)</div>
<div>Traceback (most recent call last):</div><div> File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.9.0.24-py2.7.egg/novaclient/shell.py", line 531, in main</div><div> OpenStackComputeShell().main(sys.argv[1:])</div>
<div> File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.9.0.24-py2.7.egg/novaclient/shell.py", line 467, in main</div><div> args.func(self.cs, args)</div><div> File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.9.0.24-py2.7.egg/novaclient/v1_1/shell.py", line 228, in do_boot</div>
<div> server = cs.servers.create(*boot_args, **boot_kwargs)</div><div> File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.9.0.24-py2.7.egg/novaclient/v1_1/servers.py", line 498, in create</div>
<div> **boot_kwargs)</div><div> File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.9.0.24-py2.7.egg/novaclient/v1_1/base.py", line 162, in _boot</div><div> return_raw=return_raw, **kwargs)</div>
<div> File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.9.0.24-py2.7.egg/novaclient/base.py", line 148, in _create</div><div> _resp, body = self.api.client.post(url, body=body)</div><div> File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.9.0.24-py2.7.egg/novaclient/client.py", line 244, in post</div>
<div> return self._cs_request(url, 'POST', **kwargs)</div><div> File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.9.0.24-py2.7.egg/novaclient/client.py", line 228, in _cs_request</div>
<div> **kwargs)</div><div> File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.9.0.24-py2.7.egg/novaclient/client.py", line 210, in _time_request</div><div> resp, body = self.request(url, method, **kwargs)</div>
<div> File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.9.0.24-py2.7.egg/novaclient/client.py", line 204, in request</div><div> raise exceptions.from_response(resp, body)</div><div>BadRequest: Duplicate networks (5fbe4145-f48e-420b-9493-866714d08376) are not allowed (HTTP 400) (Request-ID: req-0bf32ea6-afc4-4ffa-94dd-d4e4a0d3a8eb)</div>
<div>ERROR: Duplicate networks (5fbe4145-f48e-420b-9493-866714d08376) are not allowed (HTTP 400) (Request-ID: req-0bf32ea6-afc4-4ffa-94dd-d4e4a0d3a8eb)</div></font></font><div><div><span style="font-family:'courier new',monospace"><br>
</span></div><div><span style="font-family:'courier new',monospace">- Ray</span></div><font face="'courier new', monospace">Yours faithfully, Kind regards.<br><br>CIeNET Technologies (Beijing) Co., Ltd<br>
Email: <a href="mailto:qsun01185@cienet.com.cn" target="_blank">qsun01185@cienet.com.cn</a></font><div><font face="'courier new', monospace">Office Phone: +86-01081470088-7079<br>Mobile Phone: +86-13581988291</font></div>
</div>
</div>