Project

General

Profile

Bug #16102

rbd-cli: no warning message displayed when enabling/disabling features that were already enabled/disabled

Added by Brett Niver almost 8 years ago. Updated almost 8 years ago.

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

0%

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

Description

Description of problem:
-----------------------
There is no warning message when tried to enable Journaling on an image which already has journaling.

Version-Release number of selected component (if applicable):
----------------
v10.2.0.1

How reproducible:
-----------------
100%

Steps to Reproduce:
-------------------
1. Create rbd image with layering and exclusive-lock feature enabled.
2. Now enable the Journaling feature using :-
-- rbd --cluster master feature disable rbd/data4 journaling
3. Verify if Journal is enabled on the image
-- rbd info -p rbd data4 --cluster master
rbd image 'data4':
size 10240 MB in 2560 objects
order 22 (4096 kB objects)
block_name_prefix: rbd_data.10b6238e1f29
format: 2
features: layering, exclusive-lock, journaling
flags:
journal: 10b6238e1f29
mirroring state: enabled
mirroring global id: badd2366-9979-44ff-9ab4-5489f75089ad
mirroring primary: true
4. Try to enable Journaling again on same image
  1. rbd --cluster master feature enable rbd/data4 journaling
  2. rbd --cluster master feature enable rbd/data4 journaling
  3. rbd --cluster master feature enable rbd/data4 journaling

Actual results:
----------------
No warning message if tried to enable feature which already exists

Expected results:
-----------------
Ther should be a warning message if tried to enable feature which already exists

History

#1 Updated by Jason Dillaman almost 8 years ago

  • Subject changed from rbd-cli : No warning message displayed when tried to enable/disable an image that already has journaling (BZ 1335077) to rbd-cli: no warning message displayed when enabling/disabling features that were already enabled/disabled

#2 Updated by Jason Dillaman almost 8 years ago

  • Status changed from New to Fix Under Review

#3 Updated by Jason Dillaman almost 8 years ago

  • Backport set to jewel

#4 Updated by Jason Dillaman almost 8 years ago

  • Status changed from Fix Under Review to Duplicate

Duplicate of # 16079

Also available in: Atom PDF