| Summary: | [engine-backend] EJBTransactionRolled backException when engine looses connection with spm before it was able to send AddVmFromTemplateCommand | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Elad <ebenahar> | ||||||
| Component: | ovirt-engine | Assignee: | Roy Golan <rgolan> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 3.3.0 | CC: | acathrow, bazulay, ebenahar, iheim, lpeer, Rhev-m-bugs, sherold, yeylon | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | 3.4.0 | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | virt | ||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-03-27 10:40:02 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Created attachment 788484 [details]
UI screenshot
The only problem is seeing the exception in the log ? (In reply to Barak from comment #2) > The only problem is seeing the exception in the log ? yes per comment #3 moving to virt - this is not an infra issue Elad this problem shouldn't occur sense the connection to a blocked VDSM should't take that long anymore. can you reproduce? (In reply to Roy Golan from comment #5) > Elad this problem shouldn't occur sense the connection to a blocked VDSM > should't take that long anymore. can you reproduce? Roy, indeed, I'm not manage to reproduce connection open timeout is down to 2 seconds in current release. this shouldn't happen anymore connection open timeout is down to 2 seconds in current release. this shouldn't happen any more. |
Created attachment 788482 [details] logs Description of problem: When engine reports about VDSNetworkException before it was manage to send to spm CopyImageVDS, it throws an exception: 2013-08-20 15:33:08,100 ERROR [org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (ajp-/127.0.0.1:8702-3) Command org.ovirt.engine.core.bll.AddVmFromTemplateCommand throw exception: javax.ejb.EJBTransactionRolledbackException: Could not get JDBC Connection; nested exception is java.sql.SQLException: javax.resource.ResourceException: IJ000460: Error checking for a transaction at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:138) [jboss-as-ejb3.jar:7.2.0.Final-redhat-8] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:228) [jboss-as-ejb3.jar:7.2.0.Final-redhat-8] at org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:376) [jboss-as-ejb3.jar:7.2.0.Final-redhat-8] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:218) [jboss-as-ejb3.jar:7.2.0.Final-redhat-8] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation.jar:1.1.1.Final-redhat-2] Version-Release number of selected component (if applicable): rhevm-3.3.0-0.15.master.el6ev.noarch How reproducible: 100% Steps to Reproduce: On a block pool: - create a vm from template and stop vdsm before the command is sent to spm Actual results: When vdsm crashes before engine send the CopyImage command, engine throws the mentioned exception. There are no leftovers of the new vm in the system, and spm selection ends successfully after this issue. Expected results: Engine should revert the AddVmFromTemplate without throwing these exception Additional info: logs