From d4e31b90a67a76d21d98cd956fc2809b980b8126 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Thu, 14 Feb 2019 10:23:19 +0100 Subject: [PATCH] Revert "osd: container remove --pid=host" This reverts commit bb2bbeb94115692ea072a1f6e2aed2c6c5336cec. Looks like when not passing `--pid=host` we are facing some issues when deploying more than 2 OSDs in containerized environment. At the moment, we are still troubleshooting this issue but we prefer to revert this commit so it doesn't block any PR in the CI. As soon as we have a fix; we will push a new PR to remove `--pid=host` (a revert of revert...) Signed-off-by: Guillaume Abrioux --- roles/ceph-osd/templates/ceph-osd-run.sh.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/ceph-osd/templates/ceph-osd-run.sh.j2 b/roles/ceph-osd/templates/ceph-osd-run.sh.j2 index 364b048cf..5678d62bf 100644 --- a/roles/ceph-osd/templates/ceph-osd-run.sh.j2 +++ b/roles/ceph-osd/templates/ceph-osd-run.sh.j2 @@ -74,6 +74,7 @@ fi --rm \ --net=host \ --privileged=true \ + --pid=host \ --memory={{ ceph_osd_docker_memory_limit }} \ {% if (container_binary == 'docker' and ceph_docker_version.split('.')[0] is version_compare('13', '>=')) or container_binary == 'podman' -%} --cpus={{ ceph_osd_docker_cpu_limit }} \ -- 2.39.5