Project

General

Profile

Actions

Bug #57650

open

mon-stretch: reweighting an osd to a big number, then back to original causes uneven weights

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

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

0%

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

Description

Reweight an osd from 0.0900 to 0.7000
and then reweight back to 0.0900. Causes uneven weights between
two zones reported by root. Although, each zone says its correct weight.

According to root: zone iris is 11796 and zone pze is 11795.

    {
            "id": -1,
            "name": "default",
            "type_id": 11,
            "type_name": "root",
            "weight": 23591,
            "alg": "straw2",
            "hash": "rjenkins1",
            "items": [
                {
                    "id": -5,
                    "weight": 11796,
                    "pos": 0
                },
                {
                    "id": -7,
                    "weight": 11795,
                    "pos": 1
                }
            ]
        },

        {
            "id": -5,
            "name": "iris",
            "type_id": 9,
            "type_name": "zone",
            "weight": 11796,
            "alg": "straw2",
            "hash": "rjenkins1",
            "items": [
                {
                    "id": -9,
                    "weight": 5898,
                    "pos": 0
                },
                {
                    "id": -10,
                    "weight": 5898,
                    "pos": 1
                }
            ]
        },
      {
            "id": -7,
            "name": "pze",
            "type_id": 9,
            "type_name": "zone",
            "weight": 11796,
            "alg": "straw2",
            "hash": "rjenkins1",
            "items": [
                {
                    "id": -11,
                    "weight": 5898,
                    "pos": 0
                },
                {
                    "id": -12,
                    "weight": 5898,
                    "pos": 1
                }
            ]
        },
Actions

Also available in: Atom PDF