-
Notifications
You must be signed in to change notification settings - Fork 133
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
Listing backups fails on some installations against Azure #595
Labels
done
Issues in the state 'done'
Comments
rzvoncek
added a commit
that referenced
this issue
Jul 14, 2023
rzvoncek
added a commit
that referenced
this issue
Jul 14, 2023
rzvoncek
added a commit
that referenced
this issue
Jul 14, 2023
adejanovski
added
ready-for-review
Issues in the state 'ready-for-review'
review
Issues in the state 'review'
and removed
ready
Issues in the state 'ready'
ready-for-review
Issues in the state 'ready-for-review'
labels
Jul 17, 2023
rzvoncek
added a commit
that referenced
this issue
Jul 17, 2023
adejanovski
added
in-progress
Issues in the state 'in-progress'
and removed
review
Issues in the state 'review'
labels
Jul 17, 2023
rzvoncek
added a commit
that referenced
this issue
Jul 17, 2023
rzvoncek
added a commit
that referenced
this issue
Jul 17, 2023
adejanovski
added
ready-for-review
Issues in the state 'ready-for-review'
review
Issues in the state 'review'
and removed
in-progress
Issues in the state 'in-progress'
ready-for-review
Issues in the state 'ready-for-review'
labels
Jul 18, 2023
rzvoncek
added a commit
that referenced
this issue
Jul 20, 2023
adejanovski
pushed a commit
that referenced
this issue
Sep 4, 2023
adejanovski
pushed a commit
that referenced
this issue
Sep 4, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Project board link
While we couldn't reproduce the issue, we're seeing installations where backups are taken correctly but listing them fails with the following error:
After adding some debugging outputs, we see that the folders are returned when listing backups, giving a hierarchical view of the blobs instead of a flat one:
This is unexpected and not dealt with correctly in the code.
We either need to filter out the folders when listing blobs, which should be made possible thanks to their 0 size.
We could also make the
get_backup_name()
method more resilient to such issues and do a precheck before trying to access the split array indices. If we don't have the index we're looking for, we can issue a warning and skip the file without erroring.Definition of Done
get_backup_name()
will detect blob that aren't named as expected and ignore themThe text was updated successfully, but these errors were encountered: