Project

General

Profile

Cleanup #16985

Improve error reporting from "rbd feature enable/disable"

Added by Jason Dillaman 9 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
Start date:
08/10/2016
Due date:
% Done:

0%

Tags:
Backport:
jewel
Reviewed:
Affected Versions:
Release:
Needs Doc:
No

Description

For example, attempting to enable the journaling feature on an image that doesn't have the exclusive-lock feature enabled results in the following:

rbd: failed to update image features: (22) Invalid argument
2016-05-11 09:13:40.317719 7f8c53de7d80 -1 librbd: cannot enable journaling

The error message should explain the missing dependency.


Related issues

Copied to Backport #18434: jewel: Improve error reporting from "rbd feature enable/disable" Resolved

History

#1 Updated by Jason Dillaman 9 months ago

  • Tracker changed from Feature to Cleanup
  • Backport set to jewel

#2 Updated by Gaurav Garg 5 months ago

  • Assignee set to Gaurav Garg
  • Needs Doc set to No

#3 Updated by Gaurav Garg 5 months ago

  • Status changed from New to Need Review

#4 Updated by Jason Dillaman 5 months ago

  • Status changed from Need Review to Resolved

#5 Updated by Jason Dillaman 4 months ago

  • Status changed from Resolved to Pending Backport

#6 Updated by Nathan Cutler 4 months ago

  • Copied to Backport #18434: jewel: Improve error reporting from "rbd feature enable/disable" added

#7 Updated by Nathan Cutler 3 months ago

  • Target version set to v10.2.6

#8 Updated by Nathan Cutler 3 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF