Subcloud-backup delete resets backup datetime and status regardless if backup exists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
André Dexheimer Carneiro |
Bug Description
Brief Description
When a valid release is specified for the delete command but the backup doesn't exist, the backup_status and backup_datetime are reset.
Severity
Minor.
Steps to Reproduce
On a DC system, run subcloud-backup delete with a valid release for a backup which does not exist.
Expected Behavior
Backup status and datetime remain as they were.
Actual Behavior
Backup status and datetime are reset to 'unknown' and 'None' respectively.
Reproducibility
Reproducible.
System Configuration
<One node system, Two node system, Multi-node system, Dedicated storage, https, IPv4, IPv6 etc.>
Load info (eg: 2022-03-
Build from Dec 14th 2022.
Last Pass
None
Timestamp/Logs
Provide a snippet of logs if available and the timestamp when issue was seen.
Please indicate the unique identifier in the logs to highlight the problem
Attach the logs for debugging
Alarms
No alarms.
Test Activity
Feature Testing
Workaround
Describe workaround if available
Changed in starlingx: | |
assignee: | nobody → André Dexheimer Carneiro (andre-dexheimercarneiro) |
tags: | added: stx.distcloud stx.update |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.9.0 |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/868416
Review: https:/