← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1809040] [NEW] pci device lost when error in the configuration file

 

Public bug reported:

pci passthrough is lost when you restart nova-compute with the wrong
configuration.

I have this issue on Queens release.

====
step to reproduce:
====
1- configurare passthrough for a pci device
2- start a vm with the pci device
3- change the config /etc/nova/nova.conf 
[pci]
-passthrough_whitelist = "[{"vendor_id": "8086", "product_id": "1572"}]"
+pci_passthrough_whitelist = "[{"vendor_id": "8086", "product_id": "1572"}]"

4- restart nova-compute
5- nova.pci_devices , device gets deleted in the DB.
6- hard reboot the vm, the pci devices are not in the libvirt conf anymore.
7- fix the config in nova.conf, and restart. new devices are created, but cannot be assigned to the running vm.


I had a small issue during an upgrade, (made a typo for the nova.conf file, [Default] > pci_passthrough_whitelist TO [pci] > pci_passthrough_whitelist. and i lost all the pci device all over the computes.

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

Title:
  pci device lost when error in the configuration file

Status in OpenStack Compute (nova):
  New

Bug description:
  pci passthrough is lost when you restart nova-compute with the wrong
  configuration.

  I have this issue on Queens release.

  ====
  step to reproduce:
  ====
  1- configurare passthrough for a pci device
  2- start a vm with the pci device
  3- change the config /etc/nova/nova.conf 
  [pci]
  -passthrough_whitelist = "[{"vendor_id": "8086", "product_id": "1572"}]"
  +pci_passthrough_whitelist = "[{"vendor_id": "8086", "product_id": "1572"}]"

  4- restart nova-compute
  5- nova.pci_devices , device gets deleted in the DB.
  6- hard reboot the vm, the pci devices are not in the libvirt conf anymore.
  7- fix the config in nova.conf, and restart. new devices are created, but cannot be assigned to the running vm.

  
  I had a small issue during an upgrade, (made a typo for the nova.conf file, [Default] > pci_passthrough_whitelist TO [pci] > pci_passthrough_whitelist. and i lost all the pci device all over the computes.

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