Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1442144

Summary: [documentation] Active directory and ldap integration guide - Give the admin user the admin role in the default domain
Product: Red Hat OpenStack Reporter: Andreas Karis <akaris>
Component: documentationAssignee: Martin Lopes <mlopes>
Status: CLOSED CURRENTRELEASE QA Contact: Charelle Collett <ccollett>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: akaris, mburns, mlopes, mschuppe, panbalag, srevivo
Target Milestone: ---Keywords: Documentation, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-24 02:29:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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