Bug 947965

Summary: RHEVM Backend : VM can be removed while in other state than down, like migrating and powering off
Product: Red Hat Enterprise Virtualization Manager Reporter: Barak Dagan <bdagan>
Component: ovirt-engineAssignee: Roy Golan <rgolan>
Status: CLOSED ERRATA QA Contact: Lukas Svaty <lsvaty>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: bsettle, iheim, lbopf, lpeer, lsvaty, michal.skrivanek, ofrenkel, pstehlik, rbalakri, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: vt2.2 Doc Type: Bug Fix
Doc Text:
Previously it was possible to remove virtual machines during powering down or migrating states. Now, that action is properly configured and users can remove virtual machines only when the machines are in "Down" state.
Story Points: ---
Clone Of:
: 1136010 (view as bug list) Environment:
Last Closed: 2015-02-11 17:52:46 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:
Bug Depends On:    
Bug Blocks: 1121089, 1136010, 1142923, 1156165    
Attachments:
Description Flags
engine log none

Description Barak Dagan 2013-04-03 16:15:27 UTC
Description of problem:
during migrating and powering down states remove vm action can be performed successfully

Version-Release number of selected component (if applicable):
SF 10

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:
Expecting that remove vm will fail on any state other than down

Additional info:

Comment 1 Barak Dagan 2013-04-03 16:40:05 UTC
Created attachment 731247 [details]
engine log

Comment 2 Barak Dagan 2013-04-03 16:43:26 UTC
clarifications:
powering down - during power off action and not in shutdown (attached log)
migrating - results of https://bugzilla.redhat.com/show_bug.cgi?id=922490, migrating vm and immediatly canceling the migration, the vm is stuck in migrating to state and can be removed in that state ().

Comment 3 Barak Dagan 2013-04-03 16:58:19 UTC
(In reply to comment #2)
> clarifications:
> powering down - during power off action and not in shutdown (attached log)
> migrating - results of https://bugzilla.redhat.com/show_bug.cgi?id=922490,
> migrating vm and immediatly canceling the migration, the vm is stuck in
> migrating to state and can be removed in that state ().

remove vm using cli.

Comment 10 Lukas Svaty 2014-09-16 13:57:19 UTC
verified in vt3 for status Migrating, Shutting down

Comment 12 errata-xmlrpc 2015-02-11 17:52:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-0158.html