get_bucket_info returns wrong bucket using global alias #971

Closed
opened 2025-02-26 18:02:22 +00:00 by davidgodenyd · 2 comments

When using the python admin SDK, bucket API's get_bucket_info a wrong bucket is returned by Garage. Instead, the last bucket is returned when the buckets are sorted by their ID.

This behavior is not present using bucket id.

Garage version: docker 1.0.0
admin sdk version: garage-admin-sdk-python @ git+https://git.deuxfleurs.fr/garage-sdk/garage-admin-sdk-python@90e64feb060692c0f19c283cace242e207f03190

When using the python admin SDK, bucket API's get_bucket_info a wrong bucket is returned by Garage. Instead, the last bucket is returned when the buckets are sorted by their ID. This behavior is not present using bucket id. Garage version: docker 1.0.0 admin sdk version: garage-admin-sdk-python @ git+https://git.deuxfleurs.fr/garage-sdk/garage-admin-sdk-python@90e64feb060692c0f19c283cace242e207f03190
lx added the
kind
wrong-behavior
scope
admin-api
labels 2025-03-05 09:02:43 +00:00
lx added
scope
admin-sdk
and removed
scope
admin-api
labels 2025-03-05 09:12:41 +00:00
Owner

I have rebuilt the python sdk with an update, please check if this fixes the issue

I have rebuilt the python sdk with an update, please check if this fixes the issue
Author

Hi, can confirm, the issue is fixed, thank you for the quick fix!

Hi, can confirm, the issue is fixed, thank you for the quick fix!
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#971
No description provided.