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
Reviewed: https:/ /review. openstack. org/99782 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=824de4a01d4 24508922a9aa242 93c9fbd27a8f54
Committed: https:/
Submitter: Jenkins
Branch: master
commit 824de4a01d42450 8922a9aa24293c9 fbd27a8f54
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 connection and terminate_ connection, connection connection call. The decorator 140003ad3a8495e 0ddc3516ea8
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_
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_
and terminate_
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: Ie3ae70785f500a
Closes-Bug: 1321798