Project

General

Profile

Bug #21319

[cli] mirror "getter" commands will fail if mirroring has never been enabled

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

Status:
Pending Backport
Priority:
Normal
Target version:
-
Start date:
09/08/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous,jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

They should filter out the -ENOENT error from the missing rbd_mirroring object:

$ rbd mirror pool status dummy
rbd: failed to get status summary for mirrored images: (2) No such file or directory2017-09-08 15:15:11.168446 7f3dc319b1c0 -1 librbd: Failed to get mirror status summary: (2) No such file or directory

Related issues

Copied to rbd - Backport #21441: luminous: [cli] mirror "getter" commands will fail if mirroring has never been enabled Resolved
Copied to rbd - Backport #21442: jewel: [cli] mirror "getter" commands will fail if mirroring has never been enabled New

History

#1 Updated by Jason Dillaman 3 months ago

  • Status changed from New to In Progress
  • Assignee set to Jason Dillaman

#2 Updated by Jason Dillaman 3 months ago

  • Status changed from In Progress to Need Review

#3 Updated by Mykola Golub 3 months ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #21441: luminous: [cli] mirror "getter" commands will fail if mirroring has never been enabled added

#5 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #21442: jewel: [cli] mirror "getter" commands will fail if mirroring has never been enabled added

Also available in: Atom PDF