Fixes: https://tracker.ceph.com/issues/46808
Signed-off-by: Harley Gorrell <harley@panix.com>
(cherry picked from commit
5cdadf17d634e1cbd8d2b0be8c9439bc20bdbd13)
Conflicts:
src/pybind/mgr/mgr_module.py
- state "laggy" and "wait" are not relevant for nautilus
import re
import time
+# Full list of strings in "osd_types.cc:pg_state_string()"
PG_STATES = [
"active",
"clean",
"snaptrim_wait",
"snaptrim_error",
"creating",
- "unknown"]
+ "unknown",
+ "premerge",
+ "failed_repair",
+]
class CPlusPlusHandler(logging.Handler):