Merge pull request #6120 from leseb/fix-5996
ceph: do not use realPath for osd on pvc
This commit is contained in:
1 file changed
-6
@@ -438,12 +438,6 @@ func getAvailableDevices(context *clusterd.Context, agent *OsdAgent) (*DeviceOsd
|
||||
}
|
||||
matchedDevice = desiredDevice
|
||||
|
||||
// On PVC, we must use the real name not the /mnt name since c-v calls udev
|
||||
// udevadm will fail with
|
||||
// stderr Unknown device, --name=, --path=, or absolute path in /dev/ or /sys expected.
|
||||
if agent.pvcBacked {
|
||||
matchedDevice.Name = device.RealPath
|
||||
}
|
||||
if matched {
|
||||
break
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user