compute-hyperv/compute_hyperv
Lucian Petrut 91476d7417 Add distributed lock helpers
This change imports the "coordination" module, which is shared by
Cinder, Manila and a few other projects. At some point, it should
probably be submitted to oslo.

It uses tooz, an OpenStack library, in order to provide distributed
locks. Tooz supports various backends, such as etcd, mysql, file
locks, redis, zookeeper, etc.

The lock backend can be selected using the CONF.coordination.backend_url
config option.

A subsequent change will use distributed locks for the cluster driver,
preventing race conditions when handling failovers.

Related-Bug: #1796673

Change-Id: I5a7d79fe1cf6ce13ff9d20d7618886add6221300
2018-10-29 13:55:00 +02:00
..
hacking move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
nova Add distributed lock helpers 2018-10-29 13:55:00 +02:00
tests Add distributed lock helpers 2018-10-29 13:55:00 +02:00
__init__.py move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
i18n.py Update the doc urls 2017-11-21 10:25:29 +00:00