Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/upmap/upmap-remapped.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def rm_upmap_pg_items(pgid):
sys.exit(0)

# discover existing upmaps
osd_dump_json = subprocess.getoutput('ceph osd dump -f json | jq -r')
osd_dump_json = subprocess.getoutput('ceph osd dump -f json | jq -r \'walk(if type == "object" then del(.score_acting, .score_stable) else . end)\'')
osd_dump = json.loads(osd_dump_json)
upmaps = osd_dump['pg_upmap_items']

Expand Down