dony71 opened a new issue #4349:
URL: https://github.com/apache/cloudstack/issues/4349


   I follow installation at https://rohityadav.cloud/blog/cloudstack-rpi4-kvm/
   SystemVM and ProxyVM seems to run OK at the beginning, however after a while 
I cannot access host anymore which cloudstack-management running on.
   /var/log/cloudstack/management/management-server.log show ERROR below
   ```
   2020-09-25 14:48:27,970 ERROR [c.c.u.d.DbUtil] 
(AsyncJobMgr-Heartbeat-1:ctx-478ac4a6) (logid:a51fbabc) Unable to acquire DB 
connection for global lock system
   2020-09-25 14:58:05,717 ERROR [c.c.d.DeploymentPlanningManagerImpl] 
(HostReservationReleaseChecker:ctx-203af2bd) (logid:249de2ab) Exception in 
HostReservationReleaseChecker
   com.cloud.utils.exception.CloudRuntimeException: DB Exception on: null
        at 
com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:430)
        at 
com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:366)
        at 
com.cloud.utils.db.GenericDaoBase.listIncludingRemovedBy(GenericDaoBase.java:936)
        at com.cloud.utils.db.GenericDaoBase.listBy(GenericDaoBase.java:913)
        at com.cloud.utils.db.GenericDaoBase.listBy(GenericDaoBase.java:926)
        at 
com.cloud.deploy.dao.PlannerHostReservationDaoImpl.listAllReservedHosts(PlannerHostReservationDaoImpl.java:64)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at 
com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
        at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
        at com.sun.proxy.$Proxy215.listAllReservedHosts(Unknown Source)
        at 
com.cloud.deploy.DeploymentPlanningManagerImpl.checkHostReservations(DeploymentPlanningManagerImpl.java:900)
        at 
com.cloud.deploy.DeploymentPlanningManagerImpl$HostReservationReleaseChecker.runInContext(DeploymentPlanningManagerImpl.java:891)
        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:32)
        at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
        at java.base/java.util.TimerThread.run(Timer.java:506)
   Caused by: java.sql.SQLNonTransientConnectionException: Could not create 
connection to database server. Attempted reconnect 3 times. Giving up.
        at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110)
        at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
        at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)
        ... 48 more
   Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications 
link failure
   
   The last packet sent successfully to the server was 0 milliseconds ago. The 
driver has not received any packets from the server.
        at 
jdk.internal.reflect.GeneratedConstructorAccessor130.newInstance(Unknown Source)
        at 
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at 
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        ... 56 more
   Caused by: javax.net.ssl.SSLException: Couldn't kickstart handshaking
        at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
        at 
java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:326)
        at 
java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:269)
        ... 57 more
   Caused by: java.net.SocketException: Broken pipe (Write failed)
        at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
        at 
java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110)
        at 
java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150)
        ... 63 more
   2020-09-25 15:08:46,062 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(HostReservationReleaseChecker:ctx-57978a0f) (logid:a60ce8b7) Checking if any 
host reservation can be released ... 
   ```
   Could someone explain what could be wrong?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to