sysinv rest API health query failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Tao Liu |
Bug Description
Brief Description
-----------------
'health' resource is listed for sysinv api; however, querying it fails with error "Unable to perform health query."
Severity
--------
Minor
Steps to Reproduce
------------------
1. Check resources listed for sysinv api:
curl -i -X GET http://
.... "health": [{"href": "http://
2. Attempt to query system health:
curl -i -X GET http://
Expected Behavior
------------------
2.
All hosts are provisioned: [OK]
All hosts are unlocked/enabled: [OK]
All hosts have current configurations: [OK]
All hosts are patch current: [OK]
No alarms: [Fail]
[1] alarms found, [0] of which are management affecting
Actual Behavior
----------------
2.
HTTP/1.1 400 Bad Request
Content-Type: application/json
Content-Length: 123
Date: Mon, 27 Aug 2018 17:18:29 GMT
{"error_message": "{\"debuginfo\": null, \"faultcode\": \"Client\", \"faultstring\": \"Unable to perform health query.\"}"}
Reproducibility
---------------
Reproducible
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
StarlingX master as of 2018-08-24_11-22-14
tags: | added: stx.fa |
tags: |
added: stx.fault removed: stx.fa |
Changed in starlingx: | |
assignee: | nobody → Tao Liu (tliu88) |
tags: |
added: stx.1.0 removed: stx.2018.10 |
Marked as gating for stx.2019.03. Appears to be a minor issue affecting a specific REST API call.