Proposed action for 'dcmanager subcloud error' for bootstrap failure needs to be updated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Raphael Lima |
Bug Description
Brief Description
-----------------
It is possible to perform a subcloud bootstrap without deleting and re-adding the subcloud, but the proposed action for bootstrap failures currently shows:
"For bootstrap failures, please delete and re-add the subcloud after the cause of failure has been resolved"
When a better proposed action message would be:
"For bootstrap failures, please use 'dcmanager subcloud deploy bootstrap' after the cause of failure has been resolved"
Severity
-----------------
Minor: System/Feature is usable with minor issue
Steps to Reproduce
-----------------
Perform a subcloud deploy and force a bootstrap failure like modifying registries url or modifying username and password.
Expected Behavior
-----------------
When a bootstrap failure occurs, it is expected to see an accurate and helpful message when using: dcmanager subcloud error <subcloud>
Actual Behavior
-----------------
dcmanager subcloud error proposed action for bootstrap failure suggests the deletion and reinstall of a subcloud, which is not necessary.
Reproducibility
-----------------
100% reproducible
System Configuration
-----------------
DC system with a subcloud
Last Pass
-----------------
n/a
Timestamp/Logs
-----------------
[sysadmin@
FAILED bootstrapping playbook of (subcloud1).
detail: fatal: [subcloud1]: FAILED! => changed=true
failed_when_result: true
msg: non-zero return code
stderr: |-
stderr_lines: <omitted>
404 Client Error: Not Found ("manifest unknown: manifest unknown")
HARD FAIL - Image download failed: registry.
HARD FAIL - Image download failed: registry.
HARD FAIL - Image download failed: registry.
HARD FAIL - Image download failed: registry.
FAILED TASK: TASK [common/
For bootstrap failures, please delete and re-add the subcloud after the cause of failure has been resolved.
Changed in starlingx: | |
assignee: | nobody → Raphael Lima (r-lima) |
Changed in starlingx: | |
importance: | Undecided → Low |
Fix proposed to branch: master /review. opendev. org/c/starlingx /distcloud/ +/918663
Review: https:/