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

Method is_active

qa/tasks/ceph_manager.py:3112–3116  ·  view source on GitHub ↗

Wrapper to check if all pgs are active

(self)

Source from the content-addressed store, hash-verified

3110 self.log('osd.%d is up' % osd)
3111
3112 def is_active(self):
3113 """
3114 Wrapper to check if all pgs are active
3115 """
3116 return self.get_num_active() == self.get_num_pgs()
3117
3118 def all_active_or_peered(self):
3119 """

Callers 2

wait_for_activeMethod · 0.95
wait_till_activeMethod · 0.95

Calls 2

get_num_activeMethod · 0.95
get_num_pgsMethod · 0.95

Tested by

no test coverage detected