]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix host option isn't set when using multiple backend
authorYaguang Tang <yaguang.tang@canonical.com>
Mon, 23 Jun 2014 03:59:44 +0000 (11:59 +0800)
committerYaguang Tang <yaguang.tang@canonical.com>
Wed, 2 Jul 2014 10:28:29 +0000 (10:28 +0000)
commit7e43a8891018d52bd69298f11b684841b00e2523
tree2468346e0edf399ec977dee980d926d12fb9c710
parent0512bb4cd799362390dc8b44ba3d375b70fd978f
Fix host option isn't set when using multiple backend

When using multiple volume backend, and volume driver is
cinder.volume.drivers.block_device.BlockDeviceDriver, host
option isn't set so a call to get volumes of a host returns none,
This patch changes to use self.host instead of self.configuration.host

Change-Id: Ide34ed29adad14b778b1a7388e9dc313241fa243
Closes-Bug: 1332909
cinder/tests/test_block_device.py
cinder/volume/drivers/block_device.py