Files
os-brick/releasenotes/notes/rbd_check_valid_device-2f50c0639adb8e7c.yaml
Gorka Eguileor 7d995b6cf6 RBD: Fix check_valid_device
The check_valid_device method of the RBD connector doesn't work for
locally attached volumes (using krbd) because it only has code for
handles.

This patch adds code to handle the check of locally attached RBD volumes
running the code as root and as the current user.

In order to preserve current behavior we don't change the code for
checking valid handles, which means we are ignoring the run_as_root
parameter.

Closes-Bug: #1884552
Related-Bug: #1883720
Change-Id: Iedf1d4678eeef438ac4f03a61f5f91f3a225c3fd
2020-07-30 14:07:49 +02:00

6 lines
120 B
YAML

---
fixes:
- |
Fix check_valid_path method in the RBD connector for locally attached
volumes. (Bug #1884552)