Bug 1442144 - [documentation] Active directory and ldap integration guide - Give the admin user the admin role in the default domain
Summary: [documentation] Active directory and ldap integration guide - Give the admin ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Martin Lopes
QA Contact: Charelle Collett
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-13 16:22 UTC by Andreas Karis
Modified: 2020-07-16 09:25 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-24 02:29:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andreas Karis 2017-04-13 16:22:18 UTC
Description of problem:

https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/10/html/integrate_with_identity_service/sec-active-directory
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/10/html/integrate_with_identity_service/sec-idm

Since OSP 10 and the resolution of https://bugzilla.redhat.com/show_bug.cgi?id=1408777 , both of the above articles need to contain a small modification to give the admin user the admin role in the default domain

Additional info:
More details here:
https://access.redhat.com/solutions/2939821

++++++++++++++++++++++++++++++++++++++++++++++

Resolution
Upgrade to a recent version of python-django-horizon

Upgrade to python-django-horizon-10.0.2-2.el7ost or later. This is currently being tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1408777
Give the admin user the admin role in the default domain

Also, add the admin role in the default domain to the admin user:

First, find the admin user's UUID:
Raw

[stack@undercloud-4 ~]$ openstack user list | grep admin
| a6a8adb6356f4a879f079485dad1321b | admin      |

Now, verify role assignments before making the change:
Raw

[stack@undercloud-4 ~]$ openstack role assignment list | grep a6a8adb6356f4a879f079485dad1321b | grep da558c2a79c24b3096b19ccdbb032361 
| da558c2a79c24b3096b19ccdbb032361 | a6a8adb6356f4a879f079485dad1321b |       | 6e8fedc92dcb481aae9b17a622fa2360 |                                  | False     |
| da558c2a79c24b3096b19ccdbb032361 | a6a8adb6356f4a879f079485dad1321b |       |                                  | 6d3e495643524ebd8823849bea5041a8 | False     |

Add the admin role in the default domain to the admin user
Raw

[stack@undercloud-4 ~]$ openstack role add --domain default --user a6a8adb6356f4a879f079485dad1321b admin

Verify role assignments after the change:
Raw

[stack@undercloud-4 ~]$ openstack role assignment list | grep a6a8adb6356f4a879f079485dad1321b | grep da558c2a79c24b3096b19ccdbb032361 
| da558c2a79c24b3096b19ccdbb032361 | a6a8adb6356f4a879f079485dad1321b |       | 6e8fedc92dcb481aae9b17a622fa2360 |                                  | False     |
| da558c2a79c24b3096b19ccdbb032361 | a6a8adb6356f4a879f079485dad1321b |       |                                  | 6d3e495643524ebd8823849bea5041a8 | False     |
| da558c2a79c24b3096b19ccdbb032361 | a6a8adb6356f4a879f079485dad1321b |       |                                  | default                          | False     |

Now, the admin user can see the Domain tab.

Comment 8 Charelle Collett 2017-05-23 06:27:52 UTC
Looks good


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