← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1400764] [NEW] Compute manager NotFound exception inconsistent

 

Public bug reported:

Nova compute manager calls the compute driver to get the instance state
in both _get_power_state() and _query_driver_power_state_and_sync(),
however it's inconsistent in what exception is expected when an instance
does not exist.


In _get_power_state() it expects NotFound and returns NOSTATE

In _query_driver_power_state_and_sync() it expects InstanceNotFound and
uses NOSTATE as the current instance state.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1400764

Title:
  Compute manager NotFound exception inconsistent

Status in OpenStack Compute (Nova):
  New

Bug description:
  Nova compute manager calls the compute driver to get the instance
  state in both _get_power_state() and
  _query_driver_power_state_and_sync(), however it's inconsistent in
  what exception is expected when an instance does not exist.

  
  In _get_power_state() it expects NotFound and returns NOSTATE

  In _query_driver_power_state_and_sync() it expects InstanceNotFound
  and uses NOSTATE as the current instance state.

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


Follow ups

References