Go to file
Gorka Eguileor d866ee75c2 Fix multipath disconnect with path failure
Under certain conditions detaching a multipath device may result on
failure when flushing one of the individual paths, but the disconnect
should have succeeded, because there were other paths available to flush
all the data.

OS-Brick is currently following standard recommended disconnect
mechanism for multipath devices:

- Release all device holders
- Flush multipath
- Flush single paths
- Delete single devices

The problem is that this procedure does an innecessary step, flushing
individual single paths, that may result in an error.

Originally it was thought that the individual flushes were necessary to
prevent data loss, but upon further study of the multipath-tools and the
device-mapper code it was discovered that this is not really the case.

After the multipath flushing has been completed we can be sure that the
data has been successfully sent and acknowledge by the device.

Closes-Bug: #1785669
Change-Id: I10f7fea2d69d5d9011f0d5486863a8d9d8a9696e
2018-08-13 11:02:01 +02:00
2016-04-20 15:52:31 +00:00
2018-07-11 17:51:51 +07:00
2015-03-18 13:00:51 +01:00
2015-01-22 19:09:30 +00:00
2017-10-02 17:35:26 -05:00
2018-04-17 17:17:38 -04:00
2018-04-02 14:40:35 -04:00
2015-01-22 19:09:30 +00:00
2018-07-11 17:51:51 +07:00
2016-04-04 18:02:19 -04:00
2018-06-27 23:02:38 +08:00
2018-04-11 11:52:27 -04:00
2017-03-10 19:12:09 +00:00
2018-07-11 17:51:51 +07:00
2018-06-12 17:22:10 +00:00

Team and repository tags

image

brick

Latest Version

Downloads

OpenStack Cinder brick library for managing local volume attaches

Features

  • Discovery of volumes being attached to a host for many transport protocols.
  • Removal of volumes from a host.

Hacking

Hacking on brick requires python-gdbm (for Debian derived distributions), Python 2.7 and Python 3.4. A recent tox is required, as is a recent virtualenv (13.1.0 or newer).

If "tox -e py34" fails with the error "db type could not be determined", remove the .testrepository/ directory and then run "tox -e py34".

For any other information, refer to the developer documents:

https://docs.openstack.org/os-brick/latest/

OR refer to the parent project, Cinder:

https://docs.openstack.org/cinder/latest/

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/os-brick

Description
Volume discovery and local storage management lib
Readme 32 MiB
Languages
Python 99.6%
Shell 0.4%