← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1400764] Re: Compute manager NotFound exception inconsistent

 

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

** Changed in: nova
    Milestone: None => kilo-2

-- 
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):
  Fix Released

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


References