[ 
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

Reply via email to