Description of problem: nova host-update <uuid> --maintenance enable fails when using the kvm compute plugin. This bug exists upstream here: https://bugs.launchpad.net/nova/+bug/1465176 Version-Release number of selected component (if applicable): RHEL-OSP 7 GA How reproducible: 100% Steps to Reproduce: 1. run the above command 2. 3. Actual results: fails, I don't have an environment to run the command on to give the exact output ATM Expected results: Put's compute node in maintenance mode Additional info: As a workaround you can run the following command from one of the controller nodes (after pulling in the overcloudrc file from the undercloud): # nova-manage service disable --host <host> --service openstack-nova-compute
I get: ERROR (NotFound): Compute host <UUID> could not be found. (HTTP 404) (Request-ID: req-17bbf512-3a9d-4bab-bd81-507f7297e73a)
Host maintenance mode is a Xen specific concept and as such is not implemented by the other drivers. The closest equivalent for Libvirt/KVM today is to disable the service (the stated workaround) and call host-evacuate (or alternatively issue host-servers-migrate or host-evacuate-live before disabling the service).