]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove Flags usage from cinder.volume.driver
authorJohn Griffith <john.griffith@solidfire.com>
Fri, 12 Apr 2013 00:42:59 +0000 (18:42 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Sat, 20 Apr 2013 16:51:27 +0000 (10:51 -0600)
commit6008be01d93c35240a37e8d589cbbf8b3d90471b
treefe7711786050122bc68ab692687036dd1335fedd
parent875e42ffbefebdb9fe8eb5595a269461cb7dd5d0
Remove Flags usage from cinder.volume.driver

cinder.volume.driver was using a mix of FLAGS and the
new conf options for multi-backend.  The result was failure
of multi-backend configrations to set the iscsi_helper
option.

This updates the driver.py file to use the OSLO.cfg and fixes the
check for iscsi_helper check in the initialize_connection call,
which was undefined.

Fixes bug: 1169928

Change-Id: Ia1678893f32a9d08a695f055f59f7296e17d9d78
(cherry picked from commit 168b7566a51807dfd42f873c810440472aed7171)
cinder/volume/driver.py