You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/01/27 16:22:46 UTC

[GitHub] [cloudstack] crestrepo121 opened a new issue #3842: Rolling back the transaction: Time = 12 Name - Unexpected exception Problem with getting the ec attribute

crestrepo121 opened a new issue #3842: Rolling back the transaction: Time = 12 Name - Unexpected exception Problem with getting the ec attribute
URL: https://github.com/apache/cloudstack/issues/3842
 
 
   
   
   ##### ISSUE TYPE
   
    * Other
   
   ##### COMPONENT NAME
   <!--
   
   CS Manager
   
   -->
   ~~~
   
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   4.11.1
   -->
   
   ~~~
   
   ~~~
   
   ##### CONFIGURATION
   <!--
   Advanced networking
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   CentOS 7
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   We have had a stable CloudStack operating for over 18 months. Unfortunately after a loss of power we cannot restart the CS Managers properly.
   
   We have multiple copies of the configuration DB and we believe that none of those is corrupt.
   
   Our initial belief was that the issue was related to the version of Java installed so we changed between 3 different versions - always getting the same result.
   
   We also tested on different servers, changing the version of CloudStack (and Phyton) and the result is always the same.
   
   We include portions of the log where we see anomalies, hoping someone will guide us.
   
   [o.e.j.w.StandardDescriptorProcessor] (main:null) (logid:) NO JSP Support for /client, did not find org.eclipse.jetty.jsp.JettyJspServlet
   
   DEBUG [c.c.u.d.T.Transaction] (secstorage-1:ctx-f3dfd638) (logid:2f779524) Rolling back the transaction: Time = 12 Name =  secstorage-1; called by -TransactionLegacy.rollback:889-TransactionLegacy.removeUpTo:832-TransactionLegacy.close:656-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation.proceed:174-ExposeInvocationInterceptor.invoke:92-ReflectiveMethodInvocation.proceed:185-JdkDynamicAopProxy.invoke:212-$Proxy185.persist:-1-AsyncJobManagerImpl.getPseudoJob:184-AsyncJobExecutionContext.registerPseudoExecutionContext:194-SystemVmLoadScanner$1.runInContext:79
   2020-01-27 09:39:59,927 WARN  [c.c.v.SystemVmLoadScanner] (secstorage-1:ctx-f3dfd638) (logid:2f779524) Unexpected exception Problem with getting the ec attribute 
   com.cloud.utils.exception.CloudRuntimeException: Problem with getting the ec attribute 
          at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1439)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
          at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
          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:174)
          at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
          at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
          at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
          at com.sun.proxy.$Proxy185.persist(Unknown Source)
          at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl.getPseudoJob(AsyncJobManagerImpl.java:184)
          at org.apache.cloudstack.framework.jobs.AsyncJobExecutionContext.registerPseudoExecutionContext(AsyncJobExecutionContext.java:194)
          at com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79)
          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 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
          at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:748)
   Caused by: java.lang.IllegalArgumentException: Can not set long field org.apache.cloudstack.framework.jobs.impl.AsyncJobVO.id to java.math.BigInteger
          at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167)
          at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171)
          at sun.reflect.UnsafeLongFieldAccessorImpl.set(UnsafeLongFieldAccessorImpl.java:102)
          ... 30 more
   
   
   
   
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   ~~~
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] crestrepo121 closed issue #3842: Rolling back the transaction: Time = 12 Name - Unexpected exception Problem with getting the ec attribute

Posted by GitBox <gi...@apache.org>.
crestrepo121 closed issue #3842: Rolling back the transaction: Time = 12 Name - Unexpected exception Problem with getting the ec attribute
URL: https://github.com/apache/cloudstack/issues/3842
 
 
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] crestrepo121 commented on issue #3842: Rolling back the transaction: Time = 12 Name - Unexpected exception Problem with getting the ec attribute

Posted by GitBox <gi...@apache.org>.
crestrepo121 commented on issue #3842: Rolling back the transaction: Time = 12 Name - Unexpected exception Problem with getting the ec attribute
URL: https://github.com/apache/cloudstack/issues/3842#issuecomment-578947796
 
 
   We were able to solve this situation - not related to CloudStack which continues to work fine for us.
   
   Situation was related to the way we were importing the Database after restoring our CS Managers.
   
   Thank you

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services