** Changed in: nova
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1230282

Title:
  Incorrect exception raised during evacuate instance

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  An incorrect exception, which looks to contradict the corresponding log 
message logged
  at this scenario seems to be raised in the evacuate instance API.

  Evacuate instance needs to check that the compute service is actually down to 
perform evacuation of an instance,
  but the exception raised when this check fails is incorrect:

  https://github.com/openstack/nova/blob/master/nova/compute/api.py#L2907
      if self.servicegroup_api.service_is_up(service):
         ....

  logs the message "Instance compute service state on <compute_host> expected 
to be down, but it was up." 
  if the check passes, but raises the exception 
exception.ComputeServiceUnavailable(Instance compute service state on 
<compute_host> expected to be down, but it was up.)

  The exception raised and the message logged are contradictory.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1230282/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to