Skip to content

Data Buckets | List Buckets Can Return Buckets in Deleting State #8931

@shirady

Description

@shirady

Environment info

  • NooBaa Version: 5.19
  • Platform: Happened in the operator CI

Actual behavior

  1. In the CI we sometimes have buckets in deleting state.

Expected behavior

  1. We should not have buckets in deleting state.

Steps to reproduce

  1. It runs as a part of the operator CI.

More information - Screenshots / Logs / Other output

This a link example of a failed run without code changes (below the downloaded file).
You can see:

09:06:05 💬 Deleting buckets
2025-03-30 09:05:52 multinamespace-obc-deleting-1743325553731
2025-03-30 09:05:43 multinamespace-obc-deleting-1743325546281
2025-03-30 08:49:31 second.bucket
2025-03-30 08:54:24 failns.bucket1
2025-03-30 08:45:05 first.bucket
2025-03-30 08:53:48 target.bucket2
2025-03-30 08:53:46 target.bucket1
2025-03-30 08:53:43 fails3.bucket

We see buckets whose names contain deleting-<timestamp>.

And the failure comes from:

remove_bucket failed: Unable to delete all objects in the bucket, bucket will not be deleted.
09:06:07 ❌  aws s3 rb s3://multinamespace-obc-deleting-1743325553731 --force failed, Exiting

The downloaded file: 0_run-cli-tests.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions