Add user-domain in role creation
We must add the user-domain to ensure than the user is from the magnum domain. Change-Id: I8defb35f745f7df2e20deea759a43ef1bb47d248 Closes-bug: #1635202
This commit is contained in:
parent
57e74664d3
commit
67de6c537a
|
@ -225,7 +225,8 @@ service, you must create a database, service credentials, and API endpoints.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack role add --domain magnum --user magnum_domain_admin admin
|
||||
$ openstack role add --domain magnum --user-domain magnum \
|
||||
--user magnum_domain_admin admin
|
||||
|
||||
.. note::
|
||||
|
||||
|
|
|
@ -142,7 +142,7 @@ and the domain admin:
|
|||
openstack domain create magnum
|
||||
openstack user create trustee_domain_admin --password=secret \
|
||||
--domain=magnum
|
||||
openstack role add --user=trustee_domain_admin --domain=magnum admin
|
||||
openstack role add --user=trustee_domain_admin --user-domain magnum --domain=magnum admin
|
||||
|
||||
source /opt/stack/devstack/functions
|
||||
export MAGNUM_CONF=/etc/magnum/magnum.conf
|
||||
|
|
|
@ -180,7 +180,8 @@ service, you must create a database, service credentials, and API endpoints.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack role add --domain magnum --user magnum_domain_admin admin
|
||||
$ openstack role add --domain magnum --user-domain magnum --user \
|
||||
magnum_domain_admin admin
|
||||
|
||||
.. note::
|
||||
|
||||
|
|
Loading…
Reference in New Issue