Comment 6 for bug 1321798

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

Reviewed: https://review.openstack.org/99782
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=824de4a01d424508922a9aa24293c9fbd27a8f54
Submitter: Jenkins
Branch: master

commit 824de4a01d424508922a9aa24293c9fbd27a8f54
Author: Walter A. Boring IV <email address hidden>
Date: Thu Jun 19 10:35:29 2014 -0700

    Ensure FC ZoneManager is called

    This patch ensures that the FC ZoneManager
    is called during for all cases in Cinder
    that does a volume attach/detach for FC
    enabled drivers.
    The problem was that we had code in the volume
    manager that manually called the ZoneManager,
    after initialize_connection and terminate_connection,
    but other places in Cinder were not calling the
    ZoneManager.
    This patch creates 2 new decorators that can
    be used for any driver's initialize_connection
    and terminate_connection call. The decorator
    checks to make sure that the return value is for
    a fibre_channel attachment and then calls the
    ZoneManager's add_connection or delete_connection.
    Change-Id: Ie3ae70785f500a140003ad3a8495e0ddc3516ea8
    Closes-Bug: 1321798