67aee9f8a2
Currently it doesn't work in swift servers such as proxy-server, object-server, account-server and container-server, in spite of setting openstack_service_workers config in globals.yml. Because it's not implement about workers in swift. Closes-Bug: #1662751 Change-Id: Iae9a12952cd3fe285eed3d8fca2e667a68de15c7 Signed-off-by: jangseon ryu <jangseon.ryu@navercorp.com>
31 lines
868 B
Django/Jinja
31 lines
868 B
Django/Jinja
[DEFAULT]
|
|
bind_ip = {{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}
|
|
bind_port = {{ swift_container_server_port }}
|
|
devices = {{ swift_devices_mount_point }}
|
|
mount_check = false
|
|
log_udp_host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
|
|
log_udp_port = {{ fluentd_syslog_port }}
|
|
log_name = {{ service_name }}
|
|
log_facility = LOG_LOCAL0
|
|
log_level = INFO
|
|
workers = {{ openstack_service_workers }}
|
|
|
|
[pipeline:main]
|
|
pipeline = container-server
|
|
|
|
[app:container-server]
|
|
use = egg:swift#container
|
|
|
|
{% if service_name == 'swift-container-auditor' %}
|
|
[container-auditor]
|
|
{% endif %}
|
|
|
|
{% if service_name == 'swift-container-replicator' %}
|
|
[container-replicator]
|
|
sync_module = {replication_ip}:{meta}:container
|
|
{% endif %}
|
|
|
|
{% if service_name == 'swift-container-updater' %}
|
|
[container-updater]
|
|
{% endif %}
|