Bug 1638228 - [GSS] Modifying a ruleset to include device class causes data movement even when the cluster has only one type of device
Summary: [GSS] Modifying a ruleset to include device class causes data movement even w...
Keywords:
Status: CLOSED DUPLICATE of bug 1639833
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RADOS
Version: 3.0
Hardware: x86_64
OS: Unspecified
high
high
Target Milestone: rc
: 3.*
Assignee: Josh Durgin
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-11 07:42 UTC by Karun Josy
Modified: 2021-12-10 18:08 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-17 21:37:14 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-2740 0 None None None 2021-12-10 18:08:04 UTC

Description Karun Josy 2018-10-11 07:42:10 UTC
Description of problem:

Consider a cluster with device all HDDs. 

- Initially the ruleset "test" doesn't have a device class associated with it 

rule test {
        id 2
        type replicated
        min_size 1
        max_size 10
        step take default            =========> hdd device class missing
        step chooseleaf firstn 0 type host
        step emit
}


- Edited the crushmap and added the device class

rule test {
        id 2
        type replicated
        min_size 1
        max_size 10
        step take default class hdd  =========> hdd device class present
        step chooseleaf firstn 0 type host
        step emit
}


After injecting the new crush map, we noticed some data movement. Ideally there shouldn't be any data movement as there is no change in the underlying osd disks types.

Is this expected behaviour? If yes,is there any workaround to prevent it as it causes large data movement?


Version-Release number of selected component (if applicable):
3.1

How reproducible:
Always

Comment 13 Josh Durgin 2018-10-17 21:37:14 UTC

*** This bug has been marked as a duplicate of bug 1639833 ***


Note You need to log in before you can comment on or make changes to this bug.