]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
lost_unfound: new mark_unfound_lost syntax
authorSage Weil <sage@newdream.net>
Fri, 24 Feb 2012 04:07:24 +0000 (20:07 -0800)
committerSage Weil <sage@newdream.net>
Fri, 24 Feb 2012 04:09:09 +0000 (20:09 -0800)
teuthology/task/lost_unfound.py

index e0d2833a05d69eb8565984ef032a234086a80eb3..f86fee82f00549c826ffa089ed91e8e2714737d8 100644 (file)
@@ -126,10 +126,8 @@ def task(ctx, config):
         if pg['stat_sum']['num_objects_unfound'] > 0:
             primary = 'osd.%d' % pg['acting'][0]
             log.info("reverting unfound in %s on %s", pg['pgid'], primary)
-            manager.raw_cluster_cmd(
-                'tell', primary,
-                'mark_unfound_lost', pg['pgid'], 'revert'
-                )
+            manager.raw_cluster_cmd('pg', pg['pgid'],
+                                    'mark_unfound_lost', 'revert')
         else:
             log.info("no unfound in %s", pg['pgid'])