]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-defaults: fix containerized osd restarts 1716/head
authorAndrew Schoen <aschoen@redhat.com>
Thu, 3 Aug 2017 16:49:18 +0000 (11:49 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 4 Aug 2017 11:38:38 +0000 (06:38 -0500)
This needs to check `containerized_deployment` because
socket_osd_container is undefined otherwise.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
roles/ceph-defaults/handlers/main.yml

index e8659f9042b03608bdbf54f2f57e49551da52286..f661e3b1cd764a4ec285db219199dc1763753800 100644 (file)
@@ -44,6 +44,7 @@
   when:
   # We do not want to run these checks on initial deployment (`socket_osd_container.results[n].rc == 0`)
   # except when a crush location is specified. ceph-disk will start the osds before the osd crush location is specified
+    - containerized_deployment
     - ((crush_location is defined and crush_location) or item.get('rc') == 0)
     - handler_health_osd_check
     # See https://github.com/ceph/ceph-ansible/issues/1457 for the condition below