Volume create fails when the FakeISCSIDriver is used, because the
scheduler capacity filter detects that capacity on the fake backend
is zero. Change the total_capacity and free_capacity_gb for the
FakeISCSIDriver from 0 to infinite.
Change-Id: Ifedd483a660aefef89a85e6a55b2c0a5ca50c7d5
Closes-Bug: #
1543171
fake_pool = {}
fake_pool.update(dict(
pool_name=data["volume_backend_name"],
- total_capacity_gb=0,
- free_capacity_gb=0,
+ total_capacity_gb='infinite',
+ free_capacity_gb='infinite',
provisioned_capacity_gb=0,
reserved_percentage=100,
QoS_support=False,