Hi, this is my 1st time write this report at Launchpad.
===Description===
I'm using Mitaka installed by Fuel 9.2, and I meet a issue that the info didn't remove at pci_devices table in Nova Database after I removed one of the device from compute node and nova.conf
===How did I reproduce?===
1. Plug two different model PCI devices and add two PCI devices information into nova.conf in target compute node and each control node by following format:
2. Restart nova-api, nova-scheduler, and nova-compute.
Compute node only shows the last device I add.
But if I do some actions on instance with the flavor contained PCI passthrough info, it will be normal.
And database info is correct.
3. Remove one of the PCI device info from nova.conf (included target compute and controllers), restart services, shutdown the compute node and unplug the device.
(Note: The card ID of what I remove is 1002:68c8)
Power on the compute code and check nova-compute log, the report is correct.
===Expected result===
The info of removed device should be deleted or stayed at "DELETED" status in Nova DB.
===Actual result===
The info of removed device still exist and stayed at "AVAILABLE" status in Nova DB.
Hi, this is my 1st time write this report at Launchpad.
===Description===
I'm using Mitaka installed by Fuel 9.2, and I meet a issue that the info didn't remove at pci_devices table in Nova Database after I removed one of the device from compute node and nova.conf
===How did I reproduce?===
1. Plug two different model PCI devices and add two PCI devices information into nova.conf in target compute node and each control node by following format:
2. Restart nova-api, nova-scheduler, and nova-compute.
Compute node only shows the last device I add.
But if I do some actions on instance with the flavor contained PCI passthrough info, it will be normal.
And database info is correct.
3. Remove one of the PCI device info from nova.conf (included target compute and controllers), restart services, shutdown the compute node and unplug the device.
(Note: The card ID of what I remove is 1002:68c8)
Power on the compute code and check nova-compute log, the report is correct.
===Expected result===
The info of removed device should be deleted or stayed at "DELETED" status in Nova DB.
===Actual result===
The info of removed device still exist and stayed at "AVAILABLE" status in Nova DB.
===Log and configs=== _whitelist in nova.conf paste.openstack .org/show/ 614973/
[1] Format of pci_alias and pci_passthrough
http://
[2] Nova-compute log after added info and restart service paste.openstack .org/show/ z015rYGXaxYhVoa fKdbx/
http://
[3] Nova-compute log after doing few actions on instance contained with PCI paste.openstack .org/show/ 614658/
http://
[4] Pci_devices table info in Nova DB after add devices paste.openstack .org/show/ 8JS0i6BMitjeBVR JTkRo/
http://
[5] Nova-compute log after remove one of the device and restart service paste.openstack .org/show/ qUCOX09jyeMydoY Hc8Oz/
http://
[6] Pci_devices table info in Nova DB after remove one of the device paste.openstack .org/show/ SnJ8AzJYD6wCo7j slIc2/
http://