Rayees Namathponnan created CLOUDSTACK-7011:
-----------------------------------------------
Summary: [Automation] MS log getting created with owner root
instead of cloud, and logs not capturing
Key: CLOUDSTACK-7011
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7011
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Install and Setup
Affects Versions: 4.4.0
Environment: 4.4-forward
RPM build
Reporter: Rayees Namathponnan
Priority: Critical
Fix For: 4.4.0
Steps to reproduce
1 ) Create RPM build from centos
2) Install MS
3) Uninstall MS and Delete MS
4) Install MS again
5) Setup MS
Expected result
Installation should be succeeded, and during setup MS, logs should be
captured in MS log
Result
MS log user is root and nothing capturing in MS log, see the permission below
-rw-rw-r--. 1 cloud cloud 12518422 Jun 30 09:50 access_log.2014-06-30.txt
-rw-rw-r--. 1 cloud cloud 38500897 Jun 30 09:50 apilog.log
-rw-r--r--. 1 root root 0 Jun 30 00:27 api-server.log
-rw-rw-r--. 1 cloud cloud 0 Jun 30 00:27 catalina.2014-06-30.log
-rw-r--r--. 1 cloud cloud 24646600 Jun 30 09:50 catalina.out
-rw-rw-r--. 1 cloud cloud 0 Jun 30 00:27 host-manager.2014-06-30.log
-rw-rw-r--. 1 cloud cloud 874 Jun 30 00:43 localhost.2014-06-30.log
-rw-r--r--. 1 root root 0 Jun 30 00:27 management-server.log
-rw-rw-r--. 1 cloud cloud 0 Jun 30 00:27 manager.2014-06-30.log
-rw-r--r--. 1 root root 4479 Jun 30 00:27 setupManagement.log
--
This message was sent by Atlassian JIRA
(v6.2#6252)