Project

General

Profile

Actions

Bug #13840

closed

Ceph Pools' MAX AVAIL is 0 if some OSDs' weight is 0

Added by Chengyuan Li over 8 years ago. Updated about 8 years ago.

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

0%

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

Description

After adding a new OSD and set its weight to 0, the pools' MAX AVAIL becomes 0 in "ceph df".

  1. ceph df
    GLOBAL:
    SIZE AVAIL RAW USED %RAW USED
    14694G 14694G 202M 0
    POOLS:
    NAME ID USED %USED MAX AVAIL OBJECTS
    rbd 0 0 0 0 0
    test2 1 0 0 0 0
    cephfs_data 2 0 0 0 0
    cephfs_metadata 3 2344 0 0 20
    cephfs2_data 4 0 0 0 0
    cephfs2_metadata 5 0 0 0 0
    rbd2 6 0 0 0 0

Related issues 3 (0 open3 closed)

Related to Ceph - Bug #10257: Ceph df doesn't report MAX AVAIL correctly when using rulesets and OSD in ruleset is down and outResolvedJoao Eduardo Luis12/05/2014

Actions
Copied to Ceph - Backport #13929: infernalis: Ceph Pools' MAX AVAIL is 0 if some OSDs' weight is 0ResolvedAbhishek VarshneyActions
Copied to Ceph - Backport #13930: hammer: Ceph Pools' MAX AVAIL is 0 if some OSDs' weight is 0ResolvedNathan CutlerActions
Actions #1

Updated by Zhiteng Huang over 8 years ago

This bug is related to http://tracker.ceph.com/issues/10257. And as pointed it out in https://bugzilla.redhat.com/show_bug.cgi?id=1225081, such bug 'significantly affects Openstack deployments' because Cinder RBD driver relies on 'df' result to report capacity to OpenStack Cinder scheduler. Please consider adjusting the priority of the bug as needed. Thanks.

Actions #2

Updated by Nathan Cutler over 8 years ago

  • Related to Bug #10257: Ceph df doesn't report MAX AVAIL correctly when using rulesets and OSD in ruleset is down and out added
Actions #3

Updated by Chengyuan Li over 8 years ago

Here is patch to fix this bug.
https://github.com/ceph/ceph/pull/6660

Actions #4

Updated by David Medberry over 8 years ago

Effects my OpenStack. Lost ability to create cinder volumes today due to this issue.

Actions #5

Updated by Ian Colle over 8 years ago

  • Status changed from New to Pending Backport
  • Assignee set to Loïc Dachary
  • Backport set to Hammer, Infernalis
Actions #6

Updated by Loïc Dachary over 8 years ago

  • Backport changed from Hammer, Infernalis to hammer, infernalis
Actions #7

Updated by Loïc Dachary over 8 years ago

  • Copied to Backport #13929: infernalis: Ceph Pools' MAX AVAIL is 0 if some OSDs' weight is 0 added
Actions #8

Updated by Loïc Dachary over 8 years ago

  • Copied to Backport #13930: hammer: Ceph Pools' MAX AVAIL is 0 if some OSDs' weight is 0 added
Actions #9

Updated by Nathan Cutler about 8 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF