Bug 830561
| Summary: | ovirt-engine-backend: after import more than once vm failed because of vdsm restart we rolled back but failed to unlock the vm | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Dafna Ron <dron> | ||||
| Component: | ovirt-engine | Assignee: | Gilad Chaplik <gchaplik> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dafna Ron <dron> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 3.1.0 | CC: | acathrow, dfediuck, dyasny, iheim, lpeer, Rhev-m-bugs, yeylon, ykaul, yzaslavs | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | infra virt | ||||||
| Fixed In Version: | si8 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-12-04 19:58:36 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: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Created attachment 590764 [details]
logs
merged upstream (http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=09d5e15feffe490e265a9e127f3b68be11b951fa) verified on si8 - vm was removed once we recovered |
Description of problem: import more than once a vm failed because of vdsm restart backend rolled back on task but failed to unlock the vm: 2012-06-07 19:16:08,186 ERROR [org.ovirt.engine.core.bll.VmHandler] (pool-10-thread-48) [1d397b11] Trying to unlock vm A in status Down - not moving to down! Version-Release number of selected component (if applicable): si4 How reproducible: 100% Steps to Reproduce: 1. import vm more than once 2. restart vdsm 3. Actual results: vm is stuck in image lock without disks Expected results: we should be able to unlock vm status Additional info: backend and vdsm logs attached 2012-06-07 19:16:08,150 INFO [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-10-thread-48) [1d397b11] EntityAsyncTask::EndCommandAction [within thread]context: Attempting to EndAction ImportVm 2012-06-07 19:16:08,178 ERROR [org.ovirt.engine.core.bll.ImportVmCommand] (pool-10-thread-48) [1d397b11] Ending command with failure: org.ovirt.engine.core.bll.ImportVmCommand 2012-06-07 19:16:08,186 ERROR [org.ovirt.engine.core.bll.VmHandler] (pool-10-thread-48) [1d397b11] Trying to unlock vm A in status Down - not moving to down! 2012-06-07 19:16:08,189 ERROR [org.ovirt.engine.core.bll.SPMAsyncTask] (QuartzScheduler_Worker-57) [1d397b11] BaseAsyncTask::LogEndTaskFailure: Task 63229ad4-929e-40d9-a3b6-b998 edbb76e9 (Parent Command ImportVm, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) ended with failure: -- Result: cleanSuccess -- Message: VDSGenericException: VDSTaskResultNotSuccessException: TaskState contained successful return code, but a non-success result ('cleanSuccess')., -- Exception: VDSGenericException: VDSTaskResultNotSuccessException: TaskState contained successful return code, but a non-success result ('cleanSuccess'). 2012-06-07 19:16:08,193 INFO [org.ovirt.engine.core.bll.EntityAsyncTask] (QuartzScheduler_Worker-57) [1d397b11] EntityAsyncTask::EndActionIfNecessary: All tasks of entity 06511 288-36e7-4293-a7de-1cf47dbb422a has ended -> executing EndAction