Subcloud bootstrap failure is not showing appropriate BMC error message.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
rafael moyano |
Bug Description
Title
-----
Subcloud bootstrap failure is not showing appropriate BMC error message.
Brief Description
-----------------
Subcloud bootstrapping failed due to BMC connectivity. As a result, Ansible and dcmanager subcloud errors are showing a generic error message.
Severity
--------
Minor
Steps to Reproduce
------------------
1) Install central cloud.
2) Turn-off subcloud.
3) Kick-off subcloud bootstrapping from central cloud.
Expected Behavior
------------------
The following error message should be displayed:
"Failed to install the host via Redfish Virtual Media Controller.
Ping to BMC has failed. Check BMC values in install values file. Ensure you can ssh into BMC using these credentials. Err_code= ping_bmc"
Actual Behavior
----------------
Generic error message is displayed:
"Failed to install the host via Redfish Virtual Media Controller."
Reproducibility
---------------
Reproducible 100%
System Configuration
-------
Distributed Cloud
Test Activity
-------------
System Test
Timestamp/Logs
--------------
TASK [Fail if Redfish Virtual Media Controller job returns an error] *****
Monday 27 March 2023 06:30:44 +0000 (0:00:00.014) 0:04:43.926 *****
fatal: [subcloud1]: FAILED! => changed=false
msg: |-
Failed to install the host via Redfish Virtual Media Controller.
[sysadmin@
FAILED installing playbook of (subcloud1).
detail: fatal: [subcloud1]: FAILED! => changed=false
msg: |-
Failed to install the host via Redfish Virtual Media Controller.
Changed in starlingx: | |
importance: | Undecided → Low |
assignee: | nobody → rafael moyano (rmoyano) |
tags: | added: stx.9.0 stx.config |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/884772
Review: https:/