Public bug reported: 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. Baremetal server: 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- net-2 Run1: 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 Run2: 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) ** Affects: ironic Importance: Undecided Status: New ** Affects: ironic (Ubuntu) Importance: Undecided Status: New ** Also affects: ironic Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1660324 Title: There is no way to specify which port use for which network To manage notifications about this bug go to: https://bugs.launchpad.net/ironic/+bug/1660324/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs