Swift: rsync_module should not contain meta field as default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Alexis Deberg | ||
Rocky |
Fix Released
|
Medium
|
Mark Goddard | ||
Stein |
Fix Released
|
Medium
|
Mark Goddard | ||
Train |
Fix Released
|
Medium
|
Mark Goddard | ||
Ussuri |
Fix Released
|
Medium
|
Alexis Deberg |
Bug Description
Quoting from Swift documentation (https:/
"A general-use field for storing additional information for the device. This information isn’t used directly by the server processes, but can be useful in debugging. For example, the date and time of installation and hardware manufacturer could be stored here."
The default should be to ignore that field and let the user chose if he wants to leverage it in the rsync_module or not.
Currently the templates are like:
- account.conf.j2
rsync_module = {replication_
- container.conf.j2
rsync_module = {replication_
- object.conf.j2
rsync_module = {replication_
Which will produce, assuming the meta field contains "the_metadata_
rsync --recursive --whole-file --human-readable --xattrs --itemize-changes --ignore-existing --timeout=30 --contimeout=30 --bwlimit=0 --exclude=
There's no restriction on that "meta" field from the Swift point of view and the doc clearly states it's not to be processed server-side so using it with kolla-ansible may lead to broken replication.
It should be removed from the templates completely
Changed in kolla-ansible: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. opendev. org/706303
Review: https:/