From 216ab2d776021ca18aab13d41d5dd00533a15aea Mon Sep 17 00:00:00 2001 From: Ivo Jimenez Date: Tue, 3 May 2016 15:47:01 -0700 Subject: [PATCH] Mounts /run when executing osd container --- roles/ceph-osd/tasks/docker/start_docker_osd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ceph-osd/tasks/docker/start_docker_osd.yml b/roles/ceph-osd/tasks/docker/start_docker_osd.yml index b9b9cef9c..fff0ce210 100644 --- a/roles/ceph-osd/tasks/docker/start_docker_osd.yml +++ b/roles/ceph-osd/tasks/docker/start_docker_osd.yml @@ -24,7 +24,7 @@ state: started privileged: yes env: "OSD_DEVICE={{ item.0 }},{{ ceph_osd_docker_prepare_env }}" - volumes: "/var/lib/ceph:/var/lib/ceph,/etc/ceph:/etc/ceph,/dev:/dev" + volumes: "/var/lib/ceph:/var/lib/ceph,/etc/ceph:/etc/ceph,/dev:/dev,/run:/run" with_together: - ceph_osd_docker_devices - osd_prepared.results @@ -163,7 +163,7 @@ state: started privileged: yes env: "OSD_DEVICE={{ item }},{{ ceph_osd_docker_extra_env }}" - volumes: "/var/lib/ceph:/var/lib/ceph,/etc/ceph:/etc/ceph,/dev:/dev" + volumes: "/var/lib/ceph:/var/lib/ceph,/etc/ceph:/etc/ceph,/dev:/dev,/run:/run" with_items: ceph_osd_docker_devices when: not is_atomic and