mirror of https://github.com/ceph/ceph-ansible.git
ceph-container: use ceph user and group
Use --setuser and --setgroup to ceph to run daemons with ceph user.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 7016c6df3c
)
pull/7563/head
parent
65a9e0fa92
commit
2485f9f7d5
|
@ -493,6 +493,8 @@ dummy:
|
|||
# CONTAINER_IMAGE: "{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}"
|
||||
# TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES: "{{ ceph_tcmalloc_max_total_thread_cache }}"
|
||||
# args:
|
||||
# - --setuser=ceph
|
||||
# - --setgroup=ceph
|
||||
# - --default-log-to-file=false
|
||||
# - --default-log-to-stderr=true
|
||||
# - --default-log-stderr-prefix="debug "
|
||||
|
|
|
@ -485,6 +485,8 @@ ceph_common_container_params:
|
|||
CONTAINER_IMAGE: "{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}"
|
||||
TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES: "{{ ceph_tcmalloc_max_total_thread_cache }}"
|
||||
args:
|
||||
- --setuser=ceph
|
||||
- --setgroup=ceph
|
||||
- --default-log-to-file=false
|
||||
- --default-log-to-stderr=true
|
||||
- --default-log-stderr-prefix="debug "
|
||||
|
|
Loading…
Reference in New Issue