[openstack-dev] [cinder][oslo] Locks for create from volume/snapshot

Joshua Harlow harlowja at outlook.com
Mon Jun 29 17:30:33 UTC 2015


Clint Byrum wrote:
> Excerpts from Duncan Thomas's message of 2015-06-29 07:54:27 -0700:
>> Do we know what is so hated about the glance task API? Tasks and entity
>> queues give the required exclusion, if you accept that tasks can fail if
>> previous tasks in the queue can cause things to be pulled out from under it.
>>
>
> What I hate about it is that it doesn't actually work at all.
>
> I recently wrestled with it to try and write functional tests in shade's
> gate with devstack, and it was revealed to me that whatever Rackspace's
> task interface uses, that was not what is available in glance's trunk.
>
> At the time, Glance used an executor that just spawns a greenthread
> on the API request that creates the task, and if it fails, thats it,
> game over, the task exists in limbo forever.
>
> So, I would suggest fixing that one before using it as a model for any
> others.

Yes that was my understanding as well, it just needs some TLC and all 
that to get it into shape (not that the idea itself is bad or anything)...

>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list