Switch auth order for s3 authentication

When deploying the RGW in multi-site configurations, communication
between sites is authenticated using S3 credentials managed within
RGW.  In the event that keystone authentication is in use this
generates a large number of s3 authentication attempts to keystone
which will always fail.

Switch the default order to check local auth first and then fallback
to external.

Change-Id: I7bfc016baf99188ba5a36f663145eeff465d25e8
This commit is contained in:
James Page 2019-02-21 13:14:54 +00:00
parent a25ae87994
commit 3e54b570b1
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ rgw keystone admin token = {{ admin_token }}
rgw keystone accepted roles = {{ user_roles }}
rgw keystone token cache size = {{ cache_size }}
rgw s3 auth use keystone = true
rgw s3 auth order = local, external
{% else -%}
rgw swift url = http://{{ unit_public_ip }}
{% endif -%}