hello , today I upgraded to the latest ceph. after the first note was upgraded i noticed an inactive pg warning. I continued and finished the upgrade hoping the inactive pg would be fixed with a complete upgrade. But that was not the case.
following info from https://docs.ceph.com/en/latest/rados/troubleshooting/troubleshooting-pg/ to debug:
then this is where i hit a bump:
I have not run those commands in years, so am not sure if the ceph query command was broken prior to the upgrade.
Can someone check if the ceph pg query rks on their Quincy ceph system?
following info from https://docs.ceph.com/en/latest/rados/troubleshooting/troubleshooting-pg/ to debug:
Code:
:# ceph -s
cluster:
id: 220b9a53-4556-48e3-a73c-28deff665e45
health: HEALTH_WARN
Reduced data availability: 1 pg inactive
Code:
# ceph health detail
HEALTH_WARN Reduced data availability: 1 pg inactive
[WRN] PG_AVAILABILITY: Reduced data availability: 1 pg inactive
pg 55.0 is stuck inactive for 97m, current state unknown, last acting []
then this is where i hit a bump:
Code:
# ceph pg 55.0 query
Couldn't parse JSON : Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/usr/bin/ceph", line 1326, in <module>
retval = main()
File "/usr/bin/ceph", line 1246, in main
sigdict = parse_json_funcsigs(outbuf.decode('utf-8'), 'cli')
File "/usr/lib/python3/dist-packages/ceph_argparse.py", line 993, in parse_json_funcsigs
raise e
File "/usr/lib/python3/dist-packages/ceph_argparse.py", line 990, in parse_json_funcsigs
overall = json.loads(s)
File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I have not run those commands in years, so am not sure if the ceph query command was broken prior to the upgrade.
Can someone check if the ceph pg query rks on their Quincy ceph system?