You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by ilya <il...@gmail.com> on 2016/01/08 20:15:40 UTC

Re: Upgrade from 4.5.2 to 4.7 Vmware broken for me

Did you build cloudstack from source or get the RPM?

I assume if you got the RPM and it was "oss" build..

CloudStack comes in two flavors in order to be compliant with Open
Source License and be within Apache Software Foundation Guidelines.

1) CloudStack OSS - all the packages inside of the RPM/DEB are freely
distributable according to their open source license

2) CloudStack NonOSS - some packages inside of the RPM/DEB are
proprietary and therefore may or may not be distributed easily -
depending on their license.
When it comes to VMware, VMware java bindings are proprietary and may
not be distributed within Apache Software Foundation guidelines.

You cloudstack build most likely lacks vmware libraries is type 1 or OSS.

Community members host the type 2 builds, I believe shapeblue cloudstack
builds include non-open source components, but i would ask on dev
channel to be certain.


Regards
ilya

On 1/7/16 9:22 PM, Steve Searles 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
> 
> 
>