← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1719327] [NEW] nova compute overwrite binding-profile when updating port direct port

 

Public bug reported:

in case a user create direct port with binding-profile such as:
 --binding-profile '{"capabilities": ["switchdev"]}'. nova-compute will 
overwrite that info with the pci_vendor_info pci_slot which are used for the SR-IOV mechanism driver and agent, and on delete it will clear the binding:profile. 

This change is important to OVS hardware-offload, because we distinguish
between legacy SR-IOV to switchdev SR-IOV with the {"capabilities":
["switchdev"]} in the port profile. And with this info we know what
mechanism driver will bind the direct port. {"capabilities":
["switchdev"]} - will bound by the OVS and all the others will be bound
by SR-IOV mechanism driver

** 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/1719327

Title:
  nova compute overwrite binding-profile when updating port direct port

Status in OpenStack Compute (nova):
  New

Bug description:
  in case a user create direct port with binding-profile such as:
   --binding-profile '{"capabilities": ["switchdev"]}'. nova-compute will 
  overwrite that info with the pci_vendor_info pci_slot which are used for the SR-IOV mechanism driver and agent, and on delete it will clear the binding:profile. 

  This change is important to OVS hardware-offload, because we
  distinguish between legacy SR-IOV to switchdev SR-IOV with the
  {"capabilities": ["switchdev"]} in the port profile. And with this
  info we know what mechanism driver will bind the direct port.
  {"capabilities": ["switchdev"]} - will bound by the OVS and all the
  others will be bound by SR-IOV mechanism driver

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


Follow ups