Project

General

Profile

Actions

Bug #58683

open

[rbd-mirror] "rbd create --mirror-image-mode journal" shouldn't require specifing the journaling feature

Added by Ilya Dryomov about 1 year ago. Updated about 1 year ago.

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

0%

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

Description

$ rbd create --size 1G --mirror-image-mode journal data/img
2023-02-09T12:37:54.561-0500 7f8e1f7fe700 -1 librbd::Journal: 0x7f8e00007440 C_IsTagOwner::finish: failed to get tag owner: (2) No such file or directory
2023-02-09T12:37:54.561-0500 7f8e1f7fe700 -1 librbd::mirror::EnableRequest: 0x7f8dfc0031b0 handle_get_tag_owner: failed to check tag ownership: (2) No such file or directory
2023-02-09T12:37:54.561-0500 7f8e1f7fe700 -1 librbd::image::CreateRequest: 0x55ce31b61320 handle_mirror_image_enable: cannot enable mirroring: (2) No such file or directory
rbd: create error: (2) No such file or directory

$ rbd create --size 1G --mirror-image-mode journal --image-feature exclusive-lock,journaling data/img
<image is created>

The user specifying --mirror-image-mode journal should be enough of a cue to enable the journaling feature.

Actions #1

Updated by Ilya Dryomov about 1 year ago

  • Subject changed from "rbd create --mirror-image-mode journal" requires specifing the journaling feature to [rbd-mirror] "rbd create --mirror-image-mode journal" shouldn't require specifing the journaling feature
Actions

Also available in: Atom PDF