cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

Default systemVM template is not downloaded to S3 secondary storage

Open rajujith opened this issue 9 months ago • 3 comments

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

rajujith avatar Apr 29 '24 11:04 rajujith

Worth checking if that's supported at all.

rohityadavcloud avatar Apr 30 '24 13:04 rohityadavcloud

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

DaanHoogland avatar May 02 '24 12:05 DaanHoogland

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

gogast avatar Aug 23 '24 10:08 gogast