Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

Azure blob storage: use correct list prefix #2071

Merged
merged 1 commit into from
May 20, 2019

Conversation

kapouille
Copy link
Contributor

Azure bloc storage implementation didn't use the right prefix resulting on no backup cleanup being performed.

@etcd-bot
Copy link
Collaborator

etcd-bot commented Apr 3, 2019

Can one of the admins verify this patch?

2 similar comments
@etcd-bot
Copy link
Collaborator

etcd-bot commented Apr 3, 2019

Can one of the admins verify this patch?

@etcd-bot
Copy link
Collaborator

etcd-bot commented Apr 3, 2019

Can one of the admins verify this patch?

@hexfusion
Copy link
Member

@etcd-bot ok to test

@hexfusion
Copy link
Member

@kapouille thanks for the PR. As we do not have testing for Azure setup can you provide a bit more details on how this resolves the situation?

@rjtsdl I see you are with Oracle now but as a maintainer of Azure ABS feature could you please comment/review.

@hexfusion hexfusion added this to the v0.9.5 milestone Apr 3, 2019
@kapouille
Copy link
Contributor Author

of course @hexfusion . In order to list the existing backups and see which ones are out of date or not, it used to retrieve the wrong url, including the container name (<my_container>/<path>). That would return an empty list and therefore never clean up older backups as the azure API only expects <path>

@kapouille
Copy link
Contributor Author

kapouille commented Apr 4, 2019

(apologies about the force-push, really should have done that work in a branch)

@kapouille kapouille changed the title Azure blob storage: use correct list prefix WIP: Azure blob storage: use correct list prefix Apr 4, 2019
@kapouille
Copy link
Contributor Author

Putting on hold, noticed an odd behaviour where it is keeping the oldest backups rather than the most recent. Investigating.

@kapouille
Copy link
Contributor Author

Could not repro issue appears to be a one-off due to changing file naming conventions.

@kapouille kapouille changed the title WIP: Azure blob storage: use correct list prefix Azure blob storage: use correct list prefix Apr 4, 2019
@hasbro17
Copy link
Contributor

hasbro17 commented May 6, 2019

@kapouille Sorry this has been open for a while. This seems good to me. Can you please rebase and also add a line in the Fixed section of the CHANGELOG for this.

@hasbro17
Copy link
Contributor

@kapouille pinging again to see if you have time to update the PR. If not then I can close this out and resubmit the bugfix.

@kapouille
Copy link
Contributor Author

Apologies, will get on that tomorrow.

@kapouille
Copy link
Contributor Author

I believe this is now done.

Copy link
Contributor

@hasbro17 hasbro17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hasbro17 hasbro17 merged commit c3a9fa0 into coreos:master May 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants