]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
add missing mon object to osd_failsafe
authorAlfredo Deza <adeza@redhat.com>
Thu, 26 Feb 2015 16:31:31 +0000 (11:31 -0500)
committerAlfredo Deza <adeza@redhat.com>
Thu, 26 Feb 2015 19:47:35 +0000 (14:47 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 1673be45c0e3aeb1eadad7ecd5b87570e9bac5ca)

tasks/osd_failsafe_enospc.py

index 524ec75c85d0f210df0b10c82157168831e54896..2af94cd58e4c68a35417506365664f73dab4ef01 100644 (file)
@@ -5,7 +5,6 @@ from cStringIO import StringIO
 import logging
 import time
 
-import ceph_manager
 from teuthology.orchestra import run
 from util.rados import rados
 from teuthology import misc as teuthology
@@ -52,6 +51,9 @@ def task(ctx, config):
     # State NONE -> NEAR
     log.info('1. Verify warning messages when exceeding nearfull_ratio')
 
+    first_mon = teuthology.get_first_mon(ctx, config)
+    (mon,) = ctx.cluster.only(first_mon).remotes.iterkeys()
+
     proc = mon.run(
              args=[
                 'daemon-helper',