Hi Steve, Ilya is right, you’re most likely using a OSS build (or repository with OSS rpms/deb packages) which is why you’re missing the classes/java-packages; and the shapeblue hosted CloudStack repositories are all noredist builds.
You may build it yourself or use this repository which is built from the official source release/tag with -Dnoredist build profile that gets you VMware etc: http://packages.shapeblue.com/cloudstack/upstream/centos/4.7/ (CentOS6) http://packages.shapeblue.com/cloudstack/upstream/centos7/4.7/ (CentOS7) Cheers. [ShapeBlue]<http://www.shapeblue.com> Rohit Yadav Software Architect , ShapeBlue d: | s: +44 203 603 0540<tel:|%20s:%20+44%20203%20603%200540> | m: +91 8826230892<tel:+91%208826230892> e: [email protected] | t: <mailto:[email protected]%20|%20t:> | w: www.shapeblue.com<http://www.shapeblue.com> a: 53 Chandos Place, Covent Garden London WC2N 4HS UK [cid:[email protected]] Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark. This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. On 08-Jan-2016, at 10:52 AM, Steve Searles <[email protected]<mailto:[email protected]>> wrote: Can someone please help point me in the right direction on this one. I upgraded 4.5.2 to 4.7 in my lab. Built with all deps and noredist options as done for all previous releases. I saw in the release notes the build dependency and resolved that. Build was successful (Confirmed vmware support built) and rpm generation was successful. After loading CS and updating the vcenter passwords in the DB and launching CS all of my vmware hosts show disconnected and as such any commands are failing to those hosts. Below is the exception I am seeing. 2016-01-08 00:12:29,113 INFO [c.c.a.m.AgentManagerImpl] (ClusteredAgentManager Timer:ctx-4957e5b4) (logid:c087a0ff) Could not to find a Discoverer to load the resource: 1 for hypervisor type: VMware 2016-01-08 00:12:29,114 WARN [c.c.a.m.AgentManagerImpl] (ClusteredAgentManager Timer:ctx-4957e5b4) (logid:c087a0ff) Unable to find class com.cloud.hypervisor.vmware.resource.VmwareResource java.lang.ClassNotFoundException: com.cloud.hypervisor.vmware.resource.VmwareResource at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1483) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:190) at com.cloud.agent.manager.AgentManagerImpl.loadResourcesWithoutHypervisor(AgentManagerImpl.java:623) at com.cloud.agent.manager.AgentManagerImpl.loadDirectlyConnectedHost(AgentManagerImpl.java:697) at com.cloud.agent.manager.ClusteredAgentManagerImpl.scanDirectAgentToLoad(ClusteredAgentManagerImpl.java:217) at com.cloud.agent.manager.ClusteredAgentManagerImpl.runDirectAgentScanTimerTask(ClusteredAgentManagerImpl.java:182) at com.cloud.agent.manager.ClusteredAgentManagerImpl.access$100(ClusteredAgentManagerImpl.java:96) at com.cloud.agent.manager.ClusteredAgentManagerImpl$DirectAgentScanTimerTask.runInContext(ClusteredAgentManagerImpl.java:233) at org.apache.cloudstack.managed.context.ManagedContextTimerTask$1.runInContext(ManagedContextTimerTask.java:30) at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46) at org.apache.cloudstack.managed.context.ManagedContextTimerTask.run(ManagedContextTimerTask.java:27) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) 2016-01-08 00:12:29,115 WARN [c.c.a.m.AgentManagerImpl] (ClusteredAgentManager Timer:ctx-4957e5b4) (logid:c087a0ff) Unable to load the resource: 1 2016-01-08 00:12:29,116 DEBUG [c.c.h.Status] (ClusteredAgentManager Timer:ctx-4957e5b4) (logid:c087a0ff) Transition:[Resource state = Enabled, Agent event = AgentDisconnected, Host id = 1, name = esx02.z01p1.us.east.cvg.cs.zimcom.net] 2016-01-08 00:12:29,128 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (ClusteredAgentManager Timer:ctx-4957e5b4) (logid:c087a0ff) Loading directly connected host 109(esx03.z01p1.us.east.cvg.cs.zimcom.net) 2016-01-08 00:12:29,128 INFO [c.c.a.m.AgentManagerImpl] (ClusteredAgentManager Timer:ctx-4957e5b4) (logid:c087a0ff) Could not to find a Discoverer to load the resource: 109 for hypervisor type: VMware 2016-01-08 00:12:29,129 WARN [c.c.a.m.AgentManagerImpl] (ClusteredAgentManager Timer:ctx-4957e5b4) (logid:c087a0ff) Unable to find class com.cloud.hypervisor.vmware.resource.VmwareResource java.lang.ClassNotFoundException: com.cloud.hypervisor.vmware.resource.VmwareResource at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1483) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:190) at com.cloud.agent.manager.AgentManagerImpl.loadResourcesWithoutHypervisor(AgentManagerImpl.java:623) at com.cloud.agent.manager.AgentManagerImpl.loadDirectlyConnectedHost(AgentManagerImpl.java:697) at com.cloud.agent.manager.ClusteredAgentManagerImpl.scanDirectAgentToLoad(ClusteredAgentManagerImpl.java:217) at com.cloud.agent.manager.ClusteredAgentManagerImpl.runDirectAgentScanTimerTask(ClusteredAgentManagerImpl.java:182) at com.cloud.agent.manager.ClusteredAgentManagerImpl.access$100(ClusteredAgentManagerImpl.java:96) at com.cloud.agent.manager.ClusteredAgentManagerImpl$DirectAgentScanTimerTask.runInContext(ClusteredAgentManagerImpl.java:233) at org.apache.cloudstack.managed.context.ManagedContextTimerTask$1.runInContext(ManagedContextTimerTask.java:30) at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46) at org.apache.cloudstack.managed.context.ManagedContextTimerTask.run(ManagedContextTimerTask.java:27) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) To me it looks like the VMware support is missing or the .jar was not included in the build somehow. Any Ideas? n Steve Regards. Find out more about ShapeBlue and our range of CloudStack related services: IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> | CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> | CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/> CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> | CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>
