Bug 998907 - canDoAction fails when removing imported vm from export domain
Summary: canDoAction fails when removing imported vm from export domain
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 3.3.0
Assignee: Maor
QA Contact: Leonid Natapov
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-20 10:33 UTC by Jakub Libosvar
Modified: 2016-02-10 16:33 UTC (History)
10 users (show)

Fixed In Version: is12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-21 22:11:54 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:
scohen: Triaged+


Attachments (Terms of Use)
engine vdsm logs (23.42 KB, application/gzip)
2013-08-20 10:33 UTC, Jakub Libosvar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 18416 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.