]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
CG creation should be scheduled on backend level
authorwanghao <wanghao749@huawei.com>
Thu, 17 Sep 2015 02:23:54 +0000 (10:23 +0800)
committerwanghao <wanghao749@huawei.com>
Tue, 10 Nov 2015 01:41:58 +0000 (09:41 +0800)
commit3785a372b2708bf0e8453f8435199e5f295cf0fa
tree82165024ef1ed03563539eea0edbd0c533d8183f
parent867fccf833ffc597aa986cb6ff1b3b5c1101b9ba
CG creation should be scheduled on backend level

Currently, cinder scheduler schedules the CG creation
on pool level, that means if there are multiple volume
types in one CG if each volume type is associated with a
different pool (those pools under same backend), you can't
create the CG successfully.

According to the design of CG's, it should be scheduled on
backend level to support the case mentioned above.

DocImpact
UpgradeImpact
Change-Id: I335dbdd1d2b1146543148ccce8d52162804369f4
Closes-Bug: #1496655
cinder/scheduler/filter_scheduler.py
cinder/tests/unit/scheduler/test_filter_scheduler.py
cinder/tests/unit/volume/flows/test_create_volume_flow.py
cinder/volume/flows/api/create_volume.py