yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #33860
[Bug 1466451] [NEW] Nova should verify that devname in pci_passthrough_whitelist is not empty
Public bug reported:
According to https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking:
"The devname can be a valid PCI device name. The only device names that are supported are those displayed by the Linux utility ifconfig -a and correspond to either a PF or a VF on a vNIC"
However it's possible to supply an empty string as devname
e.g. pci_passthrough_whitelist = {"devname": "", "physical_network":"physnet2"}
It's also possible to have an entry:
pci_passthrough_whitelist = {"physical_network":"physnet2"}
which shouldn't be valid.
Nova should verify that devname is not an empty string and that
devname,address or product_id/vendor_id are supplied.
Version
======
python-nova-2015.1.0-4.el7ost.noarch
Expected result
=============
Nova compute should fail to start when specifying an empty string for devname when using physical_network or when not specifying devname,address or product_id/vendor_id
** 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/1466451
Title:
Nova should verify that devname in pci_passthrough_whitelist is not
empty
Status in OpenStack Compute (Nova):
New
Bug description:
According to https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking:
"The devname can be a valid PCI device name. The only device names that are supported are those displayed by the Linux utility ifconfig -a and correspond to either a PF or a VF on a vNIC"
However it's possible to supply an empty string as devname
e.g. pci_passthrough_whitelist = {"devname": "", "physical_network":"physnet2"}
It's also possible to have an entry:
pci_passthrough_whitelist = {"physical_network":"physnet2"}
which shouldn't be valid.
Nova should verify that devname is not an empty string and that
devname,address or product_id/vendor_id are supplied.
Version
======
python-nova-2015.1.0-4.el7ost.noarch
Expected result
=============
Nova compute should fail to start when specifying an empty string for devname when using physical_network or when not specifying devname,address or product_id/vendor_id
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1466451/+subscriptions
Follow ups
References