MCPcopy Create free account
hub / github.com/ceph/ceph / remove_pool

Method remove_pool

qa/tasks/mgr/test_cache.py:38–40  ·  view source on GitHub ↗
(self, pool_name)

Source from the content-addressed store, hash-verified

36 self.mgr_cluster.mon_manager.raw_cluster_cmd('osd', 'pool', 'create', pool_name, '1', '--yes-i-really-mean-it')
37
38 def remove_pool(self, pool_name):
39 self.config_set('mon', 'mon_allow_pool_delete', 'true')
40 self.mgr_cluster.mon_manager.raw_cluster_cmd('osd', 'pool', 'rm', pool_name, pool_name, '--yes-i-really-really-mean-it-not-faking')
41
42 def osd_epoch(self):
43 m = json.loads(self.mgr_cluster.mon_manager.raw_cluster_cmd("mgr", "cli", "get", "osd_map"))

Callers 4

bump_osdmapMethod · 0.95
setUpMethod · 0.45
tearDownMethod · 0.45
test_pool_removalMethod · 0.45

Calls 2

raw_cluster_cmdMethod · 0.80
config_setMethod · 0.45

Tested by

no test coverage detected