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

Function create_pools

qa/tasks/devstack.py:108–113  ·  view source on GitHub ↗
(ceph_node, pool_size)

Source from the content-addressed store, hash-verified

106
107
108def create_pools(ceph_node, pool_size):
109 log.info("Creating pools on Ceph cluster...")
110
111 for pool_name in ['volumes', 'images', 'backups']:
112 args = ['sudo', 'ceph', 'osd', 'pool', 'create', pool_name, pool_size]
113 ceph_node.run(args=args)
114
115
116def distribute_ceph_conf(devstack_node, ceph_node):

Callers 1

Calls 2

infoMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected