Project

General

Profile

Actions

Bug #59681

open
RR RR

[rbd_support] improve cli_generic.sh tests for recovery from blocklisting

Bug #59681: [rbd_support] improve cli_generic.sh tests for recovery from blocklisting

Added by Ramana Raja over 3 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

Ilya's suggestions,
"
for TrashPurgeScheduleHandler and MirrorSnapshotScheduleHandler tests, instead of just checking that both pre- and post-blocklisting schedules show up, it would be good to test that both pre- and post-blocklisting scheduled work actually gets done. For trash purge scheduler, I would suggest creating two pools with an image trashed in each, adding a short (1-2m) schedule for one pool before blocklisting and for another after blocklisting and asserting that trash purge runs after enough time passes. And similarly for mirror snapshot scheduler: a single pool with two images would do as per-image schedules can be added there.

for TaskHandler test, queue some (let's say 5) flattens on different images before blocklisting and a sixth flatten after blocklisting and assert that all six flattens complete."

Source: https://github.com/ceph/ceph/pull/49742#issuecomment-1537460028


Related issues 1 (0 open — 1 closed)

Related to rbd - Bug #56724: [rbd_support] recover from RADOS instance blocklistingResolvedRamana Raja

Actions

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

  • Assignee set to Ramana Raja

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

  • Related to Bug #56724: [rbd_support] recover from RADOS instance blocklisting added

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

  • Tracker changed from Tasks to Bug
  • Subject changed from [rbd_support] improving rbd_support module's recovery from blocklisting tests to [rbd_support] improve cli_generic.sh tests for recovery from blocklisting
  • Backport set to pacific,quincy
  • Regression set to No
  • Severity set to 3 - minor

Task -> Bug since Tasks apparently don't have a Backport field.

KS Updated by Konstantin Shalygin over 2 years ago Actions #4

  • Backport changed from pacific,quincy to quincy

KS Updated by Konstantin Shalygin almost 2 years ago Actions #5

  • Backport deleted (quincy)
Actions

Also available in: PDF Atom