Right, so if we have a region store (Swift or S3) that means that the
templates should be cross zoned correct? I see this is the case with
registerTemplate API but with createTemplate, it looks like we are not
setting the cross zone flag I'm assuming that is a bug unless someone knows
a reason.

On Wed, Feb 24, 2016 at 9:32 AM, Patrick Dube <patrickdub...@gmail.com>
wrote:

> Templates can be cross zones if the secondary storage is cross zones. In
> the case of Swift, templates are not tied to a zone.
>
> On Tue, Feb 23, 2016 at 4:48 PM, Tutkowski, Mike <
> mike.tutkow...@netapp.com>
> wrote:
>
> > I see. Yeah, I just took a quick peek at the GUI and it drives the
> > interaction through the selection of a zone for the template.
> > ________________________________________
> > From: Syed Mushtaq <syed1.mush...@gmail.com>
> > Sent: Tuesday, February 23, 2016 2:32 PM
> > To: dev@cloudstack.apache.org
> > Subject: Re: Question about templates and zones
> >
> > Yes but that is optional though. You can still delete a template just by
> > giving the ID
> >
> > On Tue, Feb 23, 2016 at 4:20 PM, Tutkowski, Mike <
> > mike.tutkow...@netapp.com>
> > wrote:
> >
> > > Hi Syed,
> > >
> > > I don't have a direct answer for your question, but I do know that
> when I
> > > delete a template, I have to specify a zone.
> > >
> > > Talk to you later,
> > > Mike
> > > ________________________________________
> > > From: Syed Mushtaq <syed1.mush...@gmail.com>
> > > Sent: Tuesday, February 23, 2016 11:58 AM
> > > To: dev@cloudstack.apache.org
> > > Subject: Question about templates and zones
> > >
> > > Hi,
> > >
> > > I am trying to figure out a bug where we create a template from
> snapshot
> > > and the API response returns NULL. We use Swift as a secondary storage
> > and
> > > by default, its scope is REGION. My question is, are templates tied to
> a
> > > zone? Because what I see is in the template_zone_ref table, there is an
> > > entry for my template with zone_id=1 but the template_view table shows
> > > data_center_id as NULL. So I am now confused as to what is the correct
> > > value and what my fix should be.
> > >
> > > Thanks,
> > > -Syed
> > >
> >
>

Reply via email to