33f3e1d8ca
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
40 lines
1.3 KiB
Django/Jinja
40 lines
1.3 KiB
Django/Jinja
{
|
|
"command": "/usr/bin/ceph-mon -d -i {{ ansible_hostname }} --public-addr {{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}:6789",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.conf",
|
|
"dest": "/etc/ceph/ceph.conf",
|
|
"owner": "ceph",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.client.admin.keyring",
|
|
"dest": "/etc/ceph/ceph.client.admin.keyring",
|
|
"owner": "ceph",
|
|
"perm": "0600",
|
|
"optional": "True"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.client.mon.keyring",
|
|
"dest": "/etc/ceph/ceph.client.mon.keyring",
|
|
"owner": "ceph",
|
|
"perm": "0600",
|
|
"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",
|
|
"dest": "/etc/ceph/ceph.monmap",
|
|
"owner": "ceph",
|
|
"perm": "0600",
|
|
"optional": "True"
|
|
}
|
|
]
|
|
}
|