From: Sage Weil Date: Mon, 30 Apr 2012 18:13:02 +0000 (-0700) Subject: osd_recovery: test no* osdmap flags X-Git-Tag: 1.1.0~2563 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=dcbb8d4013e78c79482274015905ae6f38710665;p=teuthology.git osd_recovery: test no* osdmap flags --- diff --git a/teuthology/task/osd_recovery.py b/teuthology/task/osd_recovery.py index 27596b39c9..b034a3a3de 100644 --- a/teuthology/task/osd_recovery.py +++ b/teuthology/task/osd_recovery.py @@ -52,6 +52,16 @@ def task(ctx, config): manager.raw_cluster_cmd('tell', 'osd.2', 'flush_pg_stats') manager.wait_for_clean() + # test some osdmap flags + manager.raw_cluster_cmd('osd', 'set', 'noin') + manager.raw_cluster_cmd('osd', 'set', 'noout') + manager.raw_cluster_cmd('osd', 'set', 'noup') + manager.raw_cluster_cmd('osd', 'set', 'nodown') + manager.raw_cluster_cmd('osd', 'unset', 'noin') + manager.raw_cluster_cmd('osd', 'unset', 'noout') + manager.raw_cluster_cmd('osd', 'unset', 'noup') + manager.raw_cluster_cmd('osd', 'unset', 'nodown') + # write some new data p = rados_start(mon, ['-p', 'rbd', 'bench', '60', 'write', '-b', '4096'])