Swift JSON files looking for rings in the wrong place
For Swift, the *.json.j2 templates are looking under {{ container_config_directory }} whereas they need to be looking in the common location for swift which is /var/lib/kolla/swift Change-Id: I6f0dcbc9a705b36d1d98275ba9ebc56404fe882d backport: liberty Closes-Bug: #1504210
This commit is contained in:
parent
6d2bc05325
commit
71fbf63c88
ansible/roles/swift/templates
swift-account-auditor.json.j2swift-account-reaper.json.j2swift-account-replicator.json.j2swift-account-server.json.j2swift-container-auditor.json.j2swift-container-replicator.json.j2swift-container-server.json.j2swift-container-updater.json.j2swift-object-auditor.json.j2swift-object-expirer.json.j2swift-object-replicator.json.j2swift-object-server.json.j2swift-object-updater.json.j2swift-proxy-server.json.j2
@ -8,7 +8,7 @@
|
|||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/account.ring.gz",
|
"source": "/var/lib/kolla/swift/account.ring.gz",
|
||||||
"dest": "/etc/swift/account.ring.gz",
|
"dest": "/etc/swift/account.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/account.ring.gz",
|
"source": "/var/lib/kolla/swift/account.ring.gz",
|
||||||
"dest": "/etc/swift/account.ring.gz",
|
"dest": "/etc/swift/account.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/account.ring.gz",
|
"source": "/var/lib/kolla/swift/account.ring.gz",
|
||||||
"dest": "/etc/swift/account.ring.gz",
|
"dest": "/etc/swift/account.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/account.ring.gz",
|
"source": "/var/lib/kolla/swift/account.ring.gz",
|
||||||
"dest": "/etc/swift/account.ring.gz",
|
"dest": "/etc/swift/account.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/container.ring.gz",
|
"source": "/var/lib/kolla/swift/container.ring.gz",
|
||||||
"dest": "/etc/swift/container.ring.gz",
|
"dest": "/etc/swift/container.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/container.ring.gz",
|
"source": "/var/lib/kolla/swift/container.ring.gz",
|
||||||
"dest": "/etc/swift/container.ring.gz",
|
"dest": "/etc/swift/container.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/container.ring.gz",
|
"source": "/var/lib/kolla/swift/container.ring.gz",
|
||||||
"dest": "/etc/swift/container.ring.gz",
|
"dest": "/etc/swift/container.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/account.ring.gz",
|
"source": "/var/lib/kolla/swift/account.ring.gz",
|
||||||
"dest": "/etc/swift/account.ring.gz",
|
"dest": "/etc/swift/account.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/container.ring.gz",
|
"source": "/var/lib/kolla/swift/container.ring.gz",
|
||||||
"dest": "/etc/swift/container.ring.gz",
|
"dest": "/etc/swift/container.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/container.ring.gz",
|
"source": "/var/lib/kolla/swift/container.ring.gz",
|
||||||
"dest": "/etc/swift/container.ring.gz",
|
"dest": "/etc/swift/container.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/object.ring.gz",
|
"source": "/var/lib/kolla/swift/object.ring.gz",
|
||||||
"dest": "/etc/swift/object.ring.gz",
|
"dest": "/etc/swift/object.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
|
@ -8,19 +8,19 @@
|
|||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/account.ring.gz",
|
"source": "/var/lib/kolla/swift/account.ring.gz",
|
||||||
"dest": "/etc/swift/account.ring.gz",
|
"dest": "/etc/swift/account.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/container.ring.gz",
|
"source": "/var/lib/kolla/swift/container.ring.gz",
|
||||||
"dest": "/etc/swift/container.ring.gz",
|
"dest": "/etc/swift/container.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/object.ring.gz",
|
"source": "/var/lib/kolla/swift/object.ring.gz",
|
||||||
"dest": "/etc/swift/object.ring.gz",
|
"dest": "/etc/swift/object.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/container.ring.gz",
|
"source": "/var/lib/kolla/swift/container.ring.gz",
|
||||||
"dest": "/etc/swift/container.ring.gz",
|
"dest": "/etc/swift/container.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/object.ring.gz",
|
"source": "/var/lib/kolla/swift/object.ring.gz",
|
||||||
"dest": "/etc/swift/object.ring.gz",
|
"dest": "/etc/swift/object.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/container.ring.gz",
|
"source": "/var/lib/kolla/swift/container.ring.gz",
|
||||||
"dest": "/etc/swift/container.ring.gz",
|
"dest": "/etc/swift/container.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/object.ring.gz",
|
"source": "/var/lib/kolla/swift/object.ring.gz",
|
||||||
"dest": "/etc/swift/object.ring.gz",
|
"dest": "/etc/swift/object.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/container.ring.gz",
|
"source": "/var/lib/kolla/swift/container.ring.gz",
|
||||||
"dest": "/etc/swift/container.ring.gz",
|
"dest": "/etc/swift/container.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/object.ring.gz",
|
"source": "/var/lib/kolla/swift/object.ring.gz",
|
||||||
"dest": "/etc/swift/object.ring.gz",
|
"dest": "/etc/swift/object.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
|
@ -8,19 +8,19 @@
|
|||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/account.ring.gz",
|
"source": "/var/lib/kolla/swift/account.ring.gz",
|
||||||
"dest": "/etc/swift/account.ring.gz",
|
"dest": "/etc/swift/account.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/container.ring.gz",
|
"source": "/var/lib/kolla/swift/container.ring.gz",
|
||||||
"dest": "/etc/swift/container.ring.gz",
|
"dest": "/etc/swift/container.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/object.ring.gz",
|
"source": "/var/lib/kolla/swift/object.ring.gz",
|
||||||
"dest": "/etc/swift/object.ring.gz",
|
"dest": "/etc/swift/object.ring.gz",
|
||||||
"owner": "swift",
|
"owner": "swift",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user