NC | NSFS | List Objects with s3 ls
of a Bucket Shows an Hidden Directory (Probably not in Normal Flow)
#8908
Labels
Environment info
Actual behavior
s3 ls
I could see the hidden internal directory (PRE .noobaa-nsfs_67d7ed5f51c5043305fee625/
). Note that the bucket ID is67e2accc57cf31f3f0d80f31
.Expected behavior
s3 ls
and not see any hidden internal directory.Steps to reproduce
I'm not sure what exactly I did but I can guess that I reused the same path for creating a bucket with the name
bucket-01
, and then deleting it (configuration-wise - delete withsudo rm -rf /etc/noobaa.conf.d/
) and created the bucket againbucket-01
with noobaa-cli In the same path with the same name I had the previous hidden folder so it shows it as an item.ls -al /Users/buckets/bucket-01
67e2accc57cf31f3f0d80f31
the bucket ID that was created with noobaa-cli in that time,67d7ed5f51c5043305fee625
probably old bucket ID that was deleted from the config, but it's underlying storage was not deleted.More information - Screenshots / Logs / Other output
nc-user-1-s3 s3 ls s3://bucket-01
The outputs of
list-objects-v2
andlist-objects
are as expected (no hidden folder appears):nc-user-1-s3 s3api list-objects --bucket bucket-01
nc-user-1-s3 s3api list-objects-v2 --bucket bucket-01
The text was updated successfully, but these errors were encountered: