On primary controller we are executing all stuff (like ring create, rebalance and etc).
Swift Ring Builder requires folder '/etc/swift/backups' with proper permissions (2770).
On another controllers, we just run rsync from primary, for '/etc/swift/backups' directory.
The problem is that we are using settings from swift_server section (which comes from
swift upstream module). This section has default incoming_chmod/outgoing_chmod = '0644'.
Hense all another controllers have these permissions for '/etc/swift/backups'.
In case, when we want to destroy old primary + add new controller - we faced with wrong
permissions for '/etc/swift/backups' on all controller nodes.
Reviewed: https:/ /review. openstack. org/276853 /git.openstack. org/cgit/ openstack/ fuel-library/ commit/ ?id=1a5e0e726f8 3687f5c14b9ae0e 616e3acb83b236
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1a5e0e726f83687 f5c14b9ae0e616e 3acb83b236
Author: Denis Egorenko <email address hidden>
Date: Fri Feb 5 20:48:33 2016 +0300
Add a new swift_backups section in rsync conf
On primary controller we are executing all stuff (like ring create, rebalance and etc). backups' with proper permissions (2770).
Swift Ring Builder requires folder '/etc/swift/
On another controllers, we just run rsync from primary, for '/etc/swift/ backups' directory. chmod/outgoing_ chmod = '0644'. backups' . backups' on all controller nodes.
The problem is that we are using settings from swift_server section (which comes from
swift upstream module). This section has default incoming_
Hense all another controllers have these permissions for '/etc/swift/
In case, when we want to destroy old primary + add new controller - we faced with wrong
permissions for '/etc/swift/
Change-Id: I47ee344e6ea6d6 5eb984941287ec9 c0ed3e28a5b
Related-bug: #1518305
Closes-bug: #1542281