compute-hyperv/compute_hyperv/tests/unit
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
..
cluster Switch to new instance failover listener 2018-10-29 13:54:59 +02:00
__init__.py move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
test_base.py tests: uses oslotest as the test base 2018-08-01 11:10:38 -07:00
test_block_device_manager.py autospecs os-win utils classes 2018-03-21 12:04:01 +00:00
test_coordination.py Add distributed lock helpers 2018-10-29 13:55:00 +02:00
test_driver.py Fixes zuul issues 2018-06-04 12:00:33 +00:00
test_eventhandler.py autospecs os-win utils classes 2018-03-21 12:04:01 +00:00
test_hostops.py autospecs os-win utils classes 2018-03-21 12:04:01 +00:00
test_imagecache.py Switch nova uuidsentinel with oslo_utils' uuidsentinel 2018-09-27 18:51:16 -07:00
test_livemigrationops.py autospecs os-win utils classes 2018-03-21 12:04:01 +00:00
test_migrationops.py Fixes zuul issues 2018-06-04 12:00:33 +00:00
test_pathutils.py Add driver methods checking for shared storage 2017-12-21 12:22:13 +02:00
test_pdk.py trivial: Changes files Windows style line ending to Unix style 2018-08-02 06:35:50 -07:00
test_rdpconsoleops.py autospecs os-win utils classes 2018-03-21 12:04:01 +00:00
test_serialconsolehandler.py Fixes zuul issues 2018-06-04 12:00:33 +00:00
test_serialconsoleops.py Merge "autospecs os-win utils classes" 2018-03-21 16:36:53 +00:00
test_serialproxy.py move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
test_snapshotops.py Fixes zuul issues 2018-06-04 12:00:33 +00:00
test_vif.py autospecs os-win utils classes 2018-03-21 12:04:01 +00:00
test_vmops.py Merge "autospecs os-win utils classes" 2018-03-21 16:36:53 +00:00
test_volumeops.py autospecs os-win utils classes 2018-03-21 12:04:01 +00:00