[openstack-dev] To evacuate it is not mandatory to have compute service down but mandatory to have host down/powered-off/dead

Ratnaker Katipally ratnaker.katipally at in.ibm.com
Thu Apr 16 04:45:20 UTC 2015


In the API.py of /nova/compute/ 

We are checking for compute service status in evacuate(..) method.

        if self.servicegroup_api.service_is_up(service):
            msg = (_('Instance compute service state on %s '
                     'expected to be down, but it was up.') % inst_host)
            raise exception.ComputeServiceUnavailable(msg)

But It is not necessarily required for the compute service to be down but 
we can consider compute service is still up when host is 

Thanks and Regards,
Ratnaker R Katipally
Software Developer, Powervc
ISTL-Cloud Systems Software
ratnaker.katipally at in.ibm.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150416/c5213910/attachment.html>

More information about the OpenStack-dev mailing list