Skip to content
Snippets Groups Projects
Commit a7a28f65 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Fix the ceph-mgr connect to cluster failed"

parents 4223ea58 8cf67e9a
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,17 @@ ...@@ -36,6 +36,17 @@
- "{{ ceph_files['ceph.monmap'] }}" - "{{ ceph_files['ceph.monmap'] }}"
when: inventory_hostname in groups['ceph-mon'] when: inventory_hostname in groups['ceph-mon']
- name: Pushing Ceph keyrings for Mgrs
become: true
bslurp:
src: "{{ item.content }}"
dest: "{{ node_config_directory }}/ceph-mgr/{{ item.filename }}"
sha1: "{{ item.sha1 }}"
mode: 0600
with_items:
- "{{ ceph_files['ceph.client.admin.keyring'] }}"
when: inventory_hostname in groups['ceph-mgr']
- name: Pushing Ceph keyrings for RGWs - name: Pushing Ceph keyrings for RGWs
become: true become: true
bslurp: bslurp:
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
"dest": "/var/lib/ceph/mgr/ceph-{{ inventory_hostname }}/keyring", "dest": "/var/lib/ceph/mgr/ceph-{{ inventory_hostname }}/keyring",
"owner": "ceph", "owner": "ceph",
"perm": "0600" "perm": "0600"
},
{
"source": "{{ container_config_directory }}/ceph.client.admin.keyring",
"dest": "/etc/ceph/ceph.client.admin.keyring",
"owner": "ceph",
"perm": "0600"
} }
] ]
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment