Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 657BE119CA for ; Wed, 30 Jul 2014 14:02:16 +0000 (UTC) Received: (qmail 15501 invoked by uid 500); 30 Jul 2014 14:02:16 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 15478 invoked by uid 500); 30 Jul 2014 14:02:16 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 15469 invoked by uid 500); 30 Jul 2014 14:02:16 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 15466 invoked by uid 99); 30 Jul 2014 14:02:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2014 14:02:16 +0000 Date: Wed, 30 Jul 2014 14:02:16 +0000 (UTC) From: "Rayees Namathponnan (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-7011) [Automation] No logs being generated because Logs are created as root instead of cloud user MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-7011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rayees Namathponnan updated CLOUDSTACK-7011: -------------------------------------------- Fix Version/s: (was: 4.4.0) 4.5.0 > [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: Rayees Namathponnan > Priority: Critical > Fix For: 4.5.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)