-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Description
I am experiencing an issue with this tool on Rocky 9.4, with Python 3.9.18 and Reef 18.2.4. I have the rados 2.0.0 module. When I run upmap-remapped.py, I get this:
# ./upmap-remapped.py
Error loading existing upmaps
Digging around a bit, it appears to be erroring specifically on line 162:
upmaps = json.loads(osd_dump_json)['pg_upmap_items']
If I print the exception, I get:
Error loading existing upmaps: Expecting value: line 1 column 2345 (char 2344)
Now, if I put the data from line 161:
osd_dump_json = output.decode('utf-8').strip()
into a file and run jq .pg_upmap_items on it, I get valid data back.
So I'm really at a loss as to how to modify the code.
Metadata
Metadata
Assignees
Labels
No labels