Hi,

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)
            LOG.error(msg)
            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 
down/dead/powered-off.

Thanks and Regards,
Ratnaker R Katipally
Software Developer, Powervc
ISTL-Cloud Systems Software
ratnaker.katipa...@in.ibm.com
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to