Bug 1628656 - No "create role" button in Horizon dashboard.
Summary: No "create role" button in Horizon dashboard.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-horizon
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: beta
: 14.0 (Rocky)
Assignee: Radomir Dopieralski
QA Contact: Andrey Fiodorov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-13 16:05 UTC by Andrey Fiodorov
Modified: 2019-01-11 11:53 UTC (History)
11 users (show)

Fixed In Version: puppet-horizon-13.3.1-0.20181013114958.c02fb6f.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-11 11:53:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 579085 0 None None None 2018-09-21 10:41:26 UTC
OpenStack gerrit 604329 0 None None None 2018-09-21 10:56:16 UTC
OpenStack gerrit 608244 0 None None None 2018-10-05 11:55:30 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:53:16 UTC

Description Andrey Fiodorov 2018-09-13 16:05:10 UTC
Description of problem:
In Horizon dashboard there's no "create role" button in "Roles" page.

Version-Release number of selected component (if applicable):
python-django-horizon-14.0.1-0.20180903221923.e975afd.el7ost.2.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install OSP14-passed-phase1(containerized)
2. deploy overcloud
3. Login to Horizon dashboard with admin user
4. Go to Identify->Roles

Actual results:
Here is no "create role" button.

Expected results:
"Create role" button should be in this page.

Additional info:
puddle from: 2018.09.06

Link to test run in polation:
https://polarion.engineering.redhat.com/polarion/#/project/RHELOpenStackPlatform/workitem?id=RHELOSP-12048

Comment 3 Radomir Dopieralski 2018-09-20 14:04:08 UTC
I can reproduce this with osp14, but not with the upstream master, so there must be a patch that fixes it that we missed. I will try to find it and backport it.

Comment 5 Radomir Dopieralski 2018-09-21 10:12:14 UTC
Can you please check if the OPENSTACK_KEYSTONE_BACKEND setting in /etc/openstack-dashboard/local_settings contains the setting "'can_edit_role': True,"?

Can you also check /etc/openstack-dashboard/keystone_policy.json and see what is the policy for "create_role"?

Comment 6 Radomir Dopieralski 2018-09-21 10:41:26 UTC
I found the problem. The REST_API_REQUIRED_SETTINGS setting needs to contain 'OPENSTACK_KEYSTONE_BACKEND' as per https://review.openstack.org/#/c/579085/

That needs to be added to the template for local_settings file for Horizon.

Comment 16 Udi Kalifon 2018-11-23 17:29:08 UTC
Verified: python-django-horizon-14.0.1-0.20181006183341.19865ee.el7ost.noarch

Comment 18 errata-xmlrpc 2019-01-11 11:53:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:0045


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