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

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

2017-07-06 Thread Eddie Yen
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-api, nova-scheduler (Controller) and

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

2017-07-05 Thread Eddie Yen
Thanks Kevin, This is another good option to solve IP problem for me. I'll note this. Eddie. 2017-07-06 11:10 GMT+08:00 Kevin Benton : > As a stop gap for the IP problem, keep in mind that you can create a > neutron port separately and boot the instance to it. Then when you

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

2017-07-05 Thread Kevin Benton
As a stop gap for the IP problem, keep in mind that you can create a neutron port separately and boot the instance to it. Then when you delete the instance the port will remain and hold onto the IP so you can boot to it with a different instance later. On Jul 5, 2017 18:31, "Eddie Yen"

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

2017-07-05 Thread Eddie Yen
Hi, thanks for reply first! After I tried shelve instance, yes it really release GPU resources. But as Dinesh said, can't unshelve this instance if all GPUs occupied. Before known about shelve instance, I have do few approach. One is using "resize" the instance's flavor to non-GPU flavor, but

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

2017-07-05 Thread Jay Pipes
On 07/05/2017 04:18 AM, Eddie Yen wrote: Hi everyone, I'm using OpenStack Mitaka (which deployed from Fuel 9.2) and doing GPU things. I got a problem is I need to delete current instance which contains GPU to release device if I want assign GPU to another new instance temperately. I'll

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

2017-07-05 Thread Bhor, Dinesh
penstack@lists.openstack.org Subject: [Openstack] [OpenStack] [nova] How can I release PCI device resources without delete instance? Hi everyone, I'm using OpenStack Mitaka (which deployed from Fuel 9.2) and doing GPU things. I got a problem is I need to delete current instance which contains GPU to

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

2017-07-05 Thread Eddie Yen
Hi everyone, I'm using OpenStack Mitaka (which deployed from Fuel 9.2) and doing GPU things. I got a problem is I need to delete current instance which contains GPU to release device if I want assign GPU to another new instance temperately. I'll got "No valid host was found" if I creating new