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

Min Chen commented on CLOUDSTACK-6754:
--------------------------------------

>From MS log, I can see that your SSVM agent is not running at all, that is why 
>you saw "There is no secondary storage VM for downloading template to image 
>store s3perfgolstore" in registering a template. Since SSVM agent is not 
>running, it will not send back commands to management server to sync default 
>centos template. 

Also from cloud.out, you can see that SSVM agent failed to start due to this 
error:
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
com/cloud/agent/AgentShell : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
        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: com.cloud.agent.AgentShell. Program will exit.

This error indicates that you are using Java 6 to run Java 7 code on SSVM, you 
should use the new system vm template that is upgraded to use Java 7.



> SSVM not responding with S3 secondary sotre
> -------------------------------------------
>
>                 Key: CLOUDSTACK-6754
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6754
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Storage Controller, SystemVM, Template
>    Affects Versions: 4.4.0
>         Environment: Host: Xenserver
> Secondary Store: Image store with S3 as provider
>            Reporter: Pavan Kumar Bandarupally
>            Assignee: Min Chen
>            Priority: Blocker
>             Fix For: 4.4.0
>
>         Attachments: cloud.log, cloudoutfile.zip, management-server.log
>
>
> A new zone is created and systemVMs are up. The systemvm template is 
> downloaded to S3 bucket. Once the SSVMs are up, the default BUILTIN centos 
> template or any other template that we try to register manually are not 
> getting downloaded to SSVM. There is no exception generated as well. 
> The registerTemplate API call is just listed in the MS traces and no further 
> action happens. Attaching the MS logs and SSVM log. There is no trace of any 
> exception in SSVM log as well. Attaching the /var/log/cloud/cloud.out , which 
> is the only file that has some exception listed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to