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

Method save_conf_epoch

qa/tasks/ceph_manager.py:1654–1658  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1652 return ['sudo'] + self.pre + ['timeout', f'{timeout}', 'ceph',
1653 '--cluster', self.cluster]
1654 def save_conf_epoch(self):
1655 p = self.ceph("config log 1 --format=json")
1656 J = json.loads(p.stdout.getvalue())
1657 self.ctx.conf_epoch = J[0]["version"]
1658 log.info("config epoch is %d", self.ctx.conf_epoch)
1659
1660 def ceph(self, cmd, **kwargs):
1661 """

Callers 3

conf_epochFunction · 0.80
conf_epochFunction · 0.80
__init__Method · 0.80

Calls 2

cephMethod · 0.95
infoMethod · 0.45

Tested by

no test coverage detected