nova ec2-api: tags related calls do not work

Bug #1096821 reported by Stephen Gran
30
This bug affects 7 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Wishlist
Stephen Gran

Bug Description

The API calls DescribeTags, CreateTags and DeleteTags do not work. Additionally, search by tags doesn't work as a result of this.

In order for searching by tags to work, there will need to be a CRUD layer for tags themselves, and https://bugs.launchpad.net/nova/+bug/922835 will need to be fixed to pass the additional filter parameters through to the search methods.

Tags: ec2
tags: added: ec2
Chuck Short (zulcss)
Changed in nova:
importance: Undecided → Wishlist
status: New → Confirmed
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/23256

Changed in nova:
assignee: nobody → Stephen Gran (sgran)
status: Confirmed → In Progress
Changed in nova:
milestone: none → havana-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/23256
Committed: http://github.com/openstack/nova/commit/55a04a4bc3228e698bb84a641d50507810ae9a02
Submitter: Jenkins
Branch: master

commit 55a04a4bc3228e698bb84a641d50507810ae9a02
Author: Stephen Gran <email address hidden>
Date: Fri Mar 1 08:22:16 2013 +0000

    Add CRUD methods for tags to the EC2 API.

    This is an incomplete implementation of the EC2 tags API. In EC2, most
    resources are able to be tagged. See
    http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html

    In openstack, the only currently 'taggable' resource is an instance, as
    it has an instance_metadata table associated. So far, only instance
    tagging has been implemented, but it is relatively simple to extend this
    to other resource types by creating the associated model and api calls.

    Additionally, in EC2 searches, shell-style globs are allowed, eg:
    fo* will match fo, foo, foobar
    fo? will match foo

    This has been left to do at a later date.

    DocImpact: Adds new API calls: CreateTags, DeleteTags, DescribeTags
    See:
    http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-CreateTags.html
    http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteTags.html
    http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeTags.html

    Fixes: bug #1096821
    Implements: blueprint ec2-tags-api

    Change-Id: Idf1108f6a3476cabdbdb32ff41c00aa4bc2d9ffe
    Signed-off-by: Stephen Gran <email address hidden>

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-1 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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