commit 28b8ecc15d874644952bb74539c61becaf5f7d20
Author: Walter A. Boring IV <email address hidden>
Date: Tue Jan 21 11:54:15 2014 -0800
Fixed inconsistency in iqn
Brick's TargetAdmin classes have a
default value set in __init__ for
iscsi_target_prefix. The unit test was changing
the value returned for the internal _get_target,
but wasn't changing the CONF.iscsi_target_prefix to
match. So the default value in the __init__ was
being used and hence the differences.
This patch sets the configuration's iscsi_target_prefix
which alters the values passed into the driver. This
also makes the tests consistent between the iqn of the volume
at create time and delete time.
Reviewed: https:/ /review. openstack. org/68223 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=28b8ecc15d8 74644952bb74539 c61becaf5f7d20
Committed: https:/
Submitter: Jenkins
Branch: master
commit 28b8ecc15d87464 4952bb74539c61b ecaf5f7d20
Author: Walter A. Boring IV <email address hidden>
Date: Tue Jan 21 11:54:15 2014 -0800
Fixed inconsistency in iqn
Brick's TargetAdmin classes have a target_ prefix. The unit test was changing target_ prefix to
default value set in __init__ for
iscsi_
the value returned for the internal _get_target,
but wasn't changing the CONF.iscsi_
match. So the default value in the __init__ was
being used and hence the differences.
This patch sets the configuration's iscsi_target_prefix
which alters the values passed into the driver. This
also makes the tests consistent between the iqn of the volume
at create time and delete time.
Closes-Bug: #1271249 ff6057ea795af12 99dded82e14
Change-Id: Ie3308cf68adcbd