You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
remap: panic on source osd missing from up set #47
When the cluster is not in a happy state, and the source OSD is not in the up set, pgremapper remap will panic, preventing the user from trying to reconstruct data from a down OSD on a specific target.
Some years ago, pgremapper have many of panics, see #10 (comment)
Today, the master code works for us in every-day usage. So, if you think you find the new bug, lease read, how to Bug Reports
For a quick fix you can use this shell function
functionfix_pgremapper_panic() {
# function fix situations when pgremapper is crashed on some osdmapslocal pg
local upmap_cmd
upmap_cmd="--verbose"if [[ -n"${UPMAP_POOL}" ]]
then
upmap_cmd="${upmap_cmd} --include-pools ${UPMAP_POOL}"fi# shellcheck disable=SC2086until${PG_REMAPPER} cancel-backfill ${upmap_cmd}> /dev/null 2>&1do
pg="$(${PG_REMAPPER} cancel-backfill ${upmap_cmd}2>&1>/dev/null | \ grep "panic"| tr -d '\n'| awk '{print $3}'| sed 's|:||g')"echo -e "Fix pgremapper panic for PG ${pg}"
ceph osd rm-pg-upmap-items "${pg}"
sleep 1s
done
}
Activity
k0ste commentedon Mar 7, 2024
Some years ago,
pgremapperhave many of panics, see #10 (comment)Today, the master code works for us in every-day usage. So, if you think you find the new bug, lease read, how to Bug Reports
For a quick fix you can use this shell function
baergj commentedon Mar 12, 2024
Thanks @k0ste! @Matt1360 is actually one of the pgremapper devs; we noticed this issue last week and wanted to make sure we didn't lose track of it.