2947a95c29
There are to parameter for ceph-mon/ceph-osd/radosgw, "-f" and "-d". -d run in foreground, log to stderr. -f run in foreground, log to usual location. When log tin stderr, docker engine will collect the logs. It is useless and we should write the log into file only. Then stop writing log to stderr. ceph-mon log location is controlled by "mon cluster log file". Change-Id: I7883a4316420bc2bf4c772cb7248b663359f54b7 Closes-Bug: #1677237
24 lines
750 B
Django/Jinja
24 lines
750 B
Django/Jinja
{
|
|
"command": "/usr/bin/radosgw -c /etc/ceph/ceph.conf -n client.radosgw.gateway -f",
|
|
"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"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.client.radosgw.keyring",
|
|
"dest": "/etc/ceph/ceph.client.radosgw.keyring",
|
|
"owner": "ceph",
|
|
"perm": "0600"
|
|
}
|
|
]
|
|
}
|