v2.0/extensions API exposes v3-only APIs

Bug #1746798 reported by Lance Bragstad
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Low
Colleen Murphy

Bug Description

The v2.0 API has an /extensions path that helps discoverability of extensions for v2.0 enabled for that deployment. When asking for v2.0 enabled extensions, you actually get APIs that are meant only for v3.

To recreate, just ask v2.0 for it's extensions, something like:

$ curl -X GET -H "Content-Type: application/json" http://192.168.122.160:35357/v2.0/extensions

Which gives you something like this:

http://paste.openstack.org/show/658357/

Revision history for this message
Lance Bragstad (lbragstad) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

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

Changed in keystone:
assignee: nobody → Lance Bragstad (lbragstad)
status: New → In Progress
Revision history for this message
Lance Bragstad (lbragstad) wrote :

The following specification, which landed in Kilo, does contain some information on the removal of the extensions model, but it doesn't really say anything about dealing with them in v2.0 [0].

[0] http://specs.openstack.org/openstack/keystone-specs/specs/keystone/kilo/replace_extensions.html

Revision history for this message
Adam Young (ayoung) wrote :

Extensions should go away. They were not v2.0 or v3 specific.

Revision history for this message
Lance Bragstad (lbragstad) wrote :

Thanks for the follow up, Adam. I've removed them in the latest patch set. I think that also makes sense because we're only supporting the ec2tokens API on the v2.0 path until T, which doesn't mean we have to support the extensions API.

Changed in keystone:
milestone: none → queens-rc1
Changed in keystone:
importance: Undecided → Low
Changed in keystone:
assignee: Lance Bragstad (lbragstad) → Colleen Murphy (krinkle)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

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

commit d5e9c0b4fe814ba6e6d36a7d1ea676914c79e5eb
Author: Lance Bragstad <email address hidden>
Date: Thu Feb 1 21:14:50 2018 +0000

    Remove all v2.0 APIs except the ec2tokens API

    The only API we're supporting on the v2.0 path until the T release is
    the ec2tokens API. This commit removes all routers from the public
    and admin v2.0 applications. This includes the extensions API. This
    commit also removes unused v2.0 controller logic.

    Change-Id: I523c1215899ac9ee605df6bf717643c0ba87c761
    Closes-Bug: 1746798

Changed in keystone:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/keystone 13.0.0.0rc1

This issue was fixed in the openstack/keystone 13.0.0.0rc1 release candidate.

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.