metadef tags create api does not match blue-print

Bug #1419945 reported by Wayne
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Critical
Wayne

Bug Description

The blueprint for metadef tags shows:
Create / Replace all tags in a specific namespace
    POST /metadefs/namespaces/{namespace}/tags/
and
Add tag in a specific namespace:
    POST /metadefs/namespaces/{namespace}/tags/{tag}

Unfortunately, these were implemented as:
Create / Replace all tags in a specific namespace
    PUT /metadefs/namespaces/{namespace}/tags/
and
    POST /metadefs/namespaces/{namespace}/tags/

This bug seeks to rectify this situation and use the correct action/URI.
Even though the metadef tag library has been checked in, the associated python-glanceclient check in has not been approved yet. Additionally, the specs for the metadef tag changes have not been posted anywhere yet, so, hopefully this can be changed with minimal impact.

Wayne (wayne-okuma)
Changed in glance:
assignee: nobody → Wayne (wayne-okuma)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

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

Changed in glance:
status: New → In Progress
Ian Cordasco (icordasc)
Changed in glance:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/154229
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=a12ce4e0e433c814b9f88a27616d4efd4d84af4f
Submitter: Jenkins
Branch: master

commit a12ce4e0e433c814b9f88a27616d4efd4d84af4f
Author: Wayne Okuma <email address hidden>
Date: Mon Feb 9 12:37:17 2015 -0800

    The metadef tags create api does not match blue-print

    The blueprint for metadef tags shows:
    Create / Replace all tags in a specific namespace
        POST /metadefs/namespaces/{namespace}/tags/
    and
    Add tag in a specific namespace:
        POST /metadefs/namespaces/{namespace}/tags/{tag}

    Unfortunately, these were implemented as:
    Create / Replace all tags in a specific namespace
        PUT /metadefs/namespaces/{namespace}/tags/
    and
        POST /metadefs/namespaces/{namespace}/tags/

    This bug seeks to rectify this situation and use the correct
    action/URI. Even though the metadef tag library has been checked in,
    the associated python-glanceclient check in has not been approved yet.
    Additionally, the specs for the metadef tag changes have not been posted
    anywhere, so, hopefully this can be changed with minimal impact.

    Change-Id: I7d46c529e50b69a386ad7162c65187cec4b66249
    Closes-Bug: 1419945

Changed in glance:
status: In Progress → Fix Committed
Changed in glance:
milestone: none → kilo-3
importance: Low → Critical
Thierry Carrez (ttx)
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: kilo-3 → 2015.1.0
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.