Subcloud iso path needs to be cleaned up if exists prior to remote install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Gabriel Silva Trevisan |
Bug Description
Brief Description
-----------------
Subcloud remote install will fail if there are files under subcloud iso path. This arises when a subcloud remote install is abruptly terminated following an uncontrolled swact or process restart.
Severity
--------
Minor
Steps to Reproduce
------------------
While a subcloud is being installed, either restart dcmanager-manager, or swact controllers.
Delete the failed subcloud and re-add.
Expected Behavior
------------------
Subcloud can be re-installed
Actual Behavior
----------------
Subcloud failed to be re-installed due to the existence of subcloud files under the iso path.
Reproducibility
---------------
100% reproducible
System Configuration
-------
Distributed Cloud
Branch/Pull Time/Commit
-------
2022-01-19 18:42:01
Last Pass
---------
Not aware of any previous testing for this scenario.
Timestamp/Logs
--------------
From system controller /var/log/
=======
2022-05-18 17:53:53.162 3346704 ERROR dcmanager.
2022-05-18 17:53:53.162 3346704 ERROR dcmanager.
2022-05-18 17:53:53.162 3346704 ERROR dcmanager.
2022-05-18 17:53:53.162 3346704 ERROR dcmanager.
2022-05-18 17:53:53.162 3346704 ERROR dcmanager.
2022-05-18 17:53:53.162 3346704 ERROR dcmanager.
2022-05-18 17:53:53.162 3346704 ERROR dcmanager.
2022-05-18 17:53:53.162 3346704 ERROR dcmanager.
=======
From system controller /var/log/user.log:
=======
2022-05-
=======
Test Activity
-------------
Developer Testing
Workaround
----------
If the subcloud fails to be installed for this reason, files under subcloud iso path will be cleaned up. Deleting and re-adding the subcloud the second time will work.
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.7.0 stx.distcloud |
Changed in starlingx: | |
assignee: | nobody → Gabriel Silva Trevisan (g-trevisan) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /distcloud/ +/844629
Review: https:/