Comment 7 for bug 1271249

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/68223
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=28b8ecc15d874644952bb74539c61becaf5f7d20
Submitter: Jenkins
Branch: master

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.

    Closes-Bug: #1271249
    Change-Id: Ie3308cf68adcbdff6057ea795af1299dded82e14