Dan Kenigsberg has posted comments on this change.
Change subject: Searching for both py and pyc file to start super vdsm
......................................................................
Patch Set 1: Looks good to me, approved
(1 inline comment)
....................................................
File vdsm/supervdsm.py
Line 43: # path of supervdsmServer
Line 44: for serverFile in ("supervdsmServer.py", "supervdsmServer.pyc"):
Line 45: serverPath = os.path.join(base, serverFile)
Line 46: if os.path.exists(serverPath):
Line 47: return os.path.abspath(serverPath)
Since this is a recent regression that blocks our ovirt-3.2 release, and since
a big overhaul of supevdsm startup is in the making for quite a long time, I'd
rather take this quick fix, and not wait for perfection.
BTW Saggi opposed using -m due to its more complex search semantics, which
makes it less clear what is being run. I am not sure he convinced me but I
would not like to hold this patch until he does.
Line 48:
Line 49: raise RuntimeError("SuperVDSM Server not found")
Line 50:
Line 51: PIDFILE = os.path.join(constants.P_VDSM_RUN, "svdsm.pid")
--
To view, visit http://gerrit.ovirt.org/10854
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I36771ce46f5d00ad8befe33569252bdb8cffeaa1
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Douglas Schilling Landgraf <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches