]> 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>
Fri, 12 Apr 2013 00:47:06 +0000 (18:47 -0600)
commit168b7566a51807dfd42f873c810440472aed7171
treed9f3afca725219657f19f45ea69871c6da76fcf1
parentdbc0b4a0940979c2a2df373006c5b17d75d0cdaa
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
cinder/volume/driver.py