cinderlib/cinderlib
Gorka Eguileor efcec1d0ee RBD: Fix error on disconnect
On the RBD driver, when doing a disconnect call inside a container, when
the "rbd_common" package is installed on the host, we can get a "No such
file or directory" error if the udev rule from the host removes the
symlink before we do.

This error is caused by the rm command returning 1 for different type of
errors, so we'll now use -f to ensure we don't fail if the file is
missing, which is what we intended before when passing the
check_exit_code parameter to the execute call.

Trivial-Fix
Closes-Bug: #1885293
Change-Id: Id1655614a8a60fba8ed225c6cea53ae1ed4b694a
2020-07-15 12:39:29 +02:00
..
cmd Add DevStack plugin 2019-03-20 18:34:16 +01:00
persistence Merge "Support references in driver configuration" 2020-07-14 16:17:13 +00:00
tests RBD: Fix error on disconnect 2020-07-15 12:39:29 +02:00
__init__.py Stop to use the __future__ module. 2020-06-02 20:08:16 +02:00
_fake_packages.py Stop to use the __future__ module. 2020-06-02 20:08:16 +02:00
cinderlib.py Merge "Prevent duplicated backend names" 2020-07-14 16:17:14 +00:00
exception.py Remove unused exception 2019-02-04 17:06:58 +01:00
nos_brick.py RBD: Fix error on disconnect 2020-07-15 12:39:29 +02:00
objects.py Merge "Fix rbd attach on python3" 2020-07-14 16:17:01 +00:00
serialization.py Update cinderlib 2019-01-14 16:25:18 +01:00
utils.py Fix Volume snapshots and connections on deletion 2019-03-13 15:04:50 +01:00
workarounds.py Update cinderlib 2019-01-14 16:25:18 +01:00