Bug 998907

Summary: canDoAction fails when removing imported vm from export domain
Product: Red Hat Enterprise Virtualization Manager Reporter: Jakub Libosvar <jlibosva>
Component: ovirt-engineAssignee: Maor <mlipchuk>
Status: CLOSED CURRENTRELEASE QA Contact: Leonid Natapov <lnatapov>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, amureini, eedri, iheim, lpeer, mbourvin, obasan, Rhev-m-bugs, scohen, yeylon
Target Milestone: ---Keywords: Regression, TestBlocker
Target Release: 3.3.0Flags: scohen: Triaged+
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: is12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 22:11:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
engine vdsm logs none

Description Jakub Libosvar 2013-08-20 10:33:47 UTC
Created attachment 788409 [details]
engine vdsm logs

Description of problem:
Vm on export domain cannot be removed after it's imported as a clone

2013-08-20 10:16:17,640 INFO  [org.ovirt.engine.core.bll.RemoveVmFromImportExportCommand] (ajp-/127.0.0.1:8702-6) [1a368439] Failed to Acquire Lock to object EngineLock [exclusiveLocks= key: ab3308df-dd66-4ef9-a3df-38b316f9b082 value: REMOTE_VM
, sharedLocks= ]
2013-08-20 10:16:17,641 WARN  [org.ovirt.engine.core.bll.RemoveVmFromImportExportCommand] (ajp-/127.0.0.1:8702-6) [1a368439] CanDoAction of action RemoveVmFromImportExport failed. Reasons:VAR__ACTION__REMOVE,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_BEING_IMPORTED,$VmName ccc


Version-Release number of selected component (if applicable):
rhevm-3.3.0-0.15.master.el6ev.noarch
vdsm-4.12.0-61.git8178ec2.el6ev.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Have a vm on export domain
2. Import vm with clone checkbox checked
3. After import is finished, try to remove vm from export domain

Actual results:
Fails

Expected results:
Vm is removed

Additional info:
There are no hang tasks or jobs in DB.

Comment 3 Leonid Natapov 2013-09-17 09:18:09 UTC
is14. works.

Comment 4 Itamar Heim 2014-01-21 22:11:54 UTC
Closing - RHEV 3.3 Released