Enable Ceph RGW 'account in url' option
This requires an update of the endpoint but is necessary to be able to use public-readable containers (like temporary URLs) with RGW. Change-Id: I6bd11bdf9c74db24c0d21fa600030e9f3b144df0 Closes-Bug: 1826894 (cherry picked from commit7c379543cc
) (cherry picked from commit086238e911
)
This commit is contained in:
parent
4ff7416332
commit
3ea3c7ca92
@ -364,6 +364,7 @@ resources:
|
|||||||
rgw_keystone_implicit_tenants: 'true'
|
rgw_keystone_implicit_tenants: 'true'
|
||||||
rgw_keystone_revocation_interval: '0'
|
rgw_keystone_revocation_interval: '0'
|
||||||
rgw_s3_auth_use_keystone: 'true'
|
rgw_s3_auth_use_keystone: 'true'
|
||||||
|
rgw_swift_account_in_url: 'true'
|
||||||
- {get_param: CephConfigOverrides}
|
- {get_param: CephConfigOverrides}
|
||||||
ntp_service_enabled: false
|
ntp_service_enabled: false
|
||||||
generate_fsid: false
|
generate_fsid: false
|
||||||
|
@ -312,15 +312,15 @@ CephRgw:
|
|||||||
Internal:
|
Internal:
|
||||||
net_param: CephRgw
|
net_param: CephRgw
|
||||||
uri_suffixes:
|
uri_suffixes:
|
||||||
'': /swift/v1
|
'': /swift/v1/AUTH_%(project_id)s
|
||||||
Public:
|
Public:
|
||||||
net_param: Public
|
net_param: Public
|
||||||
uri_suffixes:
|
uri_suffixes:
|
||||||
'': /swift/v1
|
'': /swift/v1/AUTH_%(project_id)s
|
||||||
Admin:
|
Admin:
|
||||||
net_param: CephRgw
|
net_param: CephRgw
|
||||||
uri_suffixes:
|
uri_suffixes:
|
||||||
'': /swift/v1
|
'': /swift/v1/AUTH_%(project_id)s
|
||||||
port: 8080
|
port: 8080
|
||||||
|
|
||||||
Sahara:
|
Sahara:
|
||||||
|
@ -652,7 +652,9 @@ outputs:
|
|||||||
protocol:
|
protocol:
|
||||||
get_param: [EndpointMap, CephRgwAdmin, protocol]
|
get_param: [EndpointMap, CephRgwAdmin, protocol]
|
||||||
uri:
|
uri:
|
||||||
make_url:
|
list_join:
|
||||||
|
- ''
|
||||||
|
- - make_url:
|
||||||
scheme:
|
scheme:
|
||||||
get_param: [EndpointMap, CephRgwAdmin, protocol]
|
get_param: [EndpointMap, CephRgwAdmin, protocol]
|
||||||
host:
|
host:
|
||||||
@ -674,7 +676,8 @@ outputs:
|
|||||||
template: NETWORK_uri
|
template: NETWORK_uri
|
||||||
port:
|
port:
|
||||||
get_param: [EndpointMap, CephRgwAdmin, port]
|
get_param: [EndpointMap, CephRgwAdmin, port]
|
||||||
path: /swift/v1
|
path: /swift/v1/AUTH_
|
||||||
|
- '%(project_id)s'
|
||||||
uri_no_suffix:
|
uri_no_suffix:
|
||||||
make_url:
|
make_url:
|
||||||
scheme:
|
scheme:
|
||||||
@ -734,7 +737,9 @@ outputs:
|
|||||||
protocol:
|
protocol:
|
||||||
get_param: [EndpointMap, CephRgwInternal, protocol]
|
get_param: [EndpointMap, CephRgwInternal, protocol]
|
||||||
uri:
|
uri:
|
||||||
make_url:
|
list_join:
|
||||||
|
- ''
|
||||||
|
- - make_url:
|
||||||
scheme:
|
scheme:
|
||||||
get_param: [EndpointMap, CephRgwInternal, protocol]
|
get_param: [EndpointMap, CephRgwInternal, protocol]
|
||||||
host:
|
host:
|
||||||
@ -756,7 +761,8 @@ outputs:
|
|||||||
template: NETWORK_uri
|
template: NETWORK_uri
|
||||||
port:
|
port:
|
||||||
get_param: [EndpointMap, CephRgwInternal, port]
|
get_param: [EndpointMap, CephRgwInternal, port]
|
||||||
path: /swift/v1
|
path: /swift/v1/AUTH_
|
||||||
|
- '%(project_id)s'
|
||||||
uri_no_suffix:
|
uri_no_suffix:
|
||||||
make_url:
|
make_url:
|
||||||
scheme:
|
scheme:
|
||||||
@ -816,7 +822,9 @@ outputs:
|
|||||||
protocol:
|
protocol:
|
||||||
get_param: [EndpointMap, CephRgwPublic, protocol]
|
get_param: [EndpointMap, CephRgwPublic, protocol]
|
||||||
uri:
|
uri:
|
||||||
make_url:
|
list_join:
|
||||||
|
- ''
|
||||||
|
- - make_url:
|
||||||
scheme:
|
scheme:
|
||||||
get_param: [EndpointMap, CephRgwPublic, protocol]
|
get_param: [EndpointMap, CephRgwPublic, protocol]
|
||||||
host:
|
host:
|
||||||
@ -838,7 +846,8 @@ outputs:
|
|||||||
template: NETWORK_uri
|
template: NETWORK_uri
|
||||||
port:
|
port:
|
||||||
get_param: [EndpointMap, CephRgwPublic, port]
|
get_param: [EndpointMap, CephRgwPublic, port]
|
||||||
path: /swift/v1
|
path: /swift/v1/AUTH_
|
||||||
|
- '%(project_id)s'
|
||||||
uri_no_suffix:
|
uri_no_suffix:
|
||||||
make_url:
|
make_url:
|
||||||
scheme:
|
scheme:
|
||||||
|
Loading…
Reference in New Issue
Block a user