New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Invalid backup is getting listed on the backup page #2912
Comments
Could you please describe how to perform this?
BTW, after longhorn backup refactoring, if the backup config metadata be corrupted after backup creation, longhorn would not detect the backup config corrupted because:
So, it's better to verify the corrupted backup config metadata and its data when the user performs restoring from the backup volume. |
You can hover mouse to the backup in progress icon and it will show the replica responsible for the backup, then you can delete that replica to interrupt the backup.
If the cost of checking this high, can we at least indicate that the backup is corrupted and can't be restored? As of now, all the options (restore, delete, etc) for this corrupted backup are available don't work. |
@khushboo-rancher it's a nice-to-have enhancement. Since we already know the backup size is 0 with no valid snapshot name/volume, it doesn't make sense to indicate it as restorable in the UI. And it should be |
Okay, makes sense. But delete is not working. |
okay, I'll check why delete is not working, thank you. |
Because the @smallteeths could you please get the volume name from Also, I'll create a new Backup state |
Pre Ready-For-Testing Checklist
|
Verified with Longhorn v1.2.0-rc2 Validation - Pass The invalid backups can be deleted using Longhorn UI. |
Describe the bug
The backup which is not completed and interrupted in middle still shows on the backup page.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The invalid backup should not appear in the backup page as v1.1.2
Environment:
The text was updated successfully, but these errors were encountered: