Project

General

Profile

Actions

Bug #57570

closed

mon-stretched_cluster: Site weights are not monitored post stretch mode deployment

Added by Kamoltat (Junior) Sirivadhna over 1 year ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Category:
Stretch Clusters
Target version:
-
% Done:

100%

Source:
Tags:
backport_processed
Backport:
reef, quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Site weights are not monitored post-stretch mode deployment.
Basically, after we successfully enabled stretch mode, the two sites can have different weights and the cluster does not throw any warning messages.

Before stretch mode is enabled, there are checks that make sure that the weights of the two sites are the same, otherwise, it does not allow for the deployment of stretch mode.

ceph mon enable_stretch_mode mon_tie_breaker stretch_rule datacenter

Error EINVAL: the 2 datacenter instances in the cluster have differing weights 25947 and 15728 but stretch mode currently requires they be the same!

We can remove the host that is causing the issue, deploy stretch mode and add back the host, without any issues.
Should there be any checks if post-deployment, hosts ( OSDs ) are added to the sites, we show warning messages suggesting to keep the weights same?


Related issues 3 (0 open3 closed)

Copied to RADOS - Backport #61810: reef: mon-stretched_cluster: Site weights are not monitored post stretch mode deploymentResolvedKamoltat (Junior) SirivadhnaActions
Copied to RADOS - Backport #61811: quincy: mon-stretched_cluster: Site weights are not monitored post stretch mode deploymentResolvedKamoltat (Junior) SirivadhnaActions
Copied to RADOS - Backport #61812: pacific: mon-stretched_cluster: Site weights are not monitored post stretch mode deploymentResolvedKamoltat (Junior) SirivadhnaActions
Actions #1

Updated by Kamoltat (Junior) Sirivadhna over 1 year ago

  • Category set to Stretch Clusters
Actions #2

Updated by Kamoltat (Junior) Sirivadhna over 1 year ago

  • Description updated (diff)
Actions #3

Updated by Kamoltat (Junior) Sirivadhna over 1 year ago

  • Pull request ID set to 48209
Actions #4

Updated by Kamoltat (Junior) Sirivadhna over 1 year ago

  • Status changed from New to Fix Under Review
Actions #6

Updated by Radoslaw Zarzynski 10 months ago

  • Backport set to reef, quincy, pacific
Actions #7

Updated by Radoslaw Zarzynski 10 months ago

  • Status changed from Fix Under Review to Pending Backport
Actions #8

Updated by Backport Bot 10 months ago

  • Copied to Backport #61810: reef: mon-stretched_cluster: Site weights are not monitored post stretch mode deployment added
Actions #9

Updated by Backport Bot 10 months ago

  • Copied to Backport #61811: quincy: mon-stretched_cluster: Site weights are not monitored post stretch mode deployment added
Actions #10

Updated by Backport Bot 10 months ago

  • Copied to Backport #61812: pacific: mon-stretched_cluster: Site weights are not monitored post stretch mode deployment added
Actions #11

Updated by Backport Bot 10 months ago

  • Tags set to backport_processed
Actions #14

Updated by Konstantin Shalygin 3 months ago

  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF