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:
parent
a25ae87994
commit
3e54b570b1
|
@ -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 -%}
|
||||
|
|
Loading…
Reference in New Issue