Project

General

Profile

Actions

Cleanup #16985

closed

Improve error reporting from "rbd feature enable/disable"

Added by Jason Dillaman over 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
% Done:

0%

Tags:
Backport:
jewel
Reviewed:
Affected Versions:
Pull request ID:

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 1 (0 open1 closed)

Copied to rbd - Backport #18434: jewel: Improve error reporting from "rbd feature enable/disable"ResolvedNathan CutlerActions
Actions #1

Updated by Jason Dillaman over 7 years ago

  • Tracker changed from Feature to Cleanup
  • Backport set to jewel
Actions #2

Updated by Gaurav Garg over 7 years ago

  • Assignee set to Gaurav Garg
Actions #3

Updated by Gaurav Garg over 7 years ago

  • Status changed from New to Fix Under Review
Actions #4

Updated by Jason Dillaman over 7 years ago

  • Status changed from Fix Under Review to Resolved
Actions #5

Updated by Jason Dillaman over 7 years ago

  • Status changed from Resolved to Pending Backport
Actions #6

Updated by Nathan Cutler over 7 years ago

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

Updated by Nathan Cutler about 7 years ago

  • Target version set to v10.2.6
Actions #8

Updated by Nathan Cutler about 7 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF