apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
1.98k stars 1.09k forks source link

Default systemVM template is not downloaded to S3 secondary storage #9002

Open rajujith opened 4 months ago

rajujith commented 4 months ago
ISSUE TYPE
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
rohityadavcloud commented 4 months ago

Worth checking if that's supported at all.

DaanHoogland commented 4 months ago

@swill @pdion891 can you say whether this is supposed to work? and how?

gogast commented 3 weeks ago

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