I’m trying to understand this situation:
ceph health detail
HEALTH_WARN Reduced data availability: 33 pgs inactive
[WRN] PG_AVAILABILITY: Reduced data availability: 33 pgs inactive
pg 1.0 is stuck inactive for 20h, current state unknown, last acting []
pg 2.0 is stuck inactive for 20h, current state unknown, last acting []
pg 2.1 is stuck inactive for 20h, current state unknown, last acting []
pg 2.2 is stuck inactive for 20h, current state unknown, last acting []
pg 2.3 is stuck inactive for 20h, current state unknown, last acting []
pg 2.4 is stuck inactive for 20h, current state unknown, last acting []
pg 2.5 is stuck inactive for 20h, current state unknown, last acting []
pg 2.6 is stuck inactive for 20h, current state unknown, last acting []
pg 2.7 is stuck inactive for 20h, current state unknown, last acting []
pg 2.8 is stuck inactive for 20h, current state unknown, last acting []
pg 2.9 is stuck inactive for 20h, current state unknown, last acting []
pg 2.a is stuck inactive for 20h, current state unknown, last acting []
pg 2.b is stuck inactive for 20h, current state unknown, last acting []
pg 2.c is stuck inactive for 20h, current state unknown, last acting []
pg 2.d is stuck inactive for 20h, current state unknown, last acting []
pg 2.e is stuck inactive for 20h, current state unknown, last acting []
pg 2.f is stuck inactive for 20h, current state unknown, last acting []
pg 2.10 is stuck inactive for 20h, current state unknown, last acting []
pg 2.11 is stuck inactive for 20h, current state unknown, last acting []
pg 2.12 is stuck inactive for 20h, current state unknown, last acting []
pg 2.13 is stuck inactive for 20h, current state unknown, last acting []
pg 2.14 is stuck inactive for 20h, current state unknown, last acting []
pg 2.15 is stuck inactive for 20h, current state unknown, last acting []
pg 2.16 is stuck inactive for 20h, current state unknown, last acting []
pg 2.17 is stuck inactive for 20h, current state unknown, last acting []
pg 2.18 is stuck inactive for 20h, current state unknown, last acting []
pg 2.19 is stuck inactive for 20h, current state unknown, last acting []
pg 2.1a is stuck inactive for 20h, current state unknown, last acting []
pg 2.1b is stuck inactive for 20h, current state unknown, last acting []
pg 2.1c is stuck inactive for 20h, current state unknown, last acting []
pg 2.1d is stuck inactive for 20h, current state unknown, last acting []
pg 2.1e is stuck inactive for 20h, current state unknown, last acting []
pg 2.1f is stuck inactive for 20h, current state unknown, last acting []
[ceph: root@cn01 /]# date
Sat May 29 01:28:37 UTC 2021
[ceph: root@cn01 /]# ceph pg dump_stuck inactive
PG_STAT STATE UP UP_PRIMARY ACTING ACTING_PRIMARY
2.1f unknown [] -1 [] -1
2.1e unknown [] -1 [] -1
2.1d unknown [] -1 [] -1
2.1c unknown [] -1 [] -1
2.1b unknown [] -1 [] -1
2.1a unknown [] -1 [] -1
2.19 unknown [] -1 [] -1
2.18 unknown [] -1 [] -1
2.17 unknown [] -1 [] -1
2.16 unknown [] -1 [] -1
2.15 unknown [] -1 [] -1
2.14 unknown [] -1 [] -1
2.13 unknown [] -1 [] -1
2.12 unknown [] -1 [] -1
2.11 unknown [] -1 [] -1
2.10 unknown [] -1 [] -1
2.f unknown [] -1 [] -1
2.9 unknown [] -1 [] -1
2.b unknown [] -1 [] -1
2.c unknown [] -1 [] -1
2.e unknown [] -1 [] -1
2.a unknown [] -1 [] -1
2.d unknown [] -1 [] -1
2.8 unknown [] -1 [] -1
2.7 unknown [] -1 [] -1
2.6 unknown [] -1 [] -1
2.5 unknown [] -1 [] -1
2.0 unknown [] -1 [] -1
1.0 unknown [] -1 [] -1
2.3 unknown [] -1 [] -1
2.1 unknown [] -1 [] -1
2.2 unknown [] -1 [] -1
2.4 unknown [] -1 [] -1
ok
[ceph: root@cn01 /]# ceph pg 2.4 query
Couldn't parse JSON : Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/usr/bin/ceph", line 1310, in <module>
retval = main()
File "/usr/bin/ceph", line 1230, in main
sigdict = parse_json_funcsigs(outbuf.decode('utf-8'), 'cli')
File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 966, in
parse_json_funcsigs
raise e
File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 963, in
parse_json_funcsigs
overall = json.loads(s)
File "/usr/lib64/python3.6/json/__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
-jeremy