]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
XenAPINFS: fix capacity reporting
authorMate Lakat <mate.lakat@citrix.com>
Mon, 18 Feb 2013 12:45:37 +0000 (12:45 +0000)
committerMate Lakat <mate.lakat@citrix.com>
Tue, 19 Feb 2013 09:38:05 +0000 (09:38 +0000)
commitb0cdbdf71bdd675da6d601a711265996878a4e6f
tree2b21760184823af0b05d94a8692c6b78843ca889
parente1815e867344d0eee0304c5bb19de98f0dcfc1c5
XenAPINFS: fix capacity reporting

Fixes bug 1129056

XenAPINFS did not implement the get_volume_stats method, thus
CapacityFilter fitered out the host, thus no volume was scheduled. This
fix is working around this problem quickly, by reporting an 'unknown'
capacity.

Change-Id: I1dc5327e420a3316201318d52f602ced071d459b
cinder/tests/test_xenapi_sm.py
cinder/volume/drivers/xenapi/sm.py