Bug 1007519 - VM removed after snapshot (NIC) removed
Summary: VM removed after snapshot (NIC) removed
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.1.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.2.5
Assignee: Nobody
QA Contact: Pavel Stehlik
URL:
Whiteboard: virt
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-12 16:21 UTC by Pavel Zhukov
Modified: 2018-12-03 19:56 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-05 13:29:27 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pavel Zhukov 2013-09-12 16:21:18 UTC
Description of problem:
After removing of the VM device (snapshot or NIC) VM was removed (org.ovirt.engine.core.bll.RemoveVmCommand was called). 

Version-Release number of selected component (if applicable):
rhevm-webadmin-portal-3.1.0-55.el6ev.noarch
rhevm-3.1.0-55.el6ev.noarch

How reproducible:
twice (we don't have known reproducer yet

Steps to Reproduce:
1. Create snapshot
2. Remove snapshot
3. VM is removed

1. Create 3 NICs
2. Remove all NICs one-by-one
3. VM is removed

Actual results:
VM is removed


Additional info:
GWT debugging was not enabled so frontend logs are not uvailable unfotunately. 

timestamps:

=== engine.log ===

2013-09-12 09:28:40,177 INFO  [org.ovirt.engine.core.bll.RemoveVmCommand] (ajp-/127.0.0.1:8702-5) Lock Acquired to object EngineLock [exclusiveLocks= key: 933f03ae-fd25-4e6c-b2ea-46de283d5daa value: VM
, sharedLocks= ]
2013-09-12 09:28:40,192 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand] (ajp-/127.0.0.1:8702-5) START, IsValidVDSCommand( storagePoolId = 12d918c7-4ca5-47b5-815e-2697af17767b, ignoreFailoverLimit = false, compatabilityVersion = null), log id: 583e6ba0
2013-09-12 09:28:40,194 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand] (ajp-/127.0.0.1:8702-5) FINISH, IsValidVDSCommand, return: true, log id: 583e6ba0

Comment 4 Omer Frenkel 2013-09-16 13:58:15 UTC
are there steps to reproduce? I cannot reproduce this.
did it happen again? 

the log indicated the request came from the user ('internal' flag is false):
2013-09-12 09:28:40,243 INFO  [org.ovirt.engine.core.bll.RemoveVmCommand] (pool-4-thread-48) [739f640c] Running command: RemoveVmCommand internal: false. Entities affected :  ID: 933f03ae-fd25-4e6c-b2ea-46de283d5daa Type: VM

also no errors in the log before or after the remove nic flow.
errors in server log are 2 days before this issue.

is there any chance another user was working on the system? or it was removed by mistake?

Comment 13 Michal Skrivanek 2013-10-08 07:46:23 UTC
well, then the only possibility seems to be they did that by mistake in the GUI. I'd CLOSE the bug...


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