Zhou Zheng Sheng has uploaded a new change for review.

Change subject: vdsm/vdsm: fix vdsm start failure
......................................................................

vdsm/vdsm: fix vdsm start failure

vdsm checks the log file permissions before start. However the log file
path in the code is not correct, so it checks a non-existing file and
always fails. This patch fix the problem.

Change-Id: I102c017e564f0f24782992fae29395ae556b34ed
Signed-off-by: Zhou Zheng Sheng <[email protected]>
---
M vdsm/vdsm
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/45/10145/1

diff --git a/vdsm/vdsm b/vdsm/vdsm
index 5e07b56..ec291b7 100755
--- a/vdsm/vdsm
+++ b/vdsm/vdsm
@@ -113,7 +113,7 @@
 
 
 def __assertLogPermission():
-    logfile = constants.P_VDSM_LOG + "vdsm.log"
+    logfile = constants.P_VDSM_LOG + "/vdsm.log"
     if not os.access(logfile, os.W_OK):
         syslog.syslog("error in accessing vdsm log file")
         sys.exit(1)


--
To view, visit http://gerrit.ovirt.org/10145
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I102c017e564f0f24782992fae29395ae556b34ed
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Zhou Zheng Sheng <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to