Bug 1332325 - User list as project admin after IDM integration from Horizon dashboard throwing an error
Summary: User list as project admin after IDM integration from Horizon dashboard throw...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: async
: 8.0 (Liberty)
Assignee: Jason E. Rist
QA Contact: Ido Ovadia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-02 23:27 UTC by Andreas Karis
Modified: 2019-11-14 07:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 15:46:21 UTC
Target Upstream Version:


Attachments (Terms of Use)
01 (14.33 KB, image/png)
2016-05-02 23:27 UTC, Andreas Karis
no flags Details
02 (31.85 KB, image/png)
2016-05-02 23:27 UTC, Andreas Karis
no flags Details
03 (42.11 KB, image/png)
2016-05-02 23:27 UTC, Andreas Karis
no flags Details
04 (18.15 KB, image/png)
2016-05-02 23:28 UTC, Andreas Karis
no flags Details
05 (31.91 KB, image/png)
2016-05-02 23:28 UTC, Andreas Karis
no flags Details
06 (48.09 KB, image/png)
2016-05-02 23:28 UTC, Andreas Karis
no flags Details
07 (37.43 KB, image/png)
2016-05-02 23:29 UTC, Andreas Karis
no flags Details
08 (40.93 KB, image/png)
2016-05-02 23:29 UTC, Andreas Karis
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1415588 0 None None None 2016-06-16 10:07:50 UTC

Description Andreas Karis 2016-05-02 23:27:18 UTC
Created attachment 1153085 [details]
01

Upstream bug which was marked as invalid:
https://bugs.launchpad.net/horizon/+bug/1415588

Knowledge base article:
https://access.redhat.com/solutions/2287551

=======================================================

"Text from the knowledge base article:

    When managing users with IDM and integrate IDM as identity provider, a project admin in Openstack gets the following message while retrieving the user list from Horizon dashboard.

Raw

Error: Unauthorized: Unable to retrieve user list.

    Why every time a project admin tries to retrieve the Identity/Users tab in Horizon is getting failed with following message in /var/log/keystone/keystone.log file ?

Raw

2016-04-27 12:42:40.237 14936 WARNING keystone.common.controller [-] No domain information specified as part of list request
2016-04-27 12:42:40.238 14936 WARNING keystone.common.wsgi [-] Authorization failed. The request you have made requires authentication. (Disable debug mode to suppress these details.) (Disable debug mode to suppress these details.) from 10.x.x.x.

Resolution

    This is expected behaviour, we need to set the domain context in horizon dashboard before trying to list the users.

Raw

1) Identity --> Domains --> Click on "Set Domain Context" corresponding to domain on which users are present.
2) Once this domain is selected then click on "users" tab to see the users present."

=======================================================

See screenshots 04 - 08 (attachments).

Even though this might be "correct" behaviour, I'm opening this bug because the error message is distubing for users. If this is expected behaviour, then we shouldn't see an error message, but a warning / instruction of how to do it right. Alternatively, users should be able to choose their default domain context and not be confronted with this issue at all.

=======================================================

There is an additional issue:
When users change /etc/openstack-dashboard/local_settings to
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = False
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = '<ACTIVE_DIRECTORY_DOMAIN>'
then there is no way to select "Set Domain Context" under "Domains". Please refer to screenshots 01 to 03.

Comment 2 Andreas Karis 2016-05-02 23:27:42 UTC
Created attachment 1153086 [details]
02

Comment 3 Andreas Karis 2016-05-02 23:27:59 UTC
Created attachment 1153087 [details]
03

Comment 4 Andreas Karis 2016-05-02 23:28:20 UTC
Created attachment 1153088 [details]
04

Comment 5 Andreas Karis 2016-05-02 23:28:35 UTC
Created attachment 1153089 [details]
05

Comment 6 Andreas Karis 2016-05-02 23:28:51 UTC
Created attachment 1153090 [details]
06

Comment 7 Andreas Karis 2016-05-02 23:29:07 UTC
Created attachment 1153092 [details]
07

Comment 8 Andreas Karis 2016-05-02 23:29:22 UTC
Created attachment 1153093 [details]
08

Comment 14 Jason E. Rist 2018-10-30 15:46:21 UTC
Closing. If this still seems like an issue, please re-open.

This is part of a bug closing  action due to lack of resources.
Age >3 months + Priority < High + No active customer reference


Note You need to log in before you can comment on or make changes to this bug.