Merge "nvmeof: Call findmnt with -v"
This commit is contained in:
commit
bfb55b7b58
@ -783,7 +783,7 @@ class NVMeOFConnector(base.BaseLinuxConnector):
|
||||
|
||||
def _get_host_uuid(self) -> Optional[str]:
|
||||
"""Get the UUID of the first mounted filesystem."""
|
||||
cmd = ('findmnt', '/', '-n', '-o', 'SOURCE')
|
||||
cmd = ('findmnt', '-v', '/', '-n', '-o', 'SOURCE')
|
||||
try:
|
||||
lines, err = self._execute(
|
||||
*cmd, run_as_root=True, root_helper=self._root_helper)
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
NVMe-oF connector `bug #2026257
|
||||
<https://bugs.launchpad.net/os-brick/+bug/2026257>`_: Fixes _get_host_uuid for nvmeof failing when using a btrfs root fs.
|
Loading…
x
Reference in New Issue
Block a user