cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3650) CloudStack scripts fail when running on Jetty
Date Wed, 07 Aug 2013 08:05:48 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-3650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13731748#comment-13731748
] 

ASF subversion and git services commented on CLOUDSTACK-3650:
-------------------------------------------------------------

Commit 49c9fbfb70413f86642956423c4bbba2e43d8aec in branch refs/heads/master from [~dlafferty@gmail.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=49c9fbf ]

CLOUDSTACK-3650: CloudStack scripts fail when running on Jetty because the executable flag
is not set on their permissions.

                
> 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
>              Labels: maven
>
> 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

Mime
View raw message