Re: [openstack-dev] [nova] [libvirt] The risk of hanging when shutdown instance.

2015-03-28 Thread Rui Chen
Thank you for reply, Chris. 2015-03-27 23:15 GMT+08:00 Chris Friesen chris.frie...@windriver.com: On 03/26/2015 07:44 PM, Rui Chen wrote: Yes, you are right, but we found our instance hang at first dom.shutdown() call, if the dom.shutdown() don't return, there is no chance to execute

Re: [openstack-dev] [nova] [libvirt] The risk of hanging when shutdown instance.

2015-03-27 Thread Chris Friesen
On 03/26/2015 07:44 PM, Rui Chen wrote: Yes, you are right, but we found our instance hang at first dom.shutdown() call, if the dom.shutdown() don't return, there is no chance to execute dom.destroy(), right? Correct. The code is written assuming dom.shutdown() cannot block indefinitely. The

Re: [openstack-dev] [nova] [libvirt] The risk of hanging when shutdown instance.

2015-03-26 Thread Rui Chen
Yes, you are right, but we found our instance hang at first dom.shutdown() call, if the dom.shutdown() don't return, there is no chance to execute dom.destroy(), right? 2015-03-26 23:20 GMT+08:00 Chris Friesen chris.frie...@windriver.com: On 03/25/2015 10:15 PM, Rui Chen wrote: Hi all:

Re: [openstack-dev] [nova] [libvirt] The risk of hanging when shutdown instance.

2015-03-26 Thread Chris Friesen
On 03/25/2015 10:15 PM, Rui Chen wrote: Hi all: I found a discuss about the libvirt shutdown API maybe hang when shutdown instance in libvirt community, https://www.redhat.com/archives/libvir-list/2015-March/msg01121.html I'm not sure that whether there are some risks when we

[openstack-dev] [nova] [libvirt] The risk of hanging when shutdown instance.

2015-03-25 Thread Rui Chen
Hi all: I found a discuss about the libvirt shutdown API maybe hang when shutdown instance in libvirt community, https://www.redhat.com/archives/libvir-list/2015-March/msg01121.html I'm not sure that whether there are some risks when we shutdown instance in nova. Three questions: