Re: [openstack-dev] [nova][Libvirt] Disabling nova-compute when a connection to libvirt is broken.

2013-10-13 Thread Vladik Romanovsky
Thanks for the feedback.

I'm already working on this. Will send the patch for review, very soon.

Thanks,
Vladik

- Original Message -
From: Lingxian Kong anlin.k...@gmail.com
To: OpenStack Development Mailing List openstack-dev@lists.openstack.org
Sent: Saturday, October 12, 2013 5:42:15 AM
Subject: Re: [openstack-dev] [nova][Libvirt] Disabling nova-compute when a 
connection to libvirt is broken.

+1 for me. And I am willing to be a volunteer. 


2013/10/12 Joe Gordon  joe.gord...@gmail.com  



On Thu, Oct 10, 2013 at 4:47 AM, Vladik Romanovsky  
vladik.romanov...@enovance.com  wrote: 


Hello everyone, 

I have been recently working on a migration bug in nova (Bug #1233184). 

I noticed that compute service remains available, even if a connection to 
libvirt is broken. 
I thought that it might be better to disable the service (using 
conductor.manager.update_service()) and resume it once it's connected again. 
(maybe keep the host_stats periodic task running or create a dedicated one, 
once it succeed, the service will become available again). 
This way new vms wont be scheduled nor migrated to the disconnected host. 

Any thoughts on that? 

Sounds reasonable to me. If we can't reach libvirt there isn't much that 
nova-compute can / should do. 


Is anyone already working on that? 

Thank you, 
Vladik 

___ 
OpenStack-dev mailing list 
OpenStack-dev@lists.openstack.org 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev 


___ 
OpenStack-dev mailing list 
OpenStack-dev@lists.openstack.org 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev 




-- 
 
Lingxian Kong 
Huawei Technologies Co.,LTD. 
IT Product Line CloudOS PDU 
China, Xi'an 
Mobile: +86-18602962792 
Email: konglingx...@huawei.com ; anlin.k...@gmail.com 

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova][Libvirt] Disabling nova-compute when a connection to libvirt is broken.

2013-10-12 Thread Lingxian Kong
+1 for me. And I am willing to be a volunteer.


2013/10/12 Joe Gordon joe.gord...@gmail.com

 On Thu, Oct 10, 2013 at 4:47 AM, Vladik Romanovsky 
 vladik.romanov...@enovance.com wrote:

 Hello everyone,

 I have been recently working on a migration bug in nova (Bug #1233184).

 I noticed that compute service remains available, even if a connection to
 libvirt is broken.
 I thought that it might be better to disable the service (using
 conductor.manager.update_service()) and resume it once it's connected again.
 (maybe keep the host_stats periodic task running or create a dedicated
 one, once it succeed, the service will become available again).
 This way new vms wont be scheduled nor migrated to the disconnected host.

 Any thoughts on that?


 Sounds reasonable to me. If we can't reach libvirt there isn't much that
 nova-compute can / should do.


 Is anyone already working on that?

 Thank you,
 Vladik

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




-- 
**
*Lingxian Kong*
Huawei Technologies Co.,LTD.
IT Product Line CloudOS PDU
China, Xi'an
Mobile: +86-18602962792
Email: konglingx...@huawei.com; anlin.k...@gmail.com
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova][Libvirt] Disabling nova-compute when a connection to libvirt is broken.

2013-10-11 Thread Joe Gordon
On Thu, Oct 10, 2013 at 4:47 AM, Vladik Romanovsky 
vladik.romanov...@enovance.com wrote:

 Hello everyone,

 I have been recently working on a migration bug in nova (Bug #1233184).

 I noticed that compute service remains available, even if a connection to
 libvirt is broken.
 I thought that it might be better to disable the service (using
 conductor.manager.update_service()) and resume it once it's connected again.
 (maybe keep the host_stats periodic task running or create a dedicated
 one, once it succeed, the service will become available again).
 This way new vms wont be scheduled nor migrated to the disconnected host.

 Any thoughts on that?


Sounds reasonable to me. If we can't reach libvirt there isn't much that
nova-compute can / should do.


 Is anyone already working on that?

 Thank you,
 Vladik

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [nova][Libvirt] Disabling nova-compute when a connection to libvirt is broken.

2013-10-10 Thread Vladik Romanovsky
Hello everyone,

I have been recently working on a migration bug in nova (Bug #1233184). 

I noticed that compute service remains available, even if a connection to 
libvirt is broken.
I thought that it might be better to disable the service (using 
conductor.manager.update_service()) and resume it once it's connected again. 
(maybe keep the host_stats periodic task running or create a dedicated one, 
once it succeed, the service will become available again).
This way new vms wont be scheduled nor migrated to the disconnected host.

Any thoughts on that?
Is anyone already working on that?

Thank you,
Vladik

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev