You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "felder (JIRA)" <ji...@apache.org> on 2016/09/08 13:55:20 UTC

[jira] [Commented] (CLOUDSTACK-9347) SS VM agent fails to start due to Java error (clone from #8234)

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

felder commented on CLOUDSTACK-9347:
------------------------------------

We have the same issue with 
CS 4.9, hypervisors are KVM

2016-09-08 12:51:05,189 ERROR [cloud.agent.AgentShell] (main:) Unable to start agent: Resource class not found: com.cloud.storage.resource.PremiumSecondaryStorageResource due to: java.lang.ClassNotFoundException: com.cloud.storage.resource.PremiumSecondaryStorageResource

java -version on KVM and MGMT
java version "1.7.0_111"
OpenJDK Runtime Environment (IcedTea 2.6.7) (7u111-2.6.7-0ubuntu0.14.04.3)



> SS VM agent fails to start due to Java error  (clone from #8234)
> ----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9347
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9347
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: SystemVM
>    Affects Versions: 4.5.0
>         Environment: CentOS 6, KVM
>            Reporter: Dominic Blais
>            Priority: Critical
>              Labels: secondary_storage, ssvm
>
> After an upgrade from 4.4.2 everything appears to go smoothly except the SSVM agent which fails to start:
> From the VM's /var/log/cloud.log:
> ERROR [cloud.agent.AgentShell] (main:null) Unable to start agent: Resource class not found: com.cloud.storage.resource.PremiumSecondaryStorageResource due to: java.lang.ClassNotFoundException: com.cloud.storage.resource.PremiumSecondaryStorageResource
> More here http://fpaste.org/183058/34269811/raw/
> Java is installed:
> root@s-386-VM:~# dpkg -l| grep jre
> ii  openjdk-7-jre-headless:amd64       7u75-2.5.4-1~deb7u1              amd64        OpenJDK Java runtime, using Hotspot JIT (headless)
> The HV and management servers are also on openjdk 7 (1.7.0) from CentOS 6 stock.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)