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

Function distribute_ceph_conf

qa/tasks/devstack.py:116–121  ·  view source on GitHub ↗
(devstack_node, ceph_node)

Source from the content-addressed store, hash-verified

114
115
116def distribute_ceph_conf(devstack_node, ceph_node):
117 log.info("Copying ceph.conf to DevStack node...")
118
119 ceph_conf_path = '/etc/ceph/ceph.conf'
120 ceph_conf = ceph_node.read_file(ceph_conf_path, sudo=True)
121 devstack_node.write_file(ceph_conf_path, ceph_conf, sudo=True)
122
123
124def generate_ceph_keys(ceph_node):

Callers 1

Calls 3

infoMethod · 0.45
read_fileMethod · 0.45
write_fileMethod · 0.45

Tested by

no test coverage detected