You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Patrick Miller <pa...@sungardas.com> on 2016/05/17 18:50:54 UTC

Re: [QUESTION] ACS 4.8 Centos 7 ARM / Raspberry PI B 2 with Intel KVM hypervisor

Daan:  Thanks for the response.


   I have been fighting memory constraints, on the Raspberry PI Management
Server.
   I have moved the DataBase process off to a separate Raspberry Pi.

   I have tried with KVM and  XenServer 6.5 hosts. Once I get the host
added I get out of memory errors in the management server logs.

   Is there a way to disable the some resources I will never use.   Some of
the Hypervisors and 3rd party network devices.

   The Idea of a small low power management server for small scale
deployment seemed nice.

 I am running cloudstack-management-4.8.0-1.el7.centos.armv7hl.rpm

Here is my start command:  I have tried 768m, 800m, 825m, 875m, 900m   and
get similar results.

if [ -r "/etc/cloudstack/management/cloudmanagementserver.keystore" ] ; then

  JAVA_OPTS="-Djava.awt.headless=true -Dcom.sun.management.jmxremote=false
-Xmx875m -XX:+HeapDumpOnOutOfMemoryErro

r -XX:HeapDumpPath=/var/log/cloudstack/management/ -XX:PermSize=512M
-XX:MaxPermSize=800m -Djavax.net.ssl.trustSto

re=/etc/cloudstack/management/cloudmanagementserver.keystore
-Djavax.net.ssl.trustStorePassword=vmops.com -Djava.n

et.preferIPv4Stack=true -Djava.net.preferIPv4Addresses"

else

  JAVA_OPTS="-Djava.awt.headless=true -Dcom.sun.management.jmxremote=false
-Xmx875m -XX:+HeapDumpOnOutOfMemoryErro

r -XX:HeapDumpPath=/var/log/cloudstack/management/ -XX:PermSize=512M
-XX:MaxPermSize=800m -Djava.net.preferIPv4Sta

ck=true -Djava.net.preferIPv4Addresses"

fi

   Here is a sample of one of the errors I am getting

2016-05-17 11:38:34,517 ERROR [c.c.a.AlertManagerImpl]
(CapacityChecker:ctx-c9db3855) (logid:5e7f6432) Caught exception in
recalculating capacity

java.lang.OutOfMemoryError

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(ZipFile.java:215)

at java.util.zip.ZipFile.<init>(ZipFile.java:145)

at java.util.jar.JarFile.<init>(JarFile.java:154)

at java.util.jar.JarFile.<init>(JarFile.java:118)

at
org.apache.catalina.loader.WebappClassLoader.openJARs(WebappClassLoader.java:2857)

at
org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:3114)

at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2892)

at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)

at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)

at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)

at net.sf.ehcache.Cache.tryRemoveImmediately(Cache.java:2103)

at net.sf.ehcache.Cache.elementStatsHelper(Cache.java:2078)

at net.sf.ehcache.Cache.searchInStoreWithoutStats(Cache.java:2072)

at net.sf.ehcache.Cache.get(Cache.java:1590)

at net.sf.ehcache.Cache.get(Cache.java:1557)

at com.cloud.utils.db.GenericDaoBase.findById(GenericDaoBase.java:946)

at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

at
com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)

at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

at com.sun.proxy.$Proxy44.findById(Unknown Source)

at com.cloud.api.ApiDBUtils.findPodById(ApiDBUtils.java:1016)

at
com.cloud.configuration.ConfigurationManagerImpl.findClusterAllocationState(ConfigurationManagerImpl.java:4966)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

at com.sun.proxy.$Proxy116.findClusterAllocationState(Unknown Source)

at
com.cloud.storage.StorageManagerImpl.createCapacityEntry(StorageManagerImpl.java:986)

at
com.cloud.alert.AlertManagerImpl.recalculateCapacity(AlertManagerImpl.java:295)

at
com.cloud.alert.AlertManagerImpl.checkForAlerts(AlertManagerImpl.java:432)

at
com.cloud.alert.AlertManagerImpl$CapacityChecker.runInContext(AlertManagerImpl.java:422)

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)



Patrick Miller ▪ Senior Systems Engineer ▪ Sungard Availability Services
2481 Deerwood Dr, San Ramon, Ca 94583 ▪  Office: 925-831-7738
patrick.miller@sungardas.com <pa...@sungard.com> ▪
www.sungardas.com


CONFIDENTIALITY:  This e-mail (including any attachments) may contain
confidential, proprietary and privileged information, and unauthorized
disclosure or use is prohibited.  If you received this e-mail in error,
please notify the sender and delete this e-mail from your system.

On Wed, Apr 20, 2016 at 4:54 AM, Daan Hoogland <da...@gmail.com>
wrote:

> H Patrick, nobody is answerring but I know they have, Not to start off with
> as you intent to, though. Let us know.
>
> On Tue, Apr 19, 2016 at 6:25 PM, Patrick Miller <
> patrick.miller@sungardas.com> wrote:
>
> > I built  ACS 4.8 on Centos 7 ARM on a Raspberry PI B 2.  With ACS 4.8
> built
> > on a Centos 7 x86_68 for the cloudstack_agent code.
> >
> > And I am planning on managing a cluster of  Intel Centos 7 kvm
> hypervisors.
> >
> >  I was wonder if anyone has tried a mixed platform configuration before.
> I
> > will report back my progress.
> >
> > Thanks
> >   Patrick
> >
> > Patrick Miller ▪ Senior Systems Engineer ▪ Sungard Availability Services
> > 2481 Deerwood Dr, San Ramon, Ca 94583 ▪  Office: 925-831-7738
> > patrick.miller@sungardas.com <pa...@sungard.com> ▪
> > www.sungardas.com
> >
> >
> > CONFIDENTIALITY:  This e-mail (including any attachments) may contain
> > confidential, proprietary and privileged information, and unauthorized
> > disclosure or use is prohibited.  If you received this e-mail in error,
> > please notify the sender and delete this e-mail from your system.
> >
>
>
>
> --
> Daan
>