cloudstack
cloudstack copied to clipboard
Default systemVM template is not downloaded to S3 secondary storage
ISSUE TYPE
- Bug Report
COMPONENT NAME
S3 Secondary storage, system VM template
CLOUDSTACK VERSION
4.19 with PR #8986
CONFIGURATION
MinIO S3 bucket configured NFS staging storage
SUMMARY
Although the S3 secondary storage gets added with the fix in #8986 the default system VM template do not get downloaded. In the management server logs, I can see the 'DownloadProgressCommand' running but the file is not being downloaded. Note that the zone is created fresh and there is no SSVM to download the template. I am assuming there may be something missing to copy the systemVM template in the management server to the S3 bucket either via staging NFS or without it.
STEPS TO REPRODUCE
1. Create a MinIO S3 bucket
2. Add a zone with S3 secondary storage and NFS staging storage using the above bucket.
3. Launch the zone and wait for the system VM template status to become 'Ready'
EXPECTED RESULTS
SystemVM template is downloaded
ACTUAL RESULTS
SystemVM template is not downloaded
Worth checking if that's supported at all.
@swill @pdion891 can you say whether this is supposed to work? and how?
When last time I tried to setup s3 secondary storage with minio the problem was with adress format: request was going to https://bucket.endpoint but in minio it is https://endpoint/bucket