cinder/cinder/tests/unit/scheduler
Erlon R. Cruz f33b234aa0 Make scheduler check online_extend_support capability
Since Pike release, Cinder supports volume online extending, and by
default it assumes that every backend supports this feature. This
assumption causes a bug on those backends that don't support it. On
such backends, an online extending attempt leaves the volume in
error_extending state.

This patch allows a backend to report to the scheduler if it does not
support online extending. This way, an online extending attempt will
fail, without leaving the volume in error_extending state.

Closes-bug: #1765182
Change-Id: I2c31b5c171574074a8fc7ba86f94f983fc9658f7
Co-Authored-By: Lucio Seki <luciomitsuru.seki@fit-tecnologia.org.br>
2018-06-26 14:42:34 -03:00
..
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_hosts.py Remove six.iter* 2016-06-28 23:23:10 -04:00
fakes.py Make scheduler check online_extend_support capability 2018-06-26 14:42:34 -03:00
test_allocated_capacity_weigher.py Fix replication freeze mechanism 2017-01-19 10:42:24 +01:00
test_base_filter.py Remove log translations 2017-03-19 14:59:57 +00:00
test_capacity_weigher.py Overprovisioning Improvements 2018-01-25 07:37:17 -02:00
test_chance_weigher.py Cosmetic changes to scheduler 2016-12-14 17:48:53 +01:00
test_filter_scheduler.py Make scheduler check online_extend_support capability 2018-06-26 14:42:34 -03:00
test_goodness_weigher.py GoodnessWeigher schedules non-type volumes 2018-04-26 17:29:06 -05:00
test_host_filters.py Support availability-zone type 2018-05-17 12:09:12 +00:00
test_host_manager.py [Optimize] Validate configured scheduler filters when initialize 2018-04-02 07:22:01 +00:00
test_rpcapi.py Schedule request to scheduler when manage existing snapshot 2018-01-31 00:48:08 +00:00
test_scheduler.py Tests: Remove some ovo FutureWarnings about UUIDs 2018-06-07 09:46:26 -04:00
test_scheduler_options.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_stochastic_weight_handler.py Simplify calls to mock_object 2016-12-13 18:37:26 +01:00
test_volume_number_weigher.py Fix replication freeze mechanism 2017-01-19 10:42:24 +01:00
test_weights.py Move oslo-incubator's scheduler module to cinder 2015-11-24 15:49:31 +01:00