Re: Cross Zone Templates

2015-01-27 Thread Logan Barfield
> -Sanjeev > > -Original Message- > From: Logan Barfield [mailto:lbarfi...@tqhosting.com] > Sent: Tuesday, January 27, 2015 4:16 AM > To: dev@cloudstack.apache.org > Subject: Re: Cross Zone Templates > > Ilya, > > The problem is that this doesn't work with the "

RE: Cross Zone Templates

2015-01-26 Thread Sanjeev Neelarapu
Which version of CS it is? I remember the similar issue in 4.2 and I think it got fixed in later versions. -Sanjeev -Original Message- From: Logan Barfield [mailto:lbarfi...@tqhosting.com] Sent: Tuesday, January 27, 2015 4:16 AM To: dev@cloudstack.apache.org Subject: Re: Cross Zone

Re: Cross Zone Templates

2015-01-26 Thread Logan Barfield
Ilya, The problem is that this doesn't work with the "region-wide" storage model for S3. Right now it's impossible to copy templates when using S3 storage for the reasons I mentioned in my last response. It's also apparently impossible (without database editing) to make a template cross-zone whe

Re: Cross Zone Templates

2015-01-26 Thread Logan Barfield
So it looks like the templates are searched for in "template_zone_ref," and if they aren't found there it throws the "not available" error. The problem is that there is not currently a way to update the "cross_zone" variable for existing templates. I would think running "Copy Template" would work

Re: Cross Zone Templates

2015-01-26 Thread ilya musayev
As you know, when template is imported as "all zones" template, it has an ID that is same on all zones. If you delete a cross zone template on 1 zone, it will be removed from all. The moment you break away from this model and load templates as unique entities in each zone, the ID will change f