-
Notifications
You must be signed in to change notification settings - Fork 86
Closed
Labels
Description
Environment info
- NooBaa Version: current master (5.14)
- Platform: Rancher Desktop 1.19.0 (VM and cluster)
Actual behavior
- We always return
IsLatest
true.
Expected behavior
- Only the latest version should return
IsLatest
true.
Steps to reproduce
General Settings:
- Change the configuration of NSFS Versioning to be Enabled in file
config.js
and changeconfig.NSFS_VERSIONING_ENABLED
totrue
. - Deploy noobaa system on minikube (Based on the instructions here - the steps of ‘Build images’ and ‘Deploy noobaa’).
Note:nb
is an alias that runs the local operator frombuild/_output/bin
(alias created bydevenv
). - Deploy NSFS on minikube (Based on the instructions here).
Steps:
- Enabling versioning
aws --endpoint-url=https://localhost:12443 --no-verify-ssl s3api put-bucket-versioning --bucket fs1-jenia-bucket --versioning-configuration Status=Enabled
- Put an object twice
s3-nb-user-1 aws --endpoint-url=https://localhost:12443 --no-verify-ssl s3api put-object --bucket fs1-jenia-bucket --key fish.txt --body <some_txt_file>
s3-nb-user-1 aws --endpoint-url=https://localhost:12443 --no-verify-ssl s3api put-object --bucket fs1-jenia-bucket --key fish.txt --body <some_txt_file>
- List object versions:
aws --endpoint-url=https://localhost:12443 --no-verify-ssl s3api list-object-versions --bucket fs1-jenia-bucket