d35f9a4b70
when enable ceph_nfs,it deploy failed, because no ganesha config file, and the 'ganesha.nfs' command need root privilege to run. i will modify ceph_nfs dockerfile,please review. thanks https://review.openstack.org/#/c/630510/ Change-Id: I347107bc33733061ad043bffe38ecc1d16770afc Closes-Bug: #1811581
25 lines
738 B
Django/Jinja
25 lines
738 B
Django/Jinja
{
|
|
"command": "/usr/bin/ganesha.nfsd -F -f /etc/ganesha/ganesha.conf",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/ganesha.conf",
|
|
"dest": "/etc/ganesha/ganesha.conf",
|
|
"owner": "ceph",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"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
|
|
}
|
|
]
|
|
}
|