yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05072
[Bug 872536] Re: nova.compute.api should raise exceptions when the api process terminated
** Changed in: openstack-qa
Status: In Progress => Won't Fix
** Changed in: nova
Status: Confirmed => Invalid
--
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/872536
Title:
nova.compute.api should raise exceptions when the api process
terminated
Status in OpenStack Compute (Nova):
Invalid
Status in OpenStack QA:
Won't Fix
Bug description:
nova.compute.api raises exception inconsistently.
For example, start method didn't raise exception when this api stops without processing request.
def start(self, context, instance_id):
"""Start an instance."""
LOG.debug(_("Going to try to start %s"), instance_id)
instance = self._get_instance(context, instance_id, 'starting')
vm_state = instance["vm_state"]
if vm_state != vm_states.STOPPED:
LOG.warning(_("Instance %(instance_id)s is not "
"stopped. (%(vm_state)s)") % locals())
return
All method in nova.compute.api returns exceptions, when they didn't
process a request.
Following methods have this problems.
-start
-delete
-soft_delete
-stop
-restore
-force_delete
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/872536/+subscriptions