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
Seena Fallah 2024-05-17 00:11:58 +02:00
parent 65a9e0fa92
commit 2485f9f7d5
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 "