Browse Source

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
changes/79/391779/2
Spyros Trigazis 5 years ago
parent
commit
67de6c537a
3 changed files with 5 additions and 3 deletions
  1. +2
    -1
      doc/source/install-guide-from-source.rst
  2. +1
    -1
      doc/source/troubleshooting-guide.rst
  3. +2
    -1
      install-guide/source/common/prerequisites.rst

+ 2
- 1
doc/source/install-guide-from-source.rst View File

@ -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::


+ 1
- 1
doc/source/troubleshooting-guide.rst View File

@ -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


+ 2
- 1
install-guide/source/common/prerequisites.rst View File

@ -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…
Cancel
Save