← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1752382] [NEW] Install and configure in keystone

 

Public bug reported:


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: Keystone Endpoints
- [ ] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output. 

In the keystone install and configure guide Openstack (Ostack) specifies
to bootstrap the keystone server with the command below; which specifies
the endpoints to be http://controller:5000/v3/ (ending with a slash). On
the other hand, in the OStack Dashboard (i.e. Horizon)install and
configure guide (https://docs.openstack.org/horizon/pike/install
/install-ubuntu.html) under the `Enable the Identity API version 3`
setting there is no forward slash (OPENSTACK_KEYSTONE_URL =
"http://%s:5000/v3"; % OPENSTACK_HOST); thus resulting in the dashboard
failing to authenticate.

One last thing, when I installed the OStack dashboard package using apt
the `/etc/openstack-dashboard/local_settings.py` file had
`OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0"; % OPENSTACK_HOST`
instead of `OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3"; %
OPENSTACK_HOST`. The Git repo has the correct endpoint though, so I
figure a new release is coming with a fix.

Keystone Bootstrap Command:
keystone-manage bootstrap --bootstrap-password ADMIN_PASS \
  --bootstrap-admin-url http://controller:35357/v3/ \
  --bootstrap-internal-url http://controller:5000/v3/ \
  --bootstrap-public-url http://controller:5000/v3/ \
  --bootstrap-region-id RegionOne

-----------------------------------
Release: 12.0.1.dev17 on 2018-02-20 08:16
SHA: 6de0a147d68042af79ddc6d700cec3fd71b9d03c
Source: https://git.openstack.org/cgit/openstack/keystone/tree/doc/source/install/keystone-install-ubuntu.rst
URL: https://docs.openstack.org/keystone/pike/install/keystone-install-ubuntu.html

** Affects: keystone
     Importance: Undecided
         Status: New


** Tags: dashboard doc enpoint horizon keyston openstack

-- 
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/1752382

Title:
  Install and configure in keystone

Status in OpenStack Identity (keystone):
  New

Bug description:

  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: Keystone Endpoints
  - [ ] This is a doc addition request.
  - [ ] I have a fix to the document that I can paste below including example: input and output. 

  In the keystone install and configure guide Openstack (Ostack)
  specifies to bootstrap the keystone server with the command below;
  which specifies the endpoints to be http://controller:5000/v3/ (ending
  with a slash). On the other hand, in the OStack Dashboard (i.e.
  Horizon)install and configure guide
  (https://docs.openstack.org/horizon/pike/install/install-ubuntu.html)
  under the `Enable the Identity API version 3` setting there is no
  forward slash (OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3"; %
  OPENSTACK_HOST); thus resulting in the dashboard failing to
  authenticate.

  One last thing, when I installed the OStack dashboard package using
  apt the `/etc/openstack-dashboard/local_settings.py` file had
  `OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0"; % OPENSTACK_HOST`
  instead of `OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3"; %
  OPENSTACK_HOST`. The Git repo has the correct endpoint though, so I
  figure a new release is coming with a fix.

  Keystone Bootstrap Command:
  keystone-manage bootstrap --bootstrap-password ADMIN_PASS \
    --bootstrap-admin-url http://controller:35357/v3/ \
    --bootstrap-internal-url http://controller:5000/v3/ \
    --bootstrap-public-url http://controller:5000/v3/ \
    --bootstrap-region-id RegionOne

  -----------------------------------
  Release: 12.0.1.dev17 on 2018-02-20 08:16
  SHA: 6de0a147d68042af79ddc6d700cec3fd71b9d03c
  Source: https://git.openstack.org/cgit/openstack/keystone/tree/doc/source/install/keystone-install-ubuntu.rst
  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/1752382/+subscriptions


Follow ups