[openstack-dev] [nova] Distributed locking
Julien Danjou
julien at danjou.info
Thu Jun 12 14:35:33 UTC 2014
On Thu, Jun 12 2014, Matthew Booth wrote:
> We have a need for a distributed lock in the VMware driver, which I
> suspect isn't unique. Specifically it is possible for a VMware datastore
> to be accessed via multiple nova nodes if it is shared between
> clusters[1]. Unfortunately the vSphere API doesn't provide us with the
> primitives to implement robust locking using the storage layer itself,
> so we're looking elsewhere.
The tooz library has been created for this purpose:
https://pypi.python.org/pypi/tooz
https://git.openstack.org/cgit/stackforge/tooz/
> Although I haven't worked through the detail, I believe lock and unlock
> would be implementable in all 3 of the current service group drivers.
> Fencing would be implemented separately.
The plan is to leverage tooz to replace the Nova service group drivers,
as this is also usable in a lot of others OpenStack services.
--
Julien Danjou
;; Free Software hacker
;; http://julien.danjou.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140612/1b8a1b90/attachment.pgp>
More information about the OpenStack-dev
mailing list