]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Volume create fails with FakeISCSIDriver
authorscottda <scott.dangelo@hp.com>
Mon, 8 Feb 2016 23:59:34 +0000 (16:59 -0700)
committerscottda <scott.dangelo@hp.com>
Tue, 9 Feb 2016 00:11:49 +0000 (17:11 -0700)
commit902558215ed3fdd8cdfcedd3244189ec75eea25b
treedaff084f42db2684ca93b0eaf75e6d016b8fa51d
parentf2f241a4400ae18863948364d14ef72dc0a24d24
Volume create fails with FakeISCSIDriver

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
cinder/volume/driver.py