Project

General

Profile

Actions

Bug #66418

closed
LP ID

"rbd du" fails if there are 0 sized images

Bug #66418: "rbd du" fails if there are 0 sized images

Added by Lucian Petrut over 2 years ago. Updated 3 months ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
squid reef quincy
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-2858-g49d666a111
Released In:
v20.2.0~2668
Upkeep Timestamp:
2026-08-28T01:38:04+00:00

Description

A recent PR introduced a regression, "rbd du" getting an assertion failure if there are 0 sized images:

```
$ rbd du

/mnt/data/workspace/ceph_linux/src/librbd/api/DiffIterate.cc: In function 'int librbd::api::DiffIterate<ImageCtxT>::execute() [with ImageCtxT = librbd::ImageCtx]' thread 7fa28543f740 time 2024-06-11T07:51:39.470207+0000
/mnt/data/workspace/ceph_linux/src/librbd/api/DiffIterate.cc: 341: FAILED ceph_assert(object_diff_state.size() == end_object_no - start_object_no)
```

This change has been backported to Pacific, which is affected as well.


Related issues 4 (0 open — 4 closed)

Has duplicate rbd - Bug #68508: Gui block images --> Restart mgr serviceDuplicateIlya Dryomov

Actions
Copied to rbd - Backport #66582: quincy: "rbd du" fails if there are 0 sized imagesResolvedIlya Dryomov

Actions
Copied to rbd - Backport #66583: reef: "rbd du" fails if there are 0 sized imagesResolvedIlya Dryomov

Actions
Copied to rbd - Backport #66584: squid: "rbd du" fails if there are 0 sized imagesResolvedIlya Dryomov

Actions

ID Updated by Ilya Dryomov over 2 years ago Actions #2

  • Status changed from New to In Progress
  • Assignee set to Ilya Dryomov
  • Priority changed from Normal to Immediate
  • Regression changed from No to Yes

ID Updated by Ilya Dryomov over 2 years ago Actions #3

  • Backport changed from squid reef pacific to squid reef quincy

ID Updated by Ilya Dryomov over 2 years ago Actions #4

Lucian Petrut wrote:

This change has been backported to Pacific, which is affected as well.

Unfortunately, pacific is EOL.

ID Updated by Ilya Dryomov over 2 years ago Actions #5

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 57973

ID Updated by Ilya Dryomov over 2 years ago Actions #6

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot over 2 years ago Actions #7

  • Copied to Backport #66582: quincy: "rbd du" fails if there are 0 sized images added

UB Updated by Upkeep Bot over 2 years ago Actions #8

  • Copied to Backport #66583: reef: "rbd du" fails if there are 0 sized images added

UB Updated by Upkeep Bot over 2 years ago Actions #9

  • Copied to Backport #66584: squid: "rbd du" fails if there are 0 sized images added

UB Updated by Upkeep Bot over 2 years ago Actions #10

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot over 2 years ago Actions #11

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

ID Updated by Ilya Dryomov about 2 years ago Actions #12

  • Has duplicate Bug #68508: Gui block images --> Restart mgr service added

UB Updated by Upkeep Bot over 1 year ago Actions #13

  • Merge Commit set to 49d666a1111c7597a537ad6b53ae45c4c6c3e27b
  • Fixed In set to v19.3.0-2858-g49d666a1111
  • Upkeep Timestamp set to 2025-07-11T01:37:58+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #14

  • Fixed In changed from v19.3.0-2858-g49d666a1111 to v19.3.0-2858-g49d666a111
  • Upkeep Timestamp changed from 2025-07-11T01:37:58+00:00 to 2025-07-14T22:43:07+00:00

UB Updated by Upkeep Bot about 1 year ago Actions #15

  • Released In set to v20.2.0~2668
  • Upkeep Timestamp changed from 2025-07-14T22:43:07+00:00 to 2025-11-01T01:33:22+00:00

UB Updated by Upkeep Bot 3 months ago Actions #16

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-11-01T01:33:22+00:00 to 2026-08-28T01:38:04+00:00
Actions

Also available in: PDF Atom