Merge pull request #1039 from borisroman/CLOUDSTACK-9039

CLOUDSTACK-9039: Fix paths for logging Ubuntu ManagementFix paths for logging Ubuntu Management.

How to test:
Install via DEB packages...

* pr/1039:
  CLOUDSTACK-9039: Fix paths for logging Ubuntu Management.

Signed-off-by: Remi Bergsma <github@remi.nl>
This commit is contained in:
Remi Bergsma 2015-11-09 17:33:29 +01:00
commit 6a1b886951
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ class serviceCfgBase(object):
except: except:
logging.debug(formatExceptionInfo()) logging.debug(formatExceptionInfo())
if self.syscfg.env.mode == "Server": if self.syscfg.env.mode == "Server":
raise CloudRuntimeException("Configure %s failed, Please check the /var/log/cloudstack/setupManagement.log for detail"%self.serviceName) raise CloudRuntimeException("Configure %s failed, Please check the /var/log/cloudstack/management/setupManagement.log for detail"%self.serviceName)
else: else:
raise CloudRuntimeException("Configure %s failed, Please check the /var/log/cloudstack/agent/setup.log for detail"%self.serviceName) raise CloudRuntimeException("Configure %s failed, Please check the /var/log/cloudstack/agent/setup.log for detail"%self.serviceName)

View File

@ -124,4 +124,4 @@ class cloudManagementConfig(serviceCfgBase):
if self.syscfg.svo.enableService("cloudstack-management"): if self.syscfg.svo.enableService("cloudstack-management"):
return True return True
else: else:
raise CloudRuntimeException("Failed to configure %s, please see the /var/log/cloudstack/setupManagement.log for detail"%self.serviceName) raise CloudRuntimeException("Failed to configure %s, please see the /var/log/cloudstack/management/setupManagement.log for detail"%self.serviceName)