Horizon tenant/user get calls fail for non-uuid IDs

Bug #1842004 reported by Andy Botting
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Andy Botting

Bug Description

In commit ac88796410802181860587eab257461f679b7f78 (Change-Id: I65aec86f4d894a9789eef6fc093ed95a95c46d9f), some error checking was implemented to ensure project and user IDs were UUIDs.

This error checking should be removed because some older OpenStack installations may have project and user IDs that are not necessarily UUIDs. These older installations were from a time when the Keystone DB schema used auto-incremented integers instead.

Changed in horizon:
assignee: nobody → Andy Botting (andybotting)
status: New → In Progress
Revision history for this message
Akihiro Motoki (amotoki) wrote :

This breaks long-living OpenStack clouds from the era where keystone uses non-UUID for project/user ID.

Changed in horizon:
importance: Undecided → High
tags: added: stein-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/680454

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

Reviewed: https://review.opendev.org/677579
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=c238b519f3e10ba6aa119b5ebc2bf30b2610bf16
Submitter: Zuul
Branch: master

commit c238b519f3e10ba6aa119b5ebc2bf30b2610bf16
Author: Andy Botting <email address hidden>
Date: Wed Aug 21 08:35:57 2019 +1000

    Revert "Raise NotFound error when retrieved by not uuid"

    In the early days of OpenStack, user and project ids were not
    uuids, but auto-incremented integers.

    Since those early days, many operators fought long battles
    against the unrelenting OpenStack behemoth.

    Only those heroic operators who emerged victorious from the
    brutal upgrade battles can show the scars of those integer
    user and project ids like badges of honour.

    Closes-Bug: #1842004
    Change-Id: I0c3e3465e8e7499c94d1a82b7295aeec13955e55

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

This issue was fixed in the openstack/horizon 16.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/stein)

Reviewed: https://review.opendev.org/680454
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=5532029bf02543a83450d86e7453e181d5ca43a7
Submitter: Zuul
Branch: stable/stein

commit 5532029bf02543a83450d86e7453e181d5ca43a7
Author: Andy Botting <email address hidden>
Date: Wed Aug 21 08:35:57 2019 +1000

    Revert "Raise NotFound error when retrieved by not uuid"

    In the early days of OpenStack, user and project ids were not
    uuids, but auto-incremented integers.

    Since those early days, many operators fought long battles
    against the unrelenting OpenStack behemoth.

    Only those heroic operators who emerged victorious from the
    brutal upgrade battles can show the scars of those integer
    user and project ids like badges of honour.

    Closes-Bug: #1842004
    Change-Id: I0c3e3465e8e7499c94d1a82b7295aeec13955e55
    (cherry picked from commit c238b519f3e10ba6aa119b5ebc2bf30b2610bf16)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 15.1.1

This issue was fixed in the openstack/horizon 15.1.1 release.

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.