Project

General

Profile

Actions

Bug #6824

closed

Removal of an OSD that is not down should set non-successful status code

Added by Brian Andrus over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Category:
Monitor
Target version:
-
% Done:

0%

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

Description

A customer reports that some ceph commands return a status code of 0, even when they failed. The provided example was for removing an OSD that is still up (ceph osd rm). ceph will even return successful when a non-valid OSD id is provided.

An audit should be considered for other ceph sub-commands to ensure that status codes are standardized and accurate.

Actions

Also available in: Atom PDF