service catalog in token contains legacy_endpoint_id and enabled fields

Bug #1302075 reported by Adam Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Dolph Mathews

Bug Description

regression of bug 1152635

Endpoints in the token look like this:

v3 [{"url": "http://192.168.187.14:8774/v2/5d15013cbebd4b1e95ad3b5785c866f7", "region": "RegionOne", "interface": "admin", "id": "486ce25c849b471a806d55304cd18191"}, {"url": "http://192.168.187.14:8774/v2/5d15013cbebd4b1e95ad3b5785c866f7", "region": "RegionOne", "interface": "internal", "id": "63076e278a9e4560a08ce962e49c3618"}, {"url": "http://192.168.187.14:8774/v2/5d15013cbebd4b1e95ad3b5785c866f7", "region": "RegionOne", "interface": "public", "id": "9b6e089b91734c508bbe117ea0865c76"}]

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

This is bloating the service catalog and breaking Apache deployes

Changed in keystone:
assignee: nobody → Adam Young (ayoung)
milestone: none → icehouse-rc2
status: New → Incomplete
importance: Undecided → Critical
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/85147

Changed in keystone:
status: Incomplete → In Progress
Revision history for this message
Dolph Mathews (dolph) wrote :

Neither of these attributes appear in the spec [1] for catalogs, but neither appear in the JSON snippet in the bug description either?

[1] https://github.com/openstack/identity-api/blob/master/openstack-identity-api/v3/src/markdown/identity-api-v3.md

Changed in keystone:
importance: Critical → Medium
Changed in keystone:
assignee: Adam Young (ayoung) → Dolph Mathews (dolph)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/85433

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/85434

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/85147
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=717917c576ebcc8f62131d874f27cd4ec285959f
Submitter: Jenkins
Branch: master

commit 717917c576ebcc8f62131d874f27cd4ec285959f
Author: Adam Young <email address hidden>
Date: Thu Apr 3 13:21:23 2014 -0400

    Remove legacy_endpoint_id and enabled from service catalog

    Those two fields are for internal use, and should not be in the token.

    The token size was expanding past the threshold where it could
    be passed between a wsgi process and Apache HTTPD, even for
    a basic, devstack sized catalog. This reduces the size.

    Change-Id: Ic8eb70e519a8a35fd05b497d917f9889e82b6e7f
    Closes-Bug: 1302075

Changed in keystone:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (milestone-proposed)

Reviewed: https://review.openstack.org/85433
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=4f0b42ea827f811b961b63042b6ee912d1afbcc0
Submitter: Jenkins
Branch: milestone-proposed

commit 4f0b42ea827f811b961b63042b6ee912d1afbcc0
Author: Adam Young <email address hidden>
Date: Thu Apr 3 13:21:23 2014 -0400

    Remove legacy_endpoint_id and enabled from service catalog

    Those two fields are for internal use, and should not be in the token.

    The token size was expanding past the threshold where it could
    be passed between a wsgi process and Apache HTTPD, even for
    a basic, devstack sized catalog. This reduces the size.

    Change-Id: Ic8eb70e519a8a35fd05b497d917f9889e82b6e7f
    Closes-Bug: 1302075

Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: icehouse-rc2 → 2014.1
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.