Project

General

Profile

Actions

Cleanup #75983

closed
JP JP

simplify discard queue health warning

Cleanup #75983: simplify discard queue health warning

Added by Jaya Prakash 8 months ago. Updated 30 days ago.

Status:
Backporting
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Backport:
tentacle, squid
Reviewed:
Affected Versions:
Pull request ID:
Tags (freeform):
Fixed In:
v21.0.0-801-gae063a4270
Released In:
v21.2.0~685
Upkeep Timestamp:
2026-11-04T01:11:31+00:00

Description

Previously, the health summary for *_DISCARD_QUEUE alerts appended
per-OSD detail strings directly into the summary. This caused the
summary line to become excessively verbose when multiple OSDs reported
discard queue issues, duplicating information that is already available
in the detailed health output.

Change the summary to use a concise generic message
("experiencing slow discard operations") and rely on the existing
per-OSD detail entries for queue length, and size information.

This aligns the discard queue health reporting with other health checks
and keeps the summary readable while preserving detailed diagnostics.

Changing it from complex

 3 OSD(s) osd.0 Slow discard on BLOCK, queue: 8773 items 8.3 GiB osd.1 Slow discard on BLOCK, queue: 12034 items 8.3 GiB osd.2 Slow discard on BLOCK, queue: 278484 items 8.0 GiB

to simple

3 OSD(s) experiencing slow discard operations

health detail

HEALTH_WARN 3 OSD(s) experiencing slow discard operations; 3 OSD(s) experiencing slow operations in BlueStore;
[WRN] BLOCK_DEVICE_DISCARD_QUEUE: 3 OSD(s) experiencing slow discard operations
     osd.0 Slow discard on BLOCK, queue: 8773 items 8.3 GiB
     osd.1 Slow discard on BLOCK, queue: 12034 items 8.3 GiB
     osd.2 Slow discard on BLOCK, queue: 278484 items 8.0 GiB

Related issues 3 (2 open — 1 closed)

Related to bluestore - Enhancement #69082: Notify with health warn if bdev discard queue gets too long.ResolvedJaya Prakash

Actions
Copied to bluestore - Backport #80975: tentacle: simplify discard queue health warningIn ProgressBrad Hubbard

Actions
Copied to bluestore - Backport #80976: squid: simplify discard queue health warningIn ProgressBrad Hubbard

Actions

JP Updated by Jaya Prakash 8 months ago Actions #1

  • Subject changed from simplify discard queue health summary to simplify discard queue health warning

JP Updated by Jaya Prakash 8 months ago Actions #2

  • Related to Enhancement #69082: Notify with health warn if bdev discard queue gets too long. added

JP Updated by Jaya Prakash 8 months ago Actions #3

  • Pull request ID set to 68353

KC Updated by Kefu Chai 8 months ago Actions #4

  • Status changed from New to Fix Under Review

JP Updated by Jaya Prakash 8 months ago Actions #5

  • Assignee set to Jaya Prakash

UB Updated by Upkeep Bot 8 months ago Actions #6

  • Status changed from Fix Under Review to Resolved
  • Merge Commit set to ae063a4270b854389285a59fdfef10d6c50a2ad4
  • Fixed In set to v21.0.0-801-gae063a4270
  • Upkeep Timestamp set to 2026-04-22T10:48:35+00:00

BH Updated by Brad Hubbard 2 months ago Actions #7

  • Backport set to tentacle, squid

BH Updated by Brad Hubbard 2 months ago Actions #8

  • Status changed from Resolved to Pending Backport

UB Updated by Upkeep Bot 2 months ago Actions #9

  • Copied to Backport #80975: tentacle: simplify discard queue health warning added

UB Updated by Upkeep Bot 2 months ago Actions #10

  • Copied to Backport #80976: squid: simplify discard queue health warning added

UB Updated by Upkeep Bot 2 months ago Actions #11

  • Status changed from Pending Backport to Backporting
  • Upkeep Timestamp changed from 2026-04-22T10:48:35+00:00 to 2026-09-28T12:31:02+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #12

  • Released In set to v21.2.0~684
  • Upkeep Timestamp changed from 2026-09-28T12:31:02+00:00 to 2026-10-24T01:29:32+00:00

UB Updated by Upkeep Bot 30 days ago Actions #13

  • Released In changed from v21.2.0~684 to v21.2.0~685
  • Upkeep Timestamp changed from 2026-10-24T01:29:32+00:00 to 2026-11-04T01:11:31+00:00
Actions

Also available in: PDF Atom