You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Default systemVM template is not downloaded to S3 secondary storage #9002
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'
I dug into this a bit. I set up a fresh 4.20.3 env with MinIO running on one of the management server VMs and configured an S3 bucket for secondary storage.
The secondary storage gets created successfully, but the system VM never comes up.
In the logs I’m seeing this error: System VM Template is not ready at zone [1], wait until it is ready to launch secondary storage VM.
2026-01-13 17:47:53,998 DEBUG [o.a.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:[ctx-49a74801]) (logid:6b471c7c) System VM Template is not ready at zone [1], wait until it is ready to launch secondary storage VM.
2026-01-13 17:48:23,816 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:[ctx-839ca70c]) (logid:41b5066c) System vm template is not ready at data center Zone {"id": "1", "name": "ref-trl-10589-k-Mu22-daman-arora", "uuid": "9145ae72-431c-4e06-a4c5-ab259decf071"}, wait until it is ready to launch console proxy vm
2026-01-13 17:48:23,999 DEBUG [o.a.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:[ctx-8e791e0c]) (logid:78a53f93) System VM Template is not ready at zone [1], wait until it is ready to launch secondary storage VM.
2026-01-13 17:48:53,819 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:[ctx-c576cd8a]) (logid:8eb56943) System vm template is not ready at data center Zone {"id": "1", "name": "ref-trl-10589-k-Mu22-daman-arora", "uuid": "9145ae72-431c-4e06-a4c5-ab259decf071"}, wait until it is ready to launch console proxy vm
2026-01-13 17:48:54,000 DEBUG [o.a.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:[ctx-84929584]) (logid:5dcc726d) System VM Template is not ready at zone [1], wait until it is ready to launch secondary storage VM.
darora@dell16plus:~$
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 (at least I thought I was creating one), it actually ended up being created as region-scoped.
DefaultEndPointSelector.java line 409 — the bootstrap condition checks for ScopeType.ZONE but S3 is hardcoded to only support ScopeType.REGION in S3ImageStoreProviderImpl.isScopeSupported(). 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 is the reason that the download of system VM template is never triggered?
This issue is stale because it has been open for 120 days with no activity. It may be removed by administrators of this project at any time. Remove the stale label or comment to request for removal of it to prevent this.
Activity
yadvr commentedon Apr 30, 2024
Worth checking if that's supported at all.
DaanHoogland commentedon May 2, 2024
@swill @pdion891 can you say whether this is supposed to work? and how?
7 remaining items
Damans227 commentedon Jan 13, 2026
I dug into this a bit. I set up a fresh 4.20.3 env with MinIO running on one of the management server VMs and configured an S3 bucket for secondary storage.
The secondary storage gets created successfully, but the system VM never comes up.
In the logs I’m seeing this error:
System VM Template is not ready at zone [1], wait until it is ready to launch secondary storage VM.Damans227 commentedon Jan 13, 2026
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 (at least I thought I was creating one), it actually ended up being created as region-scoped.
DefaultEndPointSelector.java line 409 — the bootstrap condition checks for ScopeType.ZONE but S3 is hardcoded to only support ScopeType.REGION in S3ImageStoreProviderImpl.isScopeSupported(). 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 is the reason that the download of system VM template is never triggered?
github-actions commentedon Sep 8, 2026
This issue is stale because it has been open for 120 days with no activity. It may be removed by administrators of this project at any time. Remove the stale label or comment to request for removal of it to prevent this.