[openstack-dev] [nova][api] Is this a potential issue

yunhong jiang yunhong.jiang at linux.intel.com
Mon Nov 18 18:35:45 UTC 2013


On Mon, 2013-11-18 at 10:18 -0500, Andrew Laski wrote:
> On 11/15/13 at 04:01pm, yunhong jiang wrote:
> >On Fri, 2013-11-15 at 17:19 -0500, Andrew Laski wrote:

> >If yes, would it be possible to create a special task_state as IDLE, to
> >distinguish it better? When no task on-going, the task_state will be
> >IDLE, instead of None.
> 
> I'm starting on some work right now which will break task_state off into 
> it's own model and API resource.  In my opinion we don't need to model 
> the idea of no task running, we can check if there are tasks for the 
> instance or not.  So I think that using None is fine here and we 
> shouldn't add an IDLE state.
> 
Got it, thanks.

--jyh
> >
> >--jyh
> >
> >
> >
> >
> >
> >
> >
> >
> >_______________________________________________
> >OpenStack-dev mailing list
> >OpenStack-dev at lists.openstack.org
> >http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev






More information about the OpenStack-dev mailing list