← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1883671] [NEW] [SRIOV] When a VF is bound to a VM, Nova can't retrieve the PCI info

 

Public bug reported:

Nova periodically updates the available resources per hypervisor [1].
That implies the reporting of the PCI devices [2]->[3].

In [4], a new feature was introduced to read from libvirt the NIC
capabilities (gso, tso, tx, etc.). But when the NIC interface is bound
to the VM and the MAC address is not the one assigned by the driver
(Nova changes the MAC address according to the info provided by
Neutron), libvirt fails reading the non-existing device:
http://paste.openstack.org/show/794799/.

This command should be avoided or at least, if the executing fails, the
exception could be hidden.


[1]https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L9642
[2]https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L6980
[3]https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L6898
[4]Ia5b6abbbf4e5f762e0df04167c32c6135781d305

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1883671

Title:
  [SRIOV] When a VF is bound to a VM, Nova can't retrieve the PCI info

Status in OpenStack Compute (nova):
  New

Bug description:
  Nova periodically updates the available resources per hypervisor [1].
  That implies the reporting of the PCI devices [2]->[3].

  In [4], a new feature was introduced to read from libvirt the NIC
  capabilities (gso, tso, tx, etc.). But when the NIC interface is bound
  to the VM and the MAC address is not the one assigned by the driver
  (Nova changes the MAC address according to the info provided by
  Neutron), libvirt fails reading the non-existing device:
  http://paste.openstack.org/show/794799/.

  This command should be avoided or at least, if the executing fails,
  the exception could be hidden.

  
  [1]https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L9642
  [2]https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L6980
  [3]https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L6898
  [4]Ia5b6abbbf4e5f762e0df04167c32c6135781d305

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1883671/+subscriptions


Follow ups