Bucket aliases not getting deleted #882

Open
opened 2024-09-23 11:43:33 +00:00 by slaecker · 0 comments

I'm running v1.0.1 on Kubernetes (3 nodes). I've also observed this issue on 1.0.0.

According to the documentation deleting a bucket also deletes the assigned aliases. I tried to create a bucket, delete it and create a new bucket with the same name, but it fails.

To replicate do the following via Admin API (have not tried using cli tools):

  1. Create key "test-key"
  2. Create bucket "test-bucket"
  3. Delete bucket "test-bucket"
  4. Try to create new bucket "test-bucket"

Result:

{
  "code": "InvalidRequest",
  "message": "Bad request: Local alias already exists",
  "region": "home",
  "path": "/v1/bucket"
}

I get the same result when deleting the global and local aliases first and then delete the bucket.

I'm running v1.0.1 on Kubernetes (3 nodes). I've also observed this issue on 1.0.0. According to the documentation deleting a bucket also deletes the assigned aliases. I tried to create a bucket, delete it and create a new bucket with the same name, but it fails. To replicate do the following via Admin API (have not tried using cli tools): 1. Create key "test-key" 2. Create bucket "test-bucket" 3. Delete bucket "test-bucket" 4. Try to create new bucket "test-bucket" Result: ``` { "code": "InvalidRequest", "message": "Bad request: Local alias already exists", "region": "home", "path": "/v1/bucket" } ``` I get the same result when deleting the global and local aliases first and then delete the bucket.
maximilien added the
kind
wrong-behavior
scope
admin-api
labels 2024-10-03 17:30:56 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#882
No description provided.