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

Method check_status

src/ceph-node-proxy/ceph_node_proxy/util.py:120–129  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

118 self.pending_shutdown = True
119
120 def check_status(self) -> bool:
121 logger.debug(f"Checking status of {self.name}")
122 if self.exc:
123 traceback.print_tb(self.exc.__traceback__)
124 logger.error(f"Caught exception: {self.exc.__class__.__name__}")
125 raise self.exc
126 if not self.is_alive():
127 logger.warning(f"{self.name} not alive")
128 self.start()
129 return True
130
131 def main(self) -> None:
132 raise NotImplementedError()

Callers 1

loopMethod · 0.45

Calls 5

debugMethod · 0.45
errorMethod · 0.45
is_aliveMethod · 0.45
warningMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected