Subcloud backup creation failure leaves .tbd dir

Bug #2028975 reported by Gustavo Lyra Pereira
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Gustavo Lyra Pereira

Bug Description

Brief Description
-----------------
Subcloud backup create operation leaves .tdb folder behind when the operation fails,
'backup delete' command only deletes the old backup folder we need to manually delete the .tdb folder.
The issue mentioned above is not reproduced when all 'backup create' are completed successfully.

Severity
--------
<Minor: System/Feature is usable with minor issue>

Steps to Reproduce
------------------
1. Backup subcloud
2. backup subcloud (second time). The backup file is generated successfully, however the transfer of the file fails for lack of space.

Expected Behavior
-----------------
The backup create operation should update the backup folder and remove all older backup files

Actual Behavior
---------------
When the backup file fails to be transferred to systemcontroller, the old backup file is left stored under .tbd folder

Reproducibility
---------------
100% reproducible

System Configuration
--------------------
DC

Last Pass
---------
N/A

Timestamp/Logs
--------------
N/A

Alarms
------
no alarms

Test Activity
-------------
Feature Testing

Workaround
----------
delete .tdb folder manually

Changed in starlingx:
assignee: nobody → Gustavo Lyra Pereira (gustavolyrap)
status: New → Fix Committed
Changed in starlingx:
status: Fix Committed → Fix Released
Revision history for this message
Ghada Khalil (gkhalil) wrote :

@Gustavo, For traceability, please add a comment with the review/commit that fixed this issue

Changed in starlingx:
importance: Undecided → Low
Revision history for this message
Gustavo Lyra Pereira (gustavolyrap) wrote :
Ghada Khalil (gkhalil)
tags: added: stx.9.0 stx.distcloud
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.