nova ec2-api: DescribeTags search filter should be AND

Bug #1190845 reported by Burt Holzman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Burt Holzman

Bug Description

From: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeTags.html

You can specify multiple filters (for example, specify a specific resource type and tag values that contain the string database). The response includes information for a tag only if it matches all the filters that you specified. If there's no match, no special message is returned, the response is simply empty.

We just pass the search filters up to db._instance_metadata_get_all, which does a OR of the search filters, but EC2 requires an AND.

Tags: ec2 nova
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/35822

Changed in nova:
assignee: nobody → Burt Holzman (holzman)
status: New → In Progress
Revision history for this message
Burt Holzman (holzman) wrote :
Changed in nova:
status: In Progress → Fix Released
Thierry Carrez (ttx)
Changed in nova:
status: Fix Released → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-3 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.