-
Notifications
You must be signed in to change notification settings - Fork 590
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] NPE when listing backups of a backup volume #2683
Comments
cc @jenting |
I've started getting this error as well. I've been running Longhorn for about a month without similar issues. I've previously been able to create and view backups, but now, seemingly out of nowhere it doesn't work anymore. I've configured automatic backups to S3 (minio) daily and weekly for some volumes of around 250 MiB in size each. After getting this error I checked the S3 bucket and there's only about 80 MiB stored there. Could this be due to compression of near-empty volumes or have they not been created at all? Is there any way to easily check for existing backups without being able to access the backup page? |
This error should happen only in the latest master version. Which longhorn version are you using? You can check your minio work directory to get the backup list. But it's not straightforward. e.g.,
|
I think it will also happened at longhorn-engine v1.1.1 |
@innobead could we include it in v1.1.2? The fix is easy and quickly. |
I'm running v1.1.1. Thanks for the minio instructions. |
Pre Ready-For-Testing Checklist
|
Validation - Passed Testing against to 1.1.2-head(ui: 7fb9440), with following steps:
In additional to the original steps:
No more error pops up and backups will always show up. |
Describe the bug
When the 1st backup creation of a new backup volume is in progress, listing backups for a new backup volume via UI will trigger an NPE issue
To Reproduce
Steps to reproduce the behavior:
Expected behavior
There is neither backup inside the backup volume nor any error
Log
Environment:
Additional context
Need to check the possible error here: https://github.com/longhorn/backupstore/blob/89bd8d273db76bd454ffe90d6c12f45354d4ed07/list.go#L121-L122
The text was updated successfully, but these errors were encountered: