zhaoleilc 994cfb3f38 Avoid volume extension errors caused by multipath-tools version
`multipathd reconfigure` is an asynchronous command as of
multipath-tools 0.6.1 [1][2], potentially even before that [3].

Extending in-use iSCSI or FC volumes can fail because of that
as `multipathd resize map` will output "timeout" while the
"multipathd reconfigure" operation is still in progress.

This commit will ensure that multipathd errors are handled
accordingly, retrying in case of timeouts for up to 2 minutes.

[1] https://github.com/openSUSE/multipath-tools/blob/0.6.0/multipathd/main.c#L997
[2] https://github.com/openSUSE/multipath-tools/blob/0.6.1/multipathd/main.c#L1135
[3] b21c567961/multipathd/cli_handlers.c (L847-L851)

Change-Id: I66e866700728eee7160f48455258c3974ada55bf
Closes-Bug: #1888675
(cherry picked from commit 557f38677a)
2023-08-02 19:58:02 +05:30
2021-07-15 14:08:28 -04:00
2016-04-20 15:52:31 +00:00
2022-02-18 15:32:54 +00:00
2015-01-22 19:09:30 +00:00
2017-10-02 17:35:26 -05:00
2023-01-05 11:38:28 -05:00
2019-01-18 21:30:00 -05:00
2015-01-22 19:09:30 +00:00
2021-08-24 19:06:35 +00:00
2016-04-04 18:02:19 -04:00
2020-04-05 17:43:12 +02:00
2023-01-05 11:38:28 -05: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 3.6+. A recent tox is required, as is a recent virtualenv (20.2.2 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 33 MiB
Languages
Python 99.6%
Shell 0.4%