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

2017-07-06 Thread Eddie Yen
Sorry, Re-new the nova-compute log after remove "1002:68c8" and restart nova-compute. http://paste.openstack.org/show/qUCOX09jyeMydoYHc8Oz/ 2017-07-07 10:37 GMT+08:00 Eddie Yen : > Hi Jay, > > Below are few logs and information you may want to check. > > > > I wrote GPU inforamtion into nova.con

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

2017-07-06 Thread Eddie Yen
Hi Jay, Below are few logs and information you may want to check. I wrote GPU inforamtion into nova.conf like this. pci_passthrough_whitelist = [{ "product_id":"0ff3", "vendor_id":"10de" }, { "product_id":"68c8", "vendor_id":"1002" }] pci_alias = [{ "product_id":"0ff3", "vendor_id":"10de", "d

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

2017-07-06 Thread Jay Pipes
Hmm, very odd indeed. Any way you can save the nova-compute logs from when you removed the GPU and restarted the nova-compute service and paste those logs to paste.openstack.org? Would be useful in tracking down this buggy behaviour... Best, -jay On 07/06/2017 08:54 PM, Eddie Yen wrote: Hi J

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

2017-07-06 Thread Eddie Yen
Uh wait, Is that possible it still shows available if PCI device still exist in the same address? Because when I remove the GPU card, I replace it to a SFP+ network card in the same slot. So when I type lspci the SFP+ card stay in the same address. But it still doesn't make any sense because the

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

2017-07-06 Thread Eddie Yen
Hi Jay, The status of the "removed" GPU still shows as "Available" in pci_devices table. 2017-07-07 8:34 GMT+08:00 Jay Pipes : > Hi again, Eddie :) Answer inline... > > On 07/06/2017 08:14 PM, Eddie Yen wrote: > >> Hi everyone, >> >> I'm using OpenStack Mitaka version (deployed from Fuel 9.2) >>

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

2017-07-06 Thread Jay Pipes
Hi again, Eddie :) Answer inline... On 07/06/2017 08:14 PM, Eddie Yen wrote: Hi everyone, I'm using OpenStack Mitaka version (deployed from Fuel 9.2) In present, I installed two different model of GPU card. And wrote these information into pci_alias and pci_passthrough_whitelist in nova.conf

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

2017-07-06 Thread Eddie Yen
Hi everyone, I'm using OpenStack Mitaka version (deployed from Fuel 9.2) In present, I installed two different model of GPU card. And wrote these information into pci_alias and pci_passthrough_whitelist in nova.conf on Controller and Compute (the node which installed GPU). Then restart nova-api,

Re: [Openstack] [OpenStack] [nova] How can I release PCI device resources without delete instance?

2017-07-06 Thread Jay Pipes
On 07/06/2017 02:17 AM, Eddie Yen wrote: Hi, now I got another problem. I have two models of GPU devices and I set both in pci_alias and pcli_passthrogh_whitelist on controller and compute node(with this two GPUs). Now I removed one of GPU and delete its data in nova.conf, then restart nova-a