Project

General

Profile

Actions

Bug #58733

open

Investigate RBD subcommands return codes

Added by Christopher Hoffman 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

Investigate rbd subcommands for correct return code handling.

Fix it if the problem is within the cli. If in api itself, leave as is.

For example command below is ran for non existing peer and returns with rc=0.

Command returns zero even for non-existing peer is tried to be removed

# sudo rbd mirror pool peer remove test aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
# echo $?
0

No data to display

Actions

Also available in: Atom PDF