Prompt 'Could not retrieve projects' when get tenants filtered by id

Bug #1800600 reported by Wangliangyu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
New
Low
Unassigned

Bug Description

On identity-projects page:
  Retrieve project list filtered by id, wihch is not uuid format like '%',
there will throw an error message on top-right page.
And the same for identity-users page.

It is reasonable that return an empty list without error prompt.

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

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

Changed in horizon:
assignee: nobody → Wangliangyu (wangly)
status: New → In Progress
Wangliangyu (wangly)
description: updated
Changed in horizon:
assignee: Wangliangyu (wangly) → Ivan Kolodyazhny (e0ne)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

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

commit ac88796410802181860587eab257461f679b7f78
Author: wangliangyu <email address hidden>
Date: Tue Oct 30 16:14:55 2018 +0800

    Raise NotFound error when retrieved by not uuid

    On identity-projects page:
      Retrieve project list filtered by id which is not uuid format like '%',
    there will throw an error message on top-right page.
    And the same for identity-users page.

    It is reasonable that return an empty list without error prompt.

    Change-Id: I65aec86f4d894a9789eef6fc093ed95a95c46d9f
    Closes-Bug: #1800600

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

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

Revision history for this message
Akihiro Motoki (amotoki) wrote :

It turns out that the fix merged breaks long-living OpenStack clouds from the era where keystone used an integer for project/user ID. We decided to revert the fix for this considering the importance of the impact caused by the above change.

Changed in horizon:
status: Fix Released → New
importance: Undecided → Low
assignee: Ivan Kolodyazhny (e0ne) → nobody
Revision history for this message
Akihiro Motoki (amotoki) wrote :

bug 1842004 reported the regression by this. https://review.opendev.org/#/c/677579/2/ is the proposed revert.

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.