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 20C8E10748 for ; Wed, 7 Aug 2013 08:15:51 +0000 (UTC) Received: (qmail 41868 invoked by uid 500); 7 Aug 2013 08:15:50 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 41858 invoked by uid 500); 7 Aug 2013 08:15:50 -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 41850 invoked by uid 500); 7 Aug 2013 08:15:50 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 41845 invoked by uid 99); 7 Aug 2013 08:15:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 08:15:50 +0000 Date: Wed, 7 Aug 2013 08:15:48 +0000 (UTC) From: "Donal Lafferty (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CLOUDSTACK-3650) CloudStack scripts fail when running on Jetty 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-3650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donal Lafferty closed CLOUDSTACK-3650. -------------------------------------- Resolution: Fixed Fix Version/s: Future Assignee: Donal Lafferty See review request https://reviews.apache.org/r/12747/ > CloudStack scripts fail when running on Jetty > --------------------------------------------- > > Key: CLOUDSTACK-3650 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3650 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Projects > Affects Versions: Future > Environment: XenServer deployment > Reporter: Donal Lafferty > Assignee: Donal Lafferty > Labels: maven > Fix For: Future > > > 1. Run CloudStack in jetty using mvn :cloud-client-ui project. E.g. command line: mvn -pl :cloud-client-ui jetty:run > 2. Deploy a XenServer zone > 3. Register a template > CloudStack fails: it is unable to start scripts, because they are not set to executable. > Sample log file warning: > WARN [storage.resource.NfsSecondaryStorageResource] (consoleproxy-1:) Exception: /root/github/cshv3/client/target/cloud-client-ui-4.2.0-SNAPSHOT/WEB-INF/classes/scripts/storage/secondary/createtmplt.sh -s 2 -n 0061d74e-67e0-4504-8a2a-e795eb72c241.vhd -t /mnt/secStorage/fa894f55-dd09-39b8-adf9-aa7e238aa29c/template/tmpl/1/1 -f /mnt/secStorage/fa894f55-dd09-39b8-adf9-aa7e238aa29c/template/tmpl/1/1/acton-systemvm-02062012.vhd.bz2 > java.io.IOException: Cannot run program "/root/github/cshv3/client/target/cloud-client-ui-4.2.0-SNAPSHOT/WEB-INF/classes/scripts/storage/secondary/createtmplt.sh": error=13, Permission denied > Confirmation script is missing executable permissions: > root@mgmtserver:~/github/cshv3# ls -al /root/github/cshv3/client/target/cloud-client-ui-4.2.0-SNAPSHOT/WEB-INF/classes/scripts/storage/secondary/createtmplt.sh > -rw-r--r-- 1 root root 4779 Jul 16 23:24 /root/github/cshv3/client/target/cloud-client-ui-4.2.0-SNAPSHOT/WEB-INF/classes/scripts/storage/secondary/createtmplt.sh > Similar to, but not the same as https://issues.apache.org/jira/browse/CLOUDSTACK-1304, because there was a fix already in place for that bug. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira