Dan Kenigsberg has submitted this change and it was merged. Change subject: udev: Race fix- load and trigger dev rule ......................................................................
udev: Race fix- load and trigger dev rule The rule file is generated, yet not synch-loaded in memory, so a VM with a direct lun fails to start. This patch reloads the rules before triggering using the new private udev functions - udevReloadRules() in supervdsmServer.py . Also added a check in appropriateDevice() (hsm.py) to make sure the mapping is indeed there. Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=891300 Change-Id: If3b2008a3d9df2dcaf54190721c2dd9764338627 Signed-off-by: Lee Yarwood <[email protected]> Signed-off-by: Vered Volansky <[email protected]> Signed-off-by: Federico Simoncelli <[email protected]> --- M vdsm/storage/hsm.py M vdsm/supervdsmServer.py 2 files changed, 38 insertions(+), 0 deletions(-) Approvals: Ayal Baron: Looks good to me, approved Haim Ateya: Verified Federico Simoncelli: Looks good to me, but someone else must approve Dan Kenigsberg: Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/10758 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: If3b2008a3d9df2dcaf54190721c2dd9764338627 Gerrit-PatchSet: 10 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Vered Volansky <[email protected]> Gerrit-Reviewer: Ayal Baron <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Federico Simoncelli <[email protected]> Gerrit-Reviewer: Haim Ateya <[email protected]> Gerrit-Reviewer: Lee Yarwood <[email protected]> Gerrit-Reviewer: Royce Lv <[email protected]> Gerrit-Reviewer: Vered Volansky <[email protected]> Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
