sysinv api should not return successfully if bmc password cannot be stored
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
zhipeng liu |
Bug Description
Brief Description
-----------------
This is related to: https:/
A command to set the BMC password should not return successfully the API caller if the request could not be completed.
Severity
--------
Major, system not configured to user specification without any error/result indication.
Steps to Reproduce
------------------
1. bootstrap the system
2. configure controller-0 as per wiki
3. add BMC username/password
system host-update controller-0 bm_type=bmc bm_username=root bm_password=root
4. Step 3 should fail if the password was not stored in barbican as per LP#1834670
Expected Behavior
------------------
The system command should fail if any part of that command fails.
Actual Behavior
----------------
The command returns with a successful return code.
Reproducibility
---------------
100%
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
20190628T013000Z
Last Pass
---------
unknown
Timestamp/Logs
--------------
2019-06-28 06:44:09.610 104162 INFO sysinv.
2019-06-28 06:44:09.610 104162 INFO sysinv.
2019-06-28 06:44:09.610 104162 INFO sysinv.
2019-06-28 06:44:09.611 104162 INFO sysinv.
2019-06-28 06:44:09.611 104162 INFO sysinv.
2019-06-28 06:44:10.044 90155 ERROR barbicanclient.
2019-06-28 06:44:10.045 90155 ERROR sysinv.
2019-06-28 06:44:10.055 90155 ERROR barbicanclient.
<head>
<title>503 Service Unavailable</title>
</head>
<body>
<h1>503 Service Unavailable</h1>
The server is currently unavailable. Please try again at a later time.<br /><br />
The Keystone service is temporarily unavailable.
</body>
</html>
2019-06-28 06:44:10.055 90155 ERROR sysinv.
2019-06-28 06:44:10.061 104162 INFO sysinv.
2019-06-28 06:44:10.061 104162 INFO sysinv.
2019-06-28 06:44:10.062 104162 INFO sysinv.
2019-06-28 06:44:10.078 104162 INFO sysinv.
2019-06-28 06:44:10.081 104162 INFO sysinv.
2019-06-28 06:44:10.081 104162 INFO sysinv.
2019-06-28 06:44:10.083 104162 INFO sysinv.
Test Activity
-------------
Developer testing
Changed in starlingx: | |
assignee: | Cindy Xie (xxie1) → zhipeng liu (zhipengs) |
Changed in starlingx: | |
status: | Confirmed → In Progress |
Marking as stx.2.0 -- silent system failure