pci-passthrough-whitelist to allow regexps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Compute Charm |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
From Xenial and on, udev renames interfaces to predictable names depending on the physical slot used in the node it runs on.
Such interface names can be: eno1, eno2, enp131s0f0, enp131s0f1, ...
We have run into the situation where multiple "nova-compute-vnf" units have different interfaces attached to physnet2 because of the naming conventions. Workaround has been to allow regular expressions to parse the devname. See sample below.
$ juju config nova-compute-vnf pci-passthrough
'[{"devname": "eno2", "physical_network": "physnet1"}, {"devname": "enp(131|216)s0f1",
"physical_
$ sudo egrep pci /etc/nova/nova.conf
pci_passthrough
https:/
I will send a proposal to solve this shortly.
Changed in charm-nova-compute: | |
importance: | Undecided → Wishlist |
status: | New → In Progress |
assignee: | nobody → Alvaro Uría (aluria) |
Changed in charm-nova-compute: | |
assignee: | Alvaro Uría (aluria) → nobody |
Changed in charm-nova-compute: | |
status: | In Progress → New |
Changed in charm-nova-compute: | |
status: | New → Triaged |
Fix proposed to branch: stable/18.05 /review. openstack. org/590737
Review: https:/