Bug 1515337
Summary: | [rbd] rbd du on empty pool does not return proper output | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Tomas Petr <tpetr> | |
Component: | RBD | Assignee: | Jason Dillaman <jdillama> | |
Status: | CLOSED ERRATA | QA Contact: | Manohar Murthy <mmurthy> | |
Severity: | low | Docs Contact: | Erin Donnelly <edonnell> | |
Priority: | low | |||
Version: | 2.3 | CC: | ceph-eng-bugs, ceph-qe-bugs, edonnell, hnallurv, jdillama, kdreyer | |
Target Milestone: | z2 | Keywords: | Regression | |
Target Release: | 3.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | RHEL: ceph-12.2.4-4.el7cp Ubuntu: ceph_12.2.1-4redhat1xenial | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1515341 (view as bug list) | Environment: | ||
Last Closed: | 2018-04-26 17:38:39 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1515341 |
Description
Tomas Petr
2017-11-20 15:51:21 UTC
It looks this was caused by some commit between these two versions: https://github.com/ceph/ceph/blob/e407049a6a9cb588f27ab270948c404159aa2205/src/tools/rbd/action/DiskUsage.cc#L211 in 10.2.6 upstream version (culprit?): if (!found) { std::cerr << "specified image " << imgname << " is not found." << std::endl; return -ENOENT; } commit: https://github.com/ceph/ceph/commit/ce4c801cfc114f718ca51c32b657fec638ca9aaf#diff-c57e0e173b64b0dd61751c61dcb97a04 It may be caused by other commit, I have _NOT_ tested the 10.2.7-27 without this commit. The issue is still existing in Luminous: [root@mons-0 ~]# ceph version ceph version 12.2.1-39.el7cp (22e26be5a4920c95c43f647b31349484f663e4b9) luminous (stable) [root@mons-0 ~]# rbd du --cluster ceph -p rbd --format=json specified image [root@mons-0 ~]# Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:1259 |