Re: [openstack-dev] [heat]Heat Db Model updates

2014-07-25 Thread Clint Byrum
Excerpts from Zane Bitter's message of 2014-07-24 12:09:39 -0700: On 17/07/14 07:51, Ryan Brown wrote: On 07/17/2014 03:33 AM, Steven Hardy wrote: On Thu, Jul 17, 2014 at 12:31:05AM -0400, Zane Bitter wrote: On 16/07/14 23:48, Manickam, Kanagaraj wrote: SNIP *Resource* Status

Re: [openstack-dev] [heat]Heat Db Model updates

2014-07-25 Thread Zane Bitter
On 25/07/14 13:50, Clint Byrum wrote: Excerpts from Zane Bitter's message of 2014-07-24 12:09:39 -0700: On 17/07/14 07:51, Ryan Brown wrote: On 07/17/2014 03:33 AM, Steven Hardy wrote: On Thu, Jul 17, 2014 at 12:31:05AM -0400, Zane Bitter wrote: On 16/07/14 23:48, Manickam, Kanagaraj wrote:

Re: [openstack-dev] [heat]Heat Db Model updates

2014-07-24 Thread Zane Bitter
On 17/07/14 07:51, Ryan Brown wrote: On 07/17/2014 03:33 AM, Steven Hardy wrote: On Thu, Jul 17, 2014 at 12:31:05AM -0400, Zane Bitter wrote: On 16/07/14 23:48, Manickam, Kanagaraj wrote: SNIP *Resource* Status action should be enum of predefined status +1 Rsrc_metadata - make full name

Re: [openstack-dev] [heat]Heat Db Model updates

2014-07-17 Thread Steven Hardy
On Thu, Jul 17, 2014 at 12:31:05AM -0400, Zane Bitter wrote: On 16/07/14 23:48, Manickam, Kanagaraj wrote: I have gone thru the Heat Database and found the drawbacks in the existing model as listed below. Could you review and add anything missing here. Thanks. Heat Database model is having

Re: [openstack-dev] [heat]Heat Db Model updates

2014-07-17 Thread Ryan Brown
On 07/17/2014 03:33 AM, Steven Hardy wrote: On Thu, Jul 17, 2014 at 12:31:05AM -0400, Zane Bitter wrote: On 16/07/14 23:48, Manickam, Kanagaraj wrote: SNIP *Resource* Status action should be enum of predefined status +1 Rsrc_metadata - make full name resource_metadata -0. I don't see

Re: [openstack-dev] [heat]Heat Db Model updates

2014-07-17 Thread Angus Salkeld
On Thu, 2014-07-17 at 08:51 -0400, Ryan Brown wrote: On 07/17/2014 03:33 AM, Steven Hardy wrote: On Thu, Jul 17, 2014 at 12:31:05AM -0400, Zane Bitter wrote: On 16/07/14 23:48, Manickam, Kanagaraj wrote: SNIP *Resource* Status action should be enum of predefined status +1

Re: [openstack-dev] [heat]Heat Db Model updates

2014-07-17 Thread Clint Byrum
Excerpts from Manickam, Kanagaraj's message of 2014-07-16 20:48:04 -0700: Event Why uuid and id both used? The event uuid is the user-facing ID. However, we need to return events to the user in insertion order. So we use an auto-increment primary key, and order by that in 'heat event-list

[openstack-dev] [heat]Heat Db Model updates

2014-07-16 Thread Manickam, Kanagaraj
I have gone thru the Heat Database and found the drawbacks in the existing model as listed below. Could you review and add anything missing here. Thanks. Heat Database model is having following drawbacks: 1. Duplicate information 2. Incomplete naming of columns 3.

Re: [openstack-dev] [heat]Heat Db Model updates

2014-07-16 Thread Zane Bitter
On 16/07/14 23:48, Manickam, Kanagaraj wrote: I have gone thru the Heat Database and found the drawbacks in the existing model as listed below. Could you review and add anything missing here. Thanks. Heat Database model is having following drawbacks: 1.Duplicate information 2.Incomplete

Re: [openstack-dev] [heat]Heat Db Model updates

2014-07-16 Thread Manickam, Kanagaraj
Hi Zane, Please find inline answer. Regards Kanagaraj M -Original Message- From: Zane Bitter [mailto:zbit...@redhat.com] Sent: Thursday, July 17, 2014 10:01 AM To: openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] [heat]Heat Db Model updates On 16/07/14 23:48, Manickam