1e2dfad50b
Ceph was not properly using storage network. TrivialFix Change-Id: Ibf3da5d19cd2ca874d251b455a7eb856154fc3f7
40 lines
1.3 KiB
Django/Jinja
40 lines
1.3 KiB
Django/Jinja
{
|
|
"command": "/usr/bin/ceph-mon -d -i {{ storage_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"
|
|
}
|
|
]
|
|
}
|