fc261a5adc
This patchset adds a support for Swift Global Cluster feature as described at: https://docs.openstack.org/swift/latest/overview_global_cluster.html It allows specifying 'region' config option as part of the deployment. Theregion is reflected later on in the Swift rings. Change-Id: I11b6c7802e5bfbd61b06e4d11c65804a165781b6 Partial-Bug: 1815879 Needed-By: I406445493e2226aa5ae40a09c9053ac8633a46e9
66 lines
1.3 KiB
Plaintext
66 lines
1.3 KiB
Plaintext
[account]
|
|
uid = swift
|
|
gid = swift
|
|
max connections = {{ account_max_connections }}
|
|
path = /srv/node/
|
|
read only = false
|
|
lock file = /var/lock/account.lock
|
|
{% if allowed_hosts -%}
|
|
hosts allow = {{ allowed_hosts }}
|
|
{% endif %}
|
|
|
|
[account-rep]
|
|
uid = swift
|
|
gid = swift
|
|
max connections = {{ account_max_connections }}
|
|
path = /srv/node/
|
|
read only = false
|
|
lock file = /var/lock/account-rep.lock
|
|
{% if allowed_hosts -%}
|
|
hosts allow = {{ allowed_hosts }}
|
|
{% endif %}
|
|
|
|
[container]
|
|
uid = swift
|
|
gid = swift
|
|
max connections = {{ container_max_connections }}
|
|
path = /srv/node/
|
|
read only = false
|
|
lock file = /var/lock/container.lock
|
|
{% if allowed_hosts -%}
|
|
hosts allow = {{ allowed_hosts }}
|
|
{% endif %}
|
|
|
|
[container-rep]
|
|
uid = swift
|
|
gid = swift
|
|
max connections = {{ container_max_connections }}
|
|
path = /srv/node/
|
|
read only = false
|
|
lock file = /var/lock/container-rep.lock
|
|
{% if allowed_hosts -%}
|
|
hosts allow = {{ allowed_hosts }}
|
|
{% endif %}
|
|
|
|
[object]
|
|
uid = swift
|
|
gid = swift
|
|
max connections = {{ object_max_connections }}
|
|
path = /srv/node/
|
|
read only = false
|
|
lock file = /var/lock/object.lock
|
|
{% if allowed_hosts -%}
|
|
hosts allow = {{ allowed_hosts }}
|
|
{% endif %}
|
|
|
|
[object-rep]
|
|
uid = swift
|
|
gid = swift
|
|
max connections = {{ object_max_connections }}
|
|
path = /srv/node/
|
|
read only = false
|
|
lock file = /var/lock/object-rep.lock
|
|
{% if allowed_hosts -%}
|
|
hosts allow = {{ allowed_hosts }}
|
|
{% endif %}
|