[Bug 1854718] Re: Groups of swift daemons are all forced to use the same config
Liam Young
liam.young at canonical.com
Wed Dec 4 10:41:26 UTC 2019
Hi Sahid,
In our deployment for swift global replication we have two account services.
One for local and one for replication:
# cat /etc/swift/account-server/1.conf
[DEFAULT]
bind_ip = 0.0.0.0
bind_port = 6002
workers = 1
[pipeline:main]
pipeline = recon account-server
[filter:recon]
use = egg:swift#recon
recon_cache_path = /var/cache/swift
[app:account-server]
use = egg:swift#account
[account-auditor]
[account-reaper]
#
# cat /etc/swift/account-server/2.conf
[DEFAULT]
bind_ip = 0.0.0.0
bind_port = 6012
workers = 1
[pipeline:main]
pipeline = recon account-server
[filter:recon]
use = egg:swift#recon
recon_cache_path = /var/cache/swift
[app:account-server]
use = egg:swift#account
replication_server = true
#
I believe these two config files are mutually exclusive as they have different
values for the same key in both the 'DEFAULT' and 'app:account-server'
sections.
Similarly, I believe the config file for the local account service is
incompatable with the local config file for the local container service.
# cat /etc/swift/account-server/1.conf
[DEFAULT]
bind_ip = 0.0.0.0
bind_port = 6002
workers = 1
[pipeline:main]
pipeline = recon account-server
[filter:recon]
use = egg:swift#recon
recon_cache_path = /var/cache/swift
[app:account-server]
use = egg:swift#account
[account-auditor]
[account-reaper]
#
# cat /etc/swift/container-server/1.conf
[DEFAULT]
bind_ip = 0.0.0.0
bind_port = 6001
workers = 1
[pipeline:main]
pipeline = recon container-server
[filter:recon]
use = egg:swift#recon
recon_cache_path = /var/cache/swift
[app:container-server]
use = egg:swift#container
allow_versions = true
[container-updater]
[container-auditor]
I believe these two config files are mutually exclusive as they have different
values for the same key in both the 'DEFAULT' and 'pipeline:main' sections.
sections.
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to swift in Ubuntu.
https://bugs.launchpad.net/bugs/1854718
Title:
Groups of swift daemons are all forced to use the same config
Status in Ubuntu Cloud Archive:
Triaged
Status in Ubuntu Cloud Archive mitaka series:
Triaged
Status in Ubuntu Cloud Archive ocata series:
Triaged
Status in Ubuntu Cloud Archive queens series:
Triaged
Status in Ubuntu Cloud Archive rocky series:
Triaged
Status in Ubuntu Cloud Archive stein series:
Triaged
Status in Ubuntu Cloud Archive train series:
Triaged
Status in Ubuntu Cloud Archive ussuri series:
Triaged
Status in swift package in Ubuntu:
Triaged
Status in swift source package in Xenial:
Triaged
Status in swift source package in Bionic:
Triaged
Status in swift source package in Disco:
Triaged
Status in swift source package in Eoan:
Triaged
Status in swift source package in Focal:
Triaged
Bug description:
On swift storage servers there are three groups of services: account,
container and object.
Each of these groups is comprised of a number of services, for
instance: server, auditor, replicator etc
Each service has its own init script but all the services in a group
are configured to use the same group config file eg swift-account,
swift-account-auditor, swift-account-reaper & swift-account-replicator
all use /etc/swift/account-server.conf.
Obviously this causes a problem when different services need different config. In the case of a swift cluster performing global replication the replication server need "
replication_server = true" where as the auditor needs "replication_server = false"
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1854718/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list