]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Don't use _execute directly in brick/iscsi
authorJohn Griffith <john.griffith@solidfire.com>
Mon, 1 Dec 2014 21:01:26 +0000 (14:01 -0700)
committerJohn Griffith <john.griffith@solidfire.com>
Mon, 1 Dec 2014 21:01:26 +0000 (14:01 -0700)
commita53198feb550b1bc0976b310a9e24fcf2334dc1f
tree7618fbf207bac05decf360fab50e09987ed21abf
parent7e3ddf8d0d2759126cac9a8b089fbc43c3857aaa
Don't use _execute directly in brick/iscsi

The brick/iscsi module has a run helper that
should be used for executing commands.  There
are a number of inconsistencies where _execute
is called directly.

This patch moves everythign to use the run method
to keep things consistent and also to fix up some
potential issues with variables becoming corrupt
under heavy load.

Change-Id: Idfc183f2ed1ad73b64fc893efcc07972c95926c6
cinder/brick/iscsi/iscsi.py
cinder/volume/iscsi.py