Re: [Openstack] [nova] Database not delete PCI info after device is removed from host and nova.conf

2017-07-10 Thread Jay Pipes
Unfortunately, Eddie, I'm not entirely sure what is going on with your situation. According to the code, the non-existing PCI device should be removed from the pci_devices table when the PCI manager notices the PCI device is no longer on the local host... On 07/09/2017 08:36 PM, Eddie Yen wrot

Re: [Openstack] [nova] Database not delete PCI info after device is removed from host and nova.conf

2017-07-10 Thread Eddie Yen
Roger that, I may going to report this bug on the OpenStack Compute (Nova) Launchpad to see what happen. Anyway, thanks for ur help, really appreciate. Eddie. 2017-07-11 8:12 GMT+08:00 Jay Pipes : > Unfortunately, Eddie, I'm not entirely sure what is going on with your > situation. According

Re: [Openstack] [nova] Database not delete PCI info after device is removed from host and nova.conf

2017-07-10 Thread Moshe Levi
Hi Eddie, Looking on the your nova database after the delete looks correct to me. | created_at | updated_at | deleted_at | deleted | id | 2017-06-21 00:56:06 | 2017-07-07 02:27:16 | NULL| 0 | 2 | 2017-07-07 01:42:48 | 2017-07-07 02:13:14 | 2017

Re: [Openstack] [nova] Database not delete PCI info after device is removed from host and nova.conf

2017-07-10 Thread Eddie Yen
Oops, I just report this issue on the Launchpad at last moment. Thanks Moshe, I'll try this commit. 2017-07-11 9:13 GMT+08:00 Moshe Levi : > Hi Eddie, > > > > > Looking on the your nova database after the delete looks correct to me. > > | created_at | updated_at | deleted_at

Re: [Openstack] [nova] Database not delete PCI info after device is removed from host and nova.conf

2017-07-10 Thread Eddie Yen
Hi, After I tried a patch, it seems like I need to modify more python codes on my OpenStack version. Not only patched from that site, but also nova-conductor and oslo_versionedobjects. Because it will going to check version and seems like pci_device.py version only support up to 1.5 on my platform