Trying to disable one of your multiple nova compute nodes?
Perhaps you already tried the following command:
nova-manage service disable --host=<node name> --service=nova-compute
nova-manage service disable --host=<node name> --service=nova-network
And it didn't work :( and you see VM's spinning up on nodes that were supposed to be disabled :( :( :(
OpenStack Made Easy :)
Try one of the following options:
- Run the following command:
$ nova host-update --maintenance [enable | disable]
2. One of the other approaches I've seen taken with good success is to use Host Aggregates . You have a 'production' aggregate that will be used for normal scheduling, and another aggregate (e.g. 'maintenance').
*We also recommend to read the following article Maintenance, Failures, and Debugging