Skip to content

Commit

Permalink
ceph-container: use ceph user and group
Browse files Browse the repository at this point in the history
Use --setuser and --setgroup to ceph to run daemons with ceph user.

Signed-off-by: Seena Fallah <[email protected]>
(cherry picked from commit 7016c6d)
  • Loading branch information
clwluvw committed May 17, 2024
1 parent 65a9e0f commit 2485f9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions group_vars/all.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down
2 changes: 2 additions & 0 deletions roles/ceph-defaults/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 2485f9f

Please sign in to comment.