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
Hmm, this is a situation that we hadn't seen yet and weren't sure how to handle. Basically, pgremapper has found multiple copies of an EC shard marked complete, and is not sure which one should be selected as the correct one for that slot.
Are you able to share a PG query for that PG? (I'm assuming that PGID is just a placeholder here.)
Unfortunately, I cannot send a pg query dump. The system is in a secure area, cannot copy dataout and the pg_query output is too big to type.
It is indeed an EC shard (12+4, on a system with 18 storage nodes) and we are in a dire situation as a bunch of our osds are >99% full, we have added 2 new hosts with 20 new OSDs but are struggling to get it to rebalance quickly enough. The remap commands dont seem effective and the osds actually GROW even when moving PGs off of them, most likely due to OSDMap growth during heavy recovery.
Anything else I can try to provide, I will. Let me know, thanks.
Hello,
we are getting the same panic regarding some PGs in our cluster. Here is the PG query of one of them, hope it helps. Our cluster is right now in a weird state, where we have degraded objects and a nearly full cluster, so bear that in mind.
@Polichronucci Thanks! I think I see a few fields in there that could be used to find the most recent complete shard. FWIW, like I noted above, if you install the latest version of pgremapper, you shouldn't see this panic anymore.
Activity
baergj commentedon Sep 7, 2022
Hmm, this is a situation that we hadn't seen yet and weren't sure how to handle. Basically, pgremapper has found multiple copies of an EC shard marked complete, and is not sure which one should be selected as the correct one for that slot.
Are you able to share a PG query for that PG? (I'm assuming that
PGIDis just a placeholder here.)wyllys66 commentedon Sep 7, 2022
Unfortunately, I cannot send a pg query dump. The system is in a secure area, cannot copy dataout and the pg_query output is too big to type.
It is indeed an EC shard (12+4, on a system with 18 storage nodes) and we are in a dire situation as a bunch of our osds are >99% full, we have added 2 new hosts with 20 new OSDs but are struggling to get it to rebalance quickly enough. The remap commands dont seem effective and the osds actually GROW even when moving PGs off of them, most likely due to OSDMap growth during heavy recovery.
Anything else I can try to provide, I will. Let me know, thanks.
baergj commentedon Sep 8, 2022
@wyllys66 I've pushed a change that turns this panic into a warning - feel free to build a new version and let me know what the results are!
Polichronucci commentedon Nov 1, 2022
Hello,
we are getting the same panic regarding some PGs in our cluster. Here is the PG query of one of them, hope it helps. Our cluster is right now in a weird state, where we have degraded objects and a nearly full cluster, so bear that in mind.
baergj commentedon Nov 8, 2022
@Polichronucci Thanks! I think I see a few fields in there that could be used to find the most recent complete shard. FWIW, like I noted above, if you install the latest version of pgremapper, you shouldn't see this panic anymore.
concubidated commentedon Feb 27, 2023
This should be resolved with PR #32