Actions
Bug #42485
closedverify_upmaps can not cancel invalid upmap_items in some cases
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
luminous,mimic,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
We can not cancel in verify_upmap if remap an osd to different root bucket,
cluster topology:
osd.0 ~ osd.29 belongs to datacenter 1
osd30 ~ osd.59 belongs to datacenter 2
crush rule:
take datacenter 1
chooseleaf 2 host
emit
take datacenter 2
chooseleaf 2 host
emit
The pg's primary osd in datacenter 1.
We should cancel the pgid from upmap_items like below
from [26,12,54,46] to [30,12,54,46]
pg_upmap_items [26,30]
from [16,25,53,31] to [40,25,53,0]
pg_upmap_items [16,20,31,0]
Actions