Find the number of pgs in creating mode.
(self)
| 2706 | return status['pgmap'].get('unfound_objects', 0) |
| 2707 | |
| 2708 | def get_num_creating(self): |
| 2709 | """ |
| 2710 | Find the number of pgs in creating mode. |
| 2711 | """ |
| 2712 | pgs = self.get_pg_stats() |
| 2713 | num = 0 |
| 2714 | for pg in pgs: |
| 2715 | if 'creating' in pg['state']: |
| 2716 | num += 1 |
| 2717 | return num |
| 2718 | |
| 2719 | def get_num_active_clean(self): |
| 2720 | """ |
no test coverage detected