8cf67e9a87
For luminous, the ceph_mgr service provide the dashborad for ceph, and it need connect to cluster, but now it failed to connect ceph cluster due to ceph.client.admin.keyring missing, this ps to fix it. Co-Authored-By: chenqiaomin <chen.qiaomin@99cloud.net> Closes-Bug: #1768462 Change-Id: Idb24661bc5674780db390220ca02e22975490663
24 lines
762 B
Django/Jinja
24 lines
762 B
Django/Jinja
{
|
|
"command": "/usr/bin/ceph-mgr -f -i {{ inventory_hostname }}",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.conf",
|
|
"dest": "/etc/ceph/ceph.conf",
|
|
"owner": "ceph",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.mgr.{{ inventory_hostname }}.keyring",
|
|
"dest": "/var/lib/ceph/mgr/ceph-{{ inventory_hostname }}/keyring",
|
|
"owner": "ceph",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.client.admin.keyring",
|
|
"dest": "/etc/ceph/ceph.client.admin.keyring",
|
|
"owner": "ceph",
|
|
"perm": "0600"
|
|
}
|
|
]
|
|
}
|