HTTP 500 error from cli fm event-show command (or fm alarm-show) where UUID specified is not valid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Lin Shuicheng |
Bug Description
Brief Description
-----------------
STX: 500 server error in cli fm event-show command (or fm alarm-show) where UUID specified is not valid
Severity
--------
Minor
Steps to Reproduce
------------------
Run the fm cli command to attempt to show a fault managed event or alarm
$fm event-show <invalidstring>
$fm alarm-show <invalidstring>
Expected Behavior
------------------
Expect better validation/feedback when UUID is not complete or invalid when running
fm event-show
fm alarm-show
Actual Behavior
----------------
(keystone_admin)]# fm event-show <partial or invalid UUID, alpha or numeric string ID eg. 200.001>
HTTP Server Error (HTTP 500) (Request-ID: req-af6374fe-
Reproducibility
---------------
Yes
System Configuration
-------
any
Branch/Pull Time/Commit
-------
Master as of: 2018-12-03_20-18-00
Timestamp/Logs
--------------
Changed in starlingx: | |
assignee: | Bruce Jones (brucej) → Cindy Xie (xxie1) |
Changed in starlingx: | |
assignee: | Cindy Xie (xxie1) → Lin Shuicheng (shuicheng) |
tags: |
added: stx.2.0 removed: stx.2019.05 |
Minor issue with error response; would be nice to fix, but doesn't gate release. It maybe a good exercise for someone ramping up in the stx flock components.