You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Wei Zhou (JIRA)" <ji...@apache.org> on 2013/07/29 12:29:51 UTC
[jira] [Commented] (CLOUDSTACK-3899) KVM agent failed to start on
upgraded setup with Resource class not found:
com.cloud.agent.resource.computing.LibvirtComputingResource
[ https://issues.apache.org/jira/browse/CLOUDSTACK-3899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13722333#comment-13722333 ]
Wei Zhou commented on CLOUDSTACK-3899:
--------------------------------------
Shweta,
There was a change related to this issue in the 4.0.2/4.1.0 Release Notes (http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html-single/Release_Notes/index.html).
Edit /etc/cloud/agent/agent.properties to change the resource parameter from "com.cloud.agent.resource.computing.LibvirtComputingResource" to "com.cloud.hypervisor.kvm.resource.LibvirtComputingResource".
Please change it and try again.
-Wei
> KVM agent failed to start on upgraded setup with Resource class not found: com.cloud.agent.resource.computing.LibvirtComputingResource
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3899
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3899
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: KVM, Upgrade
> Affects Versions: 4.2.0
> Environment: KVM host on rhel 6.2
> Reporter: shweta agarwal
> Priority: Blocker
> Fix For: 4.2.0
>
>
> install agent from 3.0.3 build on rhel 6.2
> Upgrade agent to 4.2 build
> Start cloudstack-agent service
> Bug:
> Agent log shows :
> 2013-07-29 15:02:00,049 ERROR [cloud.agent.AgentShell] (main:null) Unable to start agent: Resource class not found: com.cloud.agent.resource.computing.LibvirtComputingResource due to: java.lang.ClassNotFoundException: com.cloud.agent.resource.computing.LibvirtComputingResource
> complete Agent log after upgrade:
> 2013-07-29 15:02:00,004 INFO [cloud.agent.AgentShell] (main:null) Agent started
> 2013-07-29 15:02:00,005 INFO [cloud.agent.AgentShell] (main:null) Implementation Version is 4.2.0-SNAPSHOT
> 2013-07-29 15:02:00,006 INFO [cloud.agent.AgentShell] (main:null) agent.properties found at /etc/cloudstack/agent/agent.properties
> 2013-07-29 15:02:00,007 INFO [cloud.agent.AgentShell] (main:null) Defaulting to using properties file for storage
> 2013-07-29 15:02:00,008 INFO [cloud.agent.AgentShell] (main:null) Defaulting to the constant time backoff algorithm
> 2013-07-29 15:02:00,010 INFO [cloud.utils.LogUtils] (main:null) log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml
> 2013-07-29 15:02:00,049 ERROR [cloud.agent.AgentShell] (main:null) Unable to start agent: Resource class not found: com.cloud.agent.resource.computing.LibvirtComputingResource due to: java.lang.ClassNotFoundException: com.cloud.agent.resource.computing.LibvirtComputingResource
--
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