rhtyd opened a new issue #2642: DB Exceptions seen on latest master
URL: https://github.com/apache/cloudstack/issues/2642
 
 
   On latest master, with only db deployed and no environments I see this:
   ```
   2018-05-14 16:57:47,617 INFO  [c.c.r.ResourceLimitManagerImpl] 
(ResourceCountChecker-1:ctx-ed4a764d) (logid:d70d0be5) Started resource 
counters recalculation periodic task.
   2018-05-14 16:57:47,637 WARN  [c.c.r.ResourceLimitManagerImpl] 
(ResourceCountChecker-1:ctx-ed4a764d) (logid:d70d0be5) Discrepency in the 
resource count (original count=0 correct count = 13) for type template for 
account ID 1 is fixed during resource count recalculation.
   2018-05-14 16:57:47,657 DEBUG [c.c.u.d.T.Transaction] 
(ResourceCountChecker-1:ctx-ed4a764d) (logid:d70d0be5) Rolling back the 
transaction: Time = 2 Name =  ResourceCountChecker-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-$Proxy71.countCpuNumberAllocatedToAccount:-1-ResourceLimitManagerImpl.countCpusForAccount:929-ResourceLimitManagerImpl$4.doInTransaction:902-ResourceLimitManagerImpl$4.doInTransaction:872
   2018-05-14 16:57:47,658 WARN  [c.c.u.d.T.Transaction] 
(ResourceCountChecker-1:ctx-ed4a764d) (logid:d70d0be5) txn: Commit called when 
it is not a transaction: 
-Transaction.execute:41-Transaction.execute:47-ResourceLimitManagerImpl.recalculateAccountResourceCount:872-ResourceLimitManagerImpl$ResourceCountCheckTask.runInContext:1065-ManagedContextRunnable$1.run:49-DefaultManagedContext$1.call:56-DefaultManagedContext.callWithContext:103-DefaultManagedContext.runWithContext:53-ManagedContextRunnable.run:46-Executors$RunnableAdapter.call:511-FutureTask.runAndReset:308-ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301:180
   2018-05-14 16:57:47,661 DEBUG [c.c.u.d.T.Transaction] 
(ResourceCountChecker-1:ctx-ed4a764d) (logid:d70d0be5) Rolling back the 
transaction: Time = 3 Name =  tx-320; 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-$Proxy71.countMemoryAllocatedToAccount:-1-ResourceLimitManagerImpl.calculateMemoryForAccount:933-ResourceLimitManagerImpl$4.doInTransaction:904-ResourceLimitManagerImpl$4.doInTransaction:872
   ```
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   DB, API, background tasks
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master 
branch.
   -->
   
   ~~~
   master, possibly 4.11 branch
   ~~~
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   Basic install with no env deployed
   
   ##### STEPS TO REPRODUCE
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   Deploy latest master, start mgmt server with no env deployed see logs
   ~~~
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Exceptions should not be seen
   ~~~
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to