Fix the cinder backup permission issue when enable ceph
Closes-Bug: #1587244 Change-Id: I22ed3c57e4669c4372daf448da8385729c7cc8d1
This commit is contained in:
parent
3545e6d503
commit
b90ecae39c
@ -52,5 +52,6 @@
|
||||
mode: "0600"
|
||||
with_items:
|
||||
- { service_name: "cinder-volume", key_name: "cinder", content: "{{ cephx_key_cinder.stdout }}" }
|
||||
- { service_name: "cinder-backup", key_name: "cinder", content: "{{ cephx_key_cinder.stdout }}" }
|
||||
- { service_name: "cinder-backup", key_name: "cinder-backup", content: "{{ cephx_key_cinder_backup.stdout }}" }
|
||||
when: inventory_hostname in groups['cinder-volume']
|
||||
|
@ -14,6 +14,13 @@
|
||||
"perm": "0600",
|
||||
"optional": {{ (not enable_ceph | bool) | string | lower }}
|
||||
},
|
||||
{
|
||||
"source": "{{ container_config_directory }}/ceph.client.cinder.keyring",
|
||||
"dest": "/etc/ceph/ceph.client.cinder.keyring",
|
||||
"owner": "cinder",
|
||||
"perm": "0600",
|
||||
"optional": {{ (not enable_ceph | bool) | string | lower }}
|
||||
},
|
||||
{
|
||||
"source": "{{ container_config_directory }}/ceph.conf",
|
||||
"dest": "/etc/ceph/ceph.conf",
|
||||
|
Loading…
Reference in New Issue
Block a user