Eduardo has posted comments on this change.
Change subject: force reload udev rules to avoid LUN device permission error
......................................................................
Patch Set 1: I would prefer that you didn't submit this
(2 inline comments)
Reloading the udev rules is usually not needed.
Is there an open bug on the rule reload race?
How long is the delay?
From man:
--reload-rules
Signal udevd to reload the rules files.
The udev daemon detects changes automatically, this option is usually not needed.
....................................................
File vdsm/supervdsmServer.py
Line 221: cmd = [EXT_UDEVADM, 'control', '--reload']
Should be --reload-rules instead of reload.
Line 224: raise OSError(errno.EINVAL, "Could not reload rules for device
\
The reload is for all the rules not for a specific device.
--
To view, visit
http://gerrit.ovirt.org/6780
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I718d62e67b0a228f2510233c5dd9d1d94c4a736c
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
Gerrit-Reviewer: Eduardo <ewarszaw(a)redhat.com>
Gerrit-Reviewer: Xu He Jie <xuhj(a)linux.vnet.ibm.com>