From 93ca16c558068d525dbbc0bb34d90d6bee976db0 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Fri, 7 Apr 2017 00:55:26 +0200 Subject: [PATCH] Fix install guide filter:authtoken config example The name of the default domain in keystone is 'Default', not 'default', which is its ID. If a user copy and pastes the user_domain_name and project_domain_name settings from example [filter:authtoken] section in the install guide, the first time they run 'swift stat' they will meet a 401 error because keystone is trying to look up domains by name rather than ID. This patch corrects the docs so that they are copy-and-paste-proof, and also updates the keystone user creation example to demonstrate the correct domain ID. Change-Id: Ic595c2923b71d1c2ff2b4c9a773ea7742fdd029b --- install-guide/source/controller-common_prerequisites.txt | 2 +- install-guide/source/controller-include.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install-guide/source/controller-common_prerequisites.txt b/install-guide/source/controller-common_prerequisites.txt index a87e7aad31..456933d7d0 100644 --- a/install-guide/source/controller-common_prerequisites.txt +++ b/install-guide/source/controller-common_prerequisites.txt @@ -30,7 +30,7 @@ create service credentials and an API endpoint. +-----------+----------------------------------+ | Field | Value | +-----------+----------------------------------+ - | domain_id | e0353a670a9e496da891347c589539e9 | + | domain_id | default | | enabled | True | | id | d535e5cbd2b74ac7bfb97db9cced3ed6 | | name | swift | diff --git a/install-guide/source/controller-include.txt b/install-guide/source/controller-include.txt index 3e9b2b4305..184e9cd7b5 100644 --- a/install-guide/source/controller-include.txt +++ b/install-guide/source/controller-include.txt @@ -59,8 +59,8 @@ following actions: auth_url = http://controller:35357 memcached_servers = controller:11211 auth_type = password - project_domain_name = default - user_domain_name = default + project_domain_id = default + user_domain_id = default project_name = service username = swift password = SWIFT_PASS