Project

General

Profile

Actions

Bug #51098

open

device lights error handling is wonky

Added by Sage Weil almost 3 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
orchestrator
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

The output and error code is not right when you try to turn lights on/off for unsupported device types (nvme in the below example).

root@cpach:~# ceph device light on INTEL_SSDPE2KX040T7_PHLF7204018N4P0IGN
None
root@cpach:~# echo $?
0
root@cpach:~# ceph device ls-lights
{
    "fault": [],
    "ident": [
        "INTEL_SSDPE2KX040T7_PHLF7204018N4P0IGN" 
    ]
}
root@cpach:~# ceph -v
ceph version 16.2.2 (e8f22dde28889481f4dda2beb8a07788204821d3) pacific (stable)

Actions #1

Updated by Sebastian Wagner almost 3 years ago

  • Category set to orchestrator
Actions #2

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Priority changed from High to Normal
Actions

Also available in: Atom PDF