[Openstack] Disable compute node from accepting new VMs?

David Medberry openstack at medberry.net
Tue Aug 2 22:34:15 UTC 2016


nova service-disable $SHORTNAME nova-compute --reason
NO_MORE_SCHEDULING_HERE

will prevent new VMs from going on but doesn't do anything with existing.

On Tue, Aug 2, 2016 at 3:01 PM, Ken D'Ambrosio <ken at jots.org> wrote:

> Hi, all.  Trying to figure out how to disable a compute node from getting
> new VMs scheduled for it on my Liberty cloud.  I did see the "nova
> host-update --maintenance" command, but (as noted elsewhere) it seems not
> to work for KVM-based VMs.  Is there a way to accomplish what I'm looking
> to do?  Note that I'm not looking to take the host down, just take it out
> of the pool of compute hosts ready to accept new VMs.
>
> Thanks!
>
> -Ken
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160802/ae8a04f0/attachment.html>


More information about the Openstack mailing list