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
This commit is contained in:
Colleen Murphy 2017-04-07 00:55:26 +02:00
parent b43414c905
commit 93ca16c558
2 changed files with 3 additions and 3 deletions

View File

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

View File

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