Skip to content
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

Unable to reuse buckets names from buckets previously deleted #8180

Closed
ramya-c3 opened this issue Jul 3, 2024 · 2 comments · Fixed by #8187
Closed

Unable to reuse buckets names from buckets previously deleted #8180

ramya-c3 opened this issue Jul 3, 2024 · 2 comments · Fixed by #8187
Assignees

Comments

@ramya-c3
Copy link

ramya-c3 commented Jul 3, 2024

Environment info

  • NooBaa Version: 5.15.4
  • Platform: standalone

Actual behavior

  1. Create a bucket bucket1 with filesystempath /mnt/gpfs1/tes/test1
  2. Delete the filesystempath /mnt/gpfs1/tes/test1
  3. Now try to delete the bucket bucket1. It fails but bucket list displays it.

noobaa-cli bucket delete bucket1 2>/dev/null

{
"error": {
"code": "NoSuchBucket",
"message": "Bucket does not exist"
}
}

noobaa-cli bucket list 2>/dev/null

{
"response": {
"code": "BucketList",
"reply": [
{
"name": "bucket1"
}
]
}
}

Expected behavior

  1. It should error out properly instead of saying bucket doesnot exist it should say bucket path missing

Steps to reproduce

More information - Screenshots / Logs / Other output

@ramya-c3 ramya-c3 added the NS-FS label Jul 3, 2024
@romayalon romayalon added the Non Containerized Non containerized label Jul 3, 2024
@romayalon
Copy link
Contributor

romayalon commented Jul 4, 2024

@shirady PTAL, looks like a small fix - we need to allow deleting the bucket when the underlying path was already deleted.

@romayalon
Copy link
Contributor

@shirady Do you see this issue also on S3 flow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants