cdfc0442e9
when ceph_mon and ceph_osd start failed, add debug option will print more info. now when ceph_mon and ceph_osd containers start failed, docker logs ceph_mon print none log Closes-Bug: #1815707 Change-Id: I3c5086019808a9738714f5279ec74cbb9b7a8587
40 lines
1.4 KiB
Django/Jinja
40 lines
1.4 KiB
Django/Jinja
{
|
|
"command": "/usr/bin/ceph-mon -f {% if ceph_debug %}-d{% endif %} -i {{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }} --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
|
|
}
|
|
]
|
|
}
|