Re: Templates created from snapshots get purged from cloud.template_store_ref

2014-11-14 Thread Mike Tutkowski
No problem...it will be good to have that in 4.5, too. On Friday, November 14, 2014, Rajani Karuturi wrote: > Thanks mike. > > ~Rajani > > On Thu, Nov 13, 2014 at 10:35 AM, Mike Tutkowski < > mike.tutkow...@solidfire.com > wrote: > > > Also, here's the JIRA ticket I opened, resolved, and closed

Re: Templates created from snapshots get purged from cloud.template_store_ref

2014-11-14 Thread Rajani Karuturi
Thanks mike. ~Rajani On Thu, Nov 13, 2014 at 10:35 AM, Mike Tutkowski < mike.tutkow...@solidfire.com> wrote: > Also, here's the JIRA ticket I opened, resolved, and closed for it: > > https://issues.apache.org/jira/browse/CLOUDSTACK-7898 > > On Wed, Nov 12, 2014 at 10:03 PM, Mike Tutkowski < > mi

Re: Templates created from snapshots get purged from cloud.template_store_ref

2014-11-12 Thread Mike Tutkowski
Also, here's the JIRA ticket I opened, resolved, and closed for it: https://issues.apache.org/jira/browse/CLOUDSTACK-7898 On Wed, Nov 12, 2014 at 10:03 PM, Mike Tutkowski < mike.tutkow...@solidfire.com> wrote: > Done...I ported the code to 4.5 and tested it out. It's checked in under > SHA 8b7c1

Re: Templates created from snapshots get purged from cloud.template_store_ref

2014-11-12 Thread Mike Tutkowski
Done...I ported the code to 4.5 and tested it out. It's checked in under SHA 8b7c1d7c5e1d7b4396c57d4cf20b24217335bc8e. On Tue, Nov 11, 2014 at 11:28 PM, Mike Tutkowski < mike.tutkow...@solidfire.com> wrote: > It should. I can do that. > > > On Tuesday, November 11, 2014, Rajani Karuturi wrote: >

Re: Templates created from snapshots get purged from cloud.template_store_ref

2014-11-11 Thread Mike Tutkowski
It should. I can do that. On Tuesday, November 11, 2014, Rajani Karuturi wrote: > Hi Mike, > > Do you think it should go in 4.5 as well? > > ~Rajani > > On Wed, Nov 12, 2014 at 10:09 AM, Mike Tutkowski < > mike.tutkow...@solidfire.com > wrote: > > > So, I just confirmed that once a properties fi

Re: Templates created from snapshots get purged from cloud.template_store_ref

2014-11-11 Thread Rajani Karuturi
Hi Mike, Do you think it should go in 4.5 as well? ~Rajani On Wed, Nov 12, 2014 at 10:09 AM, Mike Tutkowski < mike.tutkow...@solidfire.com> wrote: > So, I just confirmed that once a properties file is generated for the > template that's being created that the template is not deleted when the CS

Re: Templates created from snapshots get purged from cloud.template_store_ref

2014-11-11 Thread Mike Tutkowski
So, I just confirmed that once a properties file is generated for the template that's being created that the template is not deleted when the CS MS is re-started. I checked in this fix to master: 5c388a5c8087d544ff89dccf20f8af88f8f73d1b So, as it turns out, if anyone has created a template with

Re: Templates created from snapshots get purged from cloud.template_store_ref

2014-11-10 Thread Mike Tutkowski
It looks like those rows get deleted in TemplateServiceImpl.handleTemplateSync(DataStore). I noticed earlier that the XenServer 6.2.5 resource code does NOT write out a properties file alongside the VHD template the way the XenServer 6.1 resource code does. At the moment, I suspect that that is t

Re: Templates created from snapshots get purged from cloud.template_store_ref

2014-11-10 Thread Mike Tutkowski
Thanks, Marcus I'll take a look into it later tonight more. I'm working on a feature for 4.6 and noticed this yesterday. It happened again today and I narrowed it down to occurring when the CS MS was stopped and re-started. On Mon, Nov 10, 2014 at 5:44 PM, Marcus wrote: > I remember there was a

Re: Templates created from snapshots get purged from cloud.template_store_ref

2014-11-10 Thread Marcus
I remember there was an issue with that occasionally happening when templates were simply registered. Sometimes they'd be downloaded and installed, and other times they would disappear. I think that was fixed maybe 18 months ago, could be related. On Nov 10, 2014 3:36 PM, "Mike Tutkowski" wrote:

Templates created from snapshots get purged from cloud.template_store_ref

2014-11-10 Thread Mike Tutkowski
Hi, In 4.6 I've noticed when I create a template from a snapshot that I can spin VMs up from this template until I shut the CS MS down and re-start it. Upon re-start, the template entries in cloud.template_store_ref get purged (as in completely removed from the table). That being the case, the CS