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>
pull/7562/head
Seena Fallah 2024-05-17 00:11:58 +02:00 committed by Guillaume Abrioux
parent 779a13eb31
commit 7016c6df3c
2 changed files with 4 additions and 0 deletions

View File

@ -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 "

View File

@ -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 "