Damans227 commented on issue #9002: URL: https://github.com/apache/cloudstack/issues/9002#issuecomment-3745676160
Interestingly, it looks like S3 can be used as secondary storage only when it’s region-scoped, not zone-scoped. Even though I tried to create a zone-scoped S3, it actually ended up being created as region-scoped. <img width="1490" height="836" alt="Image" src="https://github.com/user-attachments/assets/77d354cf-5feb-4ad2-956d-201ded26da0b" /> [DefaultEndPointSelector.java line 409](https://github.com/apache/cloudstack/blob/main/engine/storage/src/main/java/org/apache/cloudstack/storage/endpoint/DefaultEndPointSelector.java#L409) — the bootstrap condition checks for ScopeType.ZONE but S3 is hardcoded to only support ScopeType.REGION in [S3ImageStoreProviderImpl.isScopeSupported()](https://github.com/apache/cloudstack/blob/main/plugins/storage/image/s3/src/main/java/org/apache/cloudstack/storage/datastore/provider/S3ImageStoreProviderImpl.java#L92-L96). The comment even says "for bootstrap system vm template downloading to region image store" but the code checks for ZONE - so the condition never matches for S3... which may be that's why the download of system VM template is never triggered? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
