← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1789849] [NEW] Install and configure in keystone, pike: incorrect variable names

 

Public bug reported:

Install and configure in keystone, pike: incorrect variable names

This bug tracker is for errors with the documentation, use the following
as a template and remove or add fields as you see fit. Convert [ ] into
[x] to check boxes:

- [x] This doc is inaccurate in this way: 
Two variable names in the shell code sample at  https://git.openstack.org/cgit/openstack/keystone/tree/doc/source/install/keystone-install-ubuntu.rst?h=stable%2Fpike#n159 seem to be incorrect. 
Strictly applying the code sample, the commands on the next page (https://docs.openstack.org/keystone/pike/install/keystone-users-ubuntu.html) do not work. 
```
openstack project create --domain default \
  --description "Service Project" service
```
yields 
```
The request you have made requires authentication. (HTTP 401) (Request-ID: req-384b7024-193f-49f9-babd-5b92567418ee)
```

- [ ] This is a doc addition request.
- [x] I have a fix to the document that I can paste below including example: input and output. 

```
diff --git a/doc/source/install/keystone-install-ubuntu.rst b/doc/source/install/keystone-install-ubuntu.rst
index 7d6635bbf..94d6886f4 100644
--- a/doc/source/install/keystone-install-ubuntu.rst
+++ b/doc/source/install/keystone-install-ubuntu.rst
@@ -163,6 +163,8 @@ Finalize the installation
       $ export OS_PROJECT_NAME=admin
       $ export OS_USER_DOMAIN_NAME=Default
       $ export OS_PROJECT_DOMAIN_NAME=Default
+      $ export OS_USER_DOMAIN_ID=default
+      $ export OS_PROJECT_DOMAIN_ID=default
       $ export OS_AUTH_URL=http://controller:35357/v3
       $ export OS_IDENTITY_API_VERSION=3
```

I am not sure if this was changed in further releases or not
-----------------------------------
Release: 12.0.1.dev19 on 2018-07-26 21:51
SHA: ce46cc25dc4d967c062587ab21b2b38cab045e00
Source: https://git.openstack.org/cgit/openstack/keystone/tree/doc/source/install/keystone-install-ubuntu.rst?h=stable%2Fpike
URL: https://docs.openstack.org/keystone/pike/install/keystone-install-ubuntu.html

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1789849

Title:
  Install and configure in keystone, pike: incorrect variable names

Status in OpenStack Identity (keystone):
  New

Bug description:
  Install and configure in keystone, pike: incorrect variable names

  This bug tracker is for errors with the documentation, use the
  following as a template and remove or add fields as you see fit.
  Convert [ ] into [x] to check boxes:

  - [x] This doc is inaccurate in this way: 
  Two variable names in the shell code sample at  https://git.openstack.org/cgit/openstack/keystone/tree/doc/source/install/keystone-install-ubuntu.rst?h=stable%2Fpike#n159 seem to be incorrect. 
  Strictly applying the code sample, the commands on the next page (https://docs.openstack.org/keystone/pike/install/keystone-users-ubuntu.html) do not work. 
  ```
  openstack project create --domain default \
    --description "Service Project" service
  ```
  yields 
  ```
  The request you have made requires authentication. (HTTP 401) (Request-ID: req-384b7024-193f-49f9-babd-5b92567418ee)
  ```

  - [ ] This is a doc addition request.
  - [x] I have a fix to the document that I can paste below including example: input and output. 

  ```
  diff --git a/doc/source/install/keystone-install-ubuntu.rst b/doc/source/install/keystone-install-ubuntu.rst
  index 7d6635bbf..94d6886f4 100644
  --- a/doc/source/install/keystone-install-ubuntu.rst
  +++ b/doc/source/install/keystone-install-ubuntu.rst
  @@ -163,6 +163,8 @@ Finalize the installation
         $ export OS_PROJECT_NAME=admin
         $ export OS_USER_DOMAIN_NAME=Default
         $ export OS_PROJECT_DOMAIN_NAME=Default
  +      $ export OS_USER_DOMAIN_ID=default
  +      $ export OS_PROJECT_DOMAIN_ID=default
         $ export OS_AUTH_URL=http://controller:35357/v3
         $ export OS_IDENTITY_API_VERSION=3
  ```

  I am not sure if this was changed in further releases or not
  -----------------------------------
  Release: 12.0.1.dev19 on 2018-07-26 21:51
  SHA: ce46cc25dc4d967c062587ab21b2b38cab045e00
  Source: https://git.openstack.org/cgit/openstack/keystone/tree/doc/source/install/keystone-install-ubuntu.rst?h=stable%2Fpike
  URL: https://docs.openstack.org/keystone/pike/install/keystone-install-ubuntu.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1789849/+subscriptions


Follow ups