cinder/cinder/objects
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
..
__init__.py Add cleanable base object and cleanup request VO 2016-10-04 15:17:31 +02:00
backup.py Improve DB method naming consistency 2016-12-13 19:23:05 +01:00
base.py Fix replication freeze mechanism 2017-01-19 10:42:24 +01:00
cgsnapshot.py Fix replication freeze mechanism 2017-01-19 10:42:24 +01:00
cleanable.py Allow triggering cleanup from API 2017-01-13 14:34:45 +01:00
cleanup_request.py Add cleanable base object and cleanup request VO 2016-10-04 15:17:31 +02:00
cluster.py Make Replication support Active-Active 2017-01-19 10:42:18 +01:00
consistencygroup.py CG API changes for migrating CGs 2016-11-22 19:08:20 -05:00
fields.py [2/4]Reset group snapshot status 2016-12-22 11:11:02 +08:00
group.py Support A/A in delete actions and get_capabilities 2016-12-07 11:09:42 +01:00
group_snapshot.py Fix replication freeze mechanism 2017-01-19 10:42:24 +01:00
group_type.py OVO: OPTIONAL_FIELDS should be moved inside the OVO 2016-09-28 04:41:00 +00:00
qos_specs.py To fix miscellaneous bugs in OVOs 2016-10-31 22:50:41 +00:00
request_spec.py Remove unused config.CONF 2016-08-30 10:01:46 +08:00
service.py Update is_up from Service OVO class to match ORM 2016-12-21 20:55:37 +01:00
snapshot.py Fix replication freeze mechanism 2017-01-19 10:42:24 +01:00
volume.py Merge "Improve DB method naming consistency" 2017-01-13 17:53:31 +00:00
volume_attachment.py Add get_all capability to volume_attachments 2016-12-16 14:25:21 -07:00
volume_type.py Allow attribute lazy loading in VolumeType OVO 2016-09-26 14:29:32 +02:00