Project Tags Documentation Wrong - Create Tag

Bug #1756140 reported by Gage Hugo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Low
Gage Hugo

Bug Description

The API ref for Adding a single tag[0] to a project has the wrong response parameters. Currently it states that the response will be an array of tags when adding a single tag to a project. However this does not match the current implementation in keystone as well as the API-WG spec for tags[1].

Fix will be to remove the parameters from the response since it returns no body and a 201.

[0] https://developer.openstack.org/api-ref/identity/v3/#add-single-tag-to-a-project
[1] https://specs.openstack.org/openstack/api-wg/guidelines/tags.html#addressing-individual-tags

Gage Hugo (gagehugo)
Changed in keystone:
status: New → Triaged
Changed in keystone:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/553422
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=d10bafeb04b60f899d2618985a8f7a6ad7b21ade
Submitter: Zuul
Branch: master

commit d10bafeb04b60f899d2618985a8f7a6ad7b21ade
Author: Gage Hugo <email address hidden>
Date: Thu Mar 15 09:40:44 2018 -0500

    Fix api-ref for project tag create

    Keystone currently returns a 201 with no body when creating a single
    project tag by calling /v3/projects/{id}/tags/{value}, however the
    current api documentation states that an array of tags is returned.

    This is inconsistent with the current implementation which matches the
    api-wg spec[0] for tags.

    [0] https://specs.openstack.org/openstack/api-wg/guidelines/tags.html#addressing-individual-tags

    Closes-Bug: #1756140

    Change-Id: Ia15be1c79a6e8718b3613a16383ce0f5af839013

Changed in keystone:
status: In Progress → Fix Released
Changed in keystone:
milestone: none → rocky-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/keystone 14.0.0.0b1

This issue was fixed in the openstack/keystone 14.0.0.0b1 development milestone.

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.