v3 - `type` field unclear for create service operation

Bug #1466882 reported by Jamie Hannaford
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Diane Fleming

Bug Description

The create service operation (http://developer.openstack.org/api-ref-identity-v3.html#createService), has a required key called "type", but the accompanying description is really unclear.

"""
The MIME Media Type of the serialized policy blob.
"""

I have no idea what this means - could we have a more accessible and assumption-free definition? :)

Revision history for this message
Anne Gentle (annegentle) wrote :

Agreed. Subscribing some keystone devs.

Revision history for this message
Dolph Mathews (dolph) wrote :

From keystone's perspective, a policy blob can be based on any technology. oslo.policy's policy.json (and thus type="application/json") is the conventional solution in OpenStack today, but you might want to use an alternative policy engine which uses a policy language of a different type (for example, type="application/xacml+xml").

Anne Gentle (annegentle)
Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → Medium
Changed in openstack-api-site:
assignee: nobody → Diane Fleming (diane-fleming)
milestone: none → liberty
Revision history for this message
Diane Fleming (diane-fleming) wrote :

The error is in the "create policy" call. The "create service" call included the wrong "type" request parameter, which I corrected in addition to the create policy "type" parameter description.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to api-site (master)

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

Changed in openstack-api-site:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/215841
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=82fbf10b8b2a6e7ce7482b8b8335b9cfb5ef4e30
Submitter: Jenkins
Branch: master

commit 82fbf10b8b2a6e7ce7482b8b8335b9cfb5ef4e30
Author: Diane Fleming <email address hidden>
Date: Fri Aug 21 18:58:46 2015 -0500

    Fix "type" description for create service and create policy

    Change-Id: Iba2b245f6acd39c538647327f53e7473468733ac
    Closes-Bug: #1466882

Changed in openstack-api-site:
status: In Progress → Fix Released
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.