Browse Source
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: Id1655614a8a60fba8ed225c6cea53ae1ed4b694achanges/26/738226/3
3 changed files with 27 additions and 2 deletions
@ -0,0 +1,7 @@
|
||||
--- |
||||
fixes: |
||||
- | |
||||
Fix issue where disconnecting an RBD volume inside a container when the |
||||
host had the ceph-common package installed could lead to failure due to a |
||||
"No such file or directory" error. |
||||
(Bug #1885293). |
Loading…
Reference in new issue