[Bug 1660324] Re: There is no way to specify which port use for which network
seamanhanshan at gmail.com
Tue Feb 7 09:48:27 UTC 2017
Just as your case shows, if server is booted with only nic --nic net-id
=uuid-of-net-1, the result is also random.
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ironic in Ubuntu.
There is no way to specify which port use for which network
Status in Ironic:
Status in ironic package in Ubuntu:
Baremetal server has two ports. Each port leads to separate hardware
switch (defined by local_link_connection/switch_info).
When nova instance is booted with two nics, pointing to different
networks, it randomly assign each (ironic) port to each networking.
NIC1 leads to switch sw-1 port 1/1/1
NIC2 leads to switch sw-2 port 2/2/2
switch sw-1 serves net-1
switch sw-2 serves net-2
server is booted with --nic net-id=uuid-of-net-1 --nic net-id=uuid-of-
NIC1 pointing to sw-1 port 1/1/1 and configured to serve net1
NIC2 pointing to sw-2 port 2/2/2 and configured to serve net2
NIC1 pointing to sw-2 port 2/2/2 and configured to serve net1
NIC2 pointing to sw-1 port 1/1/1 and configured to serve net2
This creates chaos if sw-1 is 'internet' switch and sw-2 is 'local DMZ
switch'. sw-2 can not serve internet vlans, and sw-1 can not serve
local network vlans.
Ironic version: newton (6.2.1)
To manage notifications about this bug go to:
More information about the Ubuntu-openstack-bugs