[ https://issues.apache.org/jira/browse/CLOUDSTACK-3899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
shweta agarwal updated CLOUDSTACK-3899: --------------------------------------- Description: 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 was: 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 > KVM agen 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