Project

General

Profile

Bug #55450

[DOC] stretch_rule defined in the doc needs updation

Added by Pawan Dhiran almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
Documentation
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
Yes
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Monitor
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

in section [1], the stretch_rule defined to be added to the crush map needs to be updated.
min size and max size params are missing from the guide, which result in an error.

Rule :
"""
rule stretch_rule {
id 1
type replicated
min_size 1
max_size 10
step take DC1
step chooseleaf firstn 2 type host
step emit
step take DC2
step chooseleaf firstn 2 type host
step emit
}
"""

[1]. https://docs.ceph.com/en/latest/rados/operations/stretch-mode/#id2

History

#1 Updated by Neha Ojha almost 2 years ago

  • Assignee changed from Zac Dover to Kamoltat (Junior) Sirivadhna

#2 Updated by Kamoltat (Junior) Sirivadhna over 1 year ago

  • Pull request ID set to 46170

Opensource contributor, github username: elacunza. Created https://github.com/ceph/ceph/pull/46170 and have resolved this issue.

#3 Updated by Kamoltat (Junior) Sirivadhna over 1 year ago

  • Status changed from New to Resolved

Also available in: Atom PDF