← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1208627] Re: Try except block in the aggregates extension masks real errors

 

** 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/1208627

Title:
  Try except block in the aggregates extension masks real errors

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Change I788782a9f21ec2672551f75123753175bb268586 introduced new checks
  for the hosts in availability zones. However there were errors in some
  of the logic in the codes here and it would generate a key error. When
  this exception was raised it was caught by the try except block in the
  AggregateController class. This then hid the true cause of the failure
  because the except block converts the key error into a HTTPBadRequest
  with the message: "'Aggregates does not have add_host action".

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