davidjumani edited a comment on pull request #4522:
URL: https://github.com/apache/cloudstack/pull/4522#issuecomment-741729790


   > > @weizhouapache If 'All zones' or no zoneids are passed when the template 
is uploaded, it should work fine even in a single zone scenario
   > 
   > @davidjumani yes, the template will be cross-zone. if there is only 1 
zone, and upload template for the zone, should it work if change template type 
to 'SYSTEM' ?
   > 
   > I have another question you may know the answer . Assume there are two 
zones (zone1/zone2) run with cloudstack 4.14, if register new systemvm template 
for 4.15 (systemvm-XX-4.15.0) for zone1, will the upgrade to 4.15 work ? will 
the new systemvm template be copied to zone2 ?
   
   @weizhouapache In the first case, it wouldn't work as crosszones is set only 
if no zoneid is provided during upload
   
https://github.com/apache/cloudstack/blob/master/server/src/main/java/com/cloud/template/TemplateAdapterBase.java#L406
   
   The second, it will not upgrade since systemvm templates need to be uploaded 
in all zones that contain the respective hypervisor
   @rhtyd Could you confirm ?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to