You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Milamber (JIRA)" <ji...@apache.org> on 2013/04/04 17:19:17 UTC

[jira] [Reopened] (CLOUDSTACK-1206) Failure in Copy of System templates

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milamber reopened CLOUDSTACK-1206:
----------------------------------



on fresh 4.1 install on CentOS 6.4, the file /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt not works because have inside an incorrect path to jasypt:

/usr/share/cloudstack-common/lib/jasypt-1.9.0.jar


The file doesn't exists here.
ls: cannot access /usr/share/cloudstack-common/lib/jasypt-1.9.0.jar: No such file or directory

We found three others path:
# find / -name jasypt-1.9.0.jar
/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/jasypt-1.9.0.jar
/usr/share/java/jasypt-1.9.0.jar
/usr/share/cloudstack-bridge/webapps/awsapi/WEB-INF/lib/jasypt-1.9.0.jar

After change with a good path (the first), the script cloud-install-sys-tmplt works.

                
> Failure in Copy of System templates 
> ------------------------------------
>
>                 Key: CLOUDSTACK-1206
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1206
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Install and Setup
>    Affects Versions: 4.1.0
>            Reporter: Rayees Namathponnan
>            Assignee: Pradeep Soundararajan
>             Fix For: 4.1.0
>
>
> Step 1 : Created new build from 4.1 branch 
> Step 2 : Install and configured MS server 
> Step 3 : Run below command to prepare system template 
> /usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary/ -u http://download.cloud.com/templates/acton/acton-systemvm-02062012.ova -h vmware
> Actual result 
> Failed to prepare system template, since /usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt still referring to "/etc/cloud/management" not "/etc/cloudstack/management"
> Then i modified  /usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt with "/etc/cloud/management" to "/etc/cloudstack/management", but i am unable to download template, getting below error 
> [root@auto_ms3 management]# /usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary2/ -u http://download.cloud.com/templates/acton/acton-systemvm-02062012.ova -h vmware
> Exception in thread "main" java.lang.NoClassDefFoundError: org/jasypt/intf/cli/JasyptPBEStringDecryptionCLI
> Caused by: java.lang.ClassNotFoundException: org.jasypt.intf.cli.JasyptPBEStringDecryptionCLI
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> Could not find the main class: org.jasypt.intf.cli.JasyptPBEStringDecryptionCLI. Program will exit.
> Failed to decrypt DB password from db.properties
> Installation failed

--
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