cloudstack
cloudstack copied to clipboard
View object versions in the cloudstack object storage
ISSUE TYPE
- Bug Report
- Improvement Request
COMPONENT NAME
Cloudstack Object storage
CLOUDSTACK VERSION
4.19
CONFIGURATION
Cloudstack object storage was added to 4.19, using the MinIO.
OS / ENVIRONMENT
MinIO
SUMMARY
Although CSOS allows the creation of buckets with versioning enabled it can't operate on the versions. Since the versions are not accessible through the object storage UI we can't delete a bucket with versioning enabled if there are older versions of the objects still present. This is could be handled by using MinIO directly but it would be good to have it done using cloudstack itself.
STEPS TO REPRODUCE
1. Create a MinIO server
2. Add the minIO server to cloudstack as object storage
3. Add a bucket with versioning enabled
4. Upload an object
5. Upload a new version of the object
6. verify that the older version is not listed
7. Delete all the objects and delete the bucket