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
6 lines
120 B
YAML
6 lines
120 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fix check_valid_path method in the RBD connector for locally attached
|
|
volumes. (Bug #1884552)
|