Project

General

Profile

Actions

Bug #42485

closed

verify_upmaps can not cancel invalid upmap_items in some cases

Added by huang jun over 4 years ago. Updated over 4 years ago.

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]


Related issues 3 (0 open3 closed)

Copied to RADOS - Backport #42546: mimic: verify_upmaps can not cancel invalid upmap_items in some casesRejectedDavid ZafmanActions
Copied to RADOS - Backport #42547: nautilus: verify_upmaps can not cancel invalid upmap_items in some casesResolvedNathan CutlerActions
Copied to RADOS - Backport #42548: luminous: verify_upmaps can not cancel invalid upmap_items in some casesResolvedNathan CutlerActions
Actions

Also available in: Atom PDF