]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Revert initialize_connection changes
authorjohn-griffith <john.griffith@solidfire.com>
Wed, 29 Jan 2014 04:30:59 +0000 (21:30 -0700)
committerjohn-griffith <john.griffith@solidfire.com>
Wed, 29 Jan 2014 13:30:48 +0000 (06:30 -0700)
commit0132be46bc9b4bb1b3bf77a623cc1d3b7e9307ea
treee4a89aabdde3ec59efbb84dded32b114cae10c23
parent60ffb0eedf41b56f3c6af5b301400ced95762194
Revert initialize_connection changes

A change was merged that reusulted in interittent
gate failures.  It seems that in certain cases the
intitialize is doing an update targets and is
deleting the existing targets and not recreating them.

The idea of this patch was to fix up the iscis targets
for cases where volumes are extended.

A better solution is in progress that will remove the
target creation from the create_volume process altogether.

Currently we seem to have create_export, ensure_export and
now initialize that all are designed to do very similar
things.

A bug has been filed to address this and will attempt
to collapse these functions to be done at attach time.

This particular patch in essence reverts two patches:
commit: 18f8f5be94aae3b1747b143479ea1b188872f000
commit: a9267644ee09591e2d642d6c1204d94a9fdd8c82

Change-Id: Ib615847f3cbeb74b1e4416d51730162ad1d07a40
Closes-Bug: 1270608
cinder/brick/exception.py
cinder/brick/iscsi/iscsi.py
cinder/volume/drivers/lvm.py