cinder/cinder/tests
Gorka Eguileor 2195885e77 Fix replication freeze mechanism
Freeze functionality in the replication feature doesn't work as
expected, since it is not being used on the scheduler to exclude
backends or used on the API or volume nodes so API-to-Vol operations
like delete and create snapshot will also work.

This patch fixes the freeze mechanism by excluding frozen backends in
the scheduler and checking the if the service is frozen on all other
modifying operations.

Since extend operation now goes through the scheduler it will be frozen
there.

Closes-Bug: #1616974
Change-Id: I4561500746c95b96136878ddfde8ca88e96b28c6
2017-01-19 10:42:24 +01:00
..
compliance Use assertEqual/Less/Greater/In/IsNone 2016-07-04 17:58:16 +02:00
functional [1/4]Reset generic volume group status 2016-12-23 22:58:48 +08:00
tempest Remove logging import unused 2016-10-20 16:35:50 +08:00
unit Fix replication freeze mechanism 2017-01-19 10:42:24 +01:00
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_driver.py Rename AddFCZone and RemoveFCZone according to PEP 8 2017-01-09 11:22:19 +02:00
fixtures.py Copy StandardLogging fixture from Nova 2016-02-29 17:46:31 -05:00