B&R ansible inventory files not removed after succesfull operation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Gustavo Herzmann |
Bug Description
Brief Description
-----------------
The ansible inventory files created during a backup and restore operation are not being removed after the operation ends. They should be removed after a successful operation, only remaining if it fails (for troubleshooting purposes).
Severity
--------
Minor: System/Feature is usable with minor issue
Steps to Reproduce
------------------
01. Create a new backup:
dcmanager subcloud-backup create --local-only --registry-images --subcloud subcloud6 --backup-values backup_values.yml
02. Restore the subcloud using the backup:
dcmanager subcloud-backup restore --with-install --local-only --registry-images --restore-values restore_values.yml --subcloud subcloud6
03. Check the /var/opt/dc/ansible directory for any of the following files:
subcloud6_
subcloud6_
subcloud6_
Expected Behavior
------------------
The files should be removed after a successful B&R operation.
Actual Behavior
----------------
The files are not removed.
Reproducibility
---------------
100% reproducible
System Configuration
-------
Distributed cloud
Branch/Pull Time/Commit
-------
2022-11-05 master
Last Pass
---------
NA.
Timestamp/Logs
--------------
NA.
Test Activity
-------------
NA.
Workaround
----------
NA.
Changed in starlingx: | |
assignee: | nobody → Gustavo Herzmann (gherzman) |
status: | New → In Progress |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.8.0 stx.update |
Fix proposed to branch: master /review. opendev. org/c/starlingx /distcloud/ +/865194
Review: https:/