← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1201283] Re: Aggregate metadata filtering by key returns unrelated metadata

 

** Changed in: nova/grizzly
       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/1201283

Title:
  Aggregate metadata filtering by key returns unrelated metadata

Status in OpenStack Compute (Nova):
  Fix Committed
Status in OpenStack Compute (nova) grizzly series:
  Fix Released

Bug description:
  Filtering metadata by key using these two DB functions doesn't work
  correctly:

  aggregate_metadata_get_by_host
  aggregate_host_get_by_metadata_key

  In both cases the function returns metadata from keys other than the
  target key. This looks due to the code following the
  Aggregate._metadata relationship which is independent from any
  filtering done in the original query due to the joinedload().

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