[BUG] In some specific situation, system backup auto deleted when creating another one #6045
Closed
Description
Describe the bug (🐛 if you encounter this issue)
This is a corner case
While testing system backup volumeBackupPolicy
, encountered a strange behavior : after performing some specific operations, a system backup will be deleted if volume backup not appear in backup store. Create this ticket for tracking.
To Reproduce
Steps to reproduce the behavior:
- Create 2 system backup
sys-back
,sys-back2
withvolumeBackupPolicy
= always - Wait system backup creation complete
- Delete volume backups in backup store
- Delete
sys-back
and recreate again - After
sys-back
complete,sys-back2
deleted automatically.
Expected behavior
System backup should not be deleted when creating a new 1
Log or Support bundle
supportbundle_4b0bd336-cbd1-4239-bce6-627b23e1c9b2_2023-06-02T03-51-36Z.zip
Environment
- Longhorn version: longhorn-manager
663185
Additional context
#5011
Can not reporduce if system backup name does not contain -
Metadata
Assignees
Labels
Type
Projects
Status
Closed