Project

General

Profile

Actions

Bug #9170

closed

Wrong nic order in libvirt domain

Added by Anonymous over 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Compute resources - libvirt
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi,

We are testing the new interfaces code that just got merged to develop, and are running a test instance off of 43c4bd72e4646cc9b2b4cb0533e84e08825eadda.
So far, it's pretty great, but we found a small issue with libvirt compute resources.

The scenario is:

  • go to the New Host page
  • fill in Host information, and choose a libvirt compute resource to deploy on
  • go to the Interfaces tab
  • edit the default interface, choose a domain, subnet, ip, leave the default information as-is
  • choose a bridge from the list, say bridgeA
  • submit
  • add a new interface, choose a domain, subnet, ip
  • choose a different bridge from the list, say bridgeB
  • submit
  • fill in the remaining information and save the host, which will get built

The libvirt domain created for the new host has 2 NICs, but they are in the "wrong order", the first NIC is bridged to bridgeB and the second to bridgeA. Plus, the MAC addresses that get saved to the database once the domain has been created are mixed up.
The other data, however, looks right, with the proper bridge name in the NIC attributes.


Related issues 2 (1 open1 closed)

Related to Foreman - Tracker #2409: NetworkingNew

Actions
Related to Foreman - Refactor #7456: Extract primary interface from hostClosedGreg Sutcliffe09/16/2014Actions
Actions

Also available in: Atom PDF