Skip to content
Snippets Groups Projects
Commit 33f3e1d8 authored by SamYaple's avatar SamYaple
Browse files

Update ceph-mon keyrings

Since the fetch script fetched _all_ keyrings from the ceph-mon
container, the ceph-mon container must contain all keyrings. This
setup works AIO but was broken on multinode because the ceph-mon
container did not have the radosgw keyring. This issue affects every
multinode install regardless of using the radosgw or not.

TrivialFix

Change-Id: Ie416de1a5275862da6d77ef0dd174e85e499fc0f
parent 2361fddc
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
with_items: with_items:
- "{{ ceph_files['ceph.client.admin.keyring'] }}" - "{{ ceph_files['ceph.client.admin.keyring'] }}"
- "{{ ceph_files['ceph.client.mon.keyring'] }}" - "{{ ceph_files['ceph.client.mon.keyring'] }}"
- "{{ ceph_files['ceph.client.radosgw.keyring'] }}"
- "{{ ceph_files['ceph.monmap'] }}" - "{{ ceph_files['ceph.monmap'] }}"
when: inventory_hostname in groups['ceph-mon'] when: inventory_hostname in groups['ceph-mon']
......
...@@ -21,6 +21,13 @@ ...@@ -21,6 +21,13 @@
"perm": "0600", "perm": "0600",
"optional": "True" "optional": "True"
}, },
{
"source": "{{ container_config_directory }}/ceph.client.radosgw.keyring",
"dest": "/etc/ceph/ceph.client.radosgw.keyring",
"owner": "ceph",
"perm": "0600",
"optional": "True"
},
{ {
"source": "{{ container_config_directory }}/ceph.monmap", "source": "{{ container_config_directory }}/ceph.monmap",
"dest": "/etc/ceph/ceph.monmap", "dest": "/etc/ceph/ceph.monmap",
......
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