You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Nitin Mehta (JIRA)" <ji...@apache.org> on 2014/07/26 02:47:38 UTC
[jira] [Commented] (CLOUDSTACK-7011) [Automation] No logs being
generated because Logs are created as root instead of cloud user
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14075171#comment-14075171 ]
Nitin Mehta commented on CLOUDSTACK-7011:
-----------------------------------------
I couldnt find any concrete reason why this was happening on their setup, but both Chandan and Rayees are using the same automation script so I am doubting that could be the reason for this. Chandan also is suspecting the same thing.
> [Automation] No logs being generated because Logs are created as root instead of cloud user
> -------------------------------------------------------------------------------------------
>
> 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
> Assignee: Nitin Mehta
> 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)