Bug 1351156 - Unable to delete a VM created by RHEV ComputeResource if it is running.
Summary: Unable to delete a VM created by RHEV ComputeResource if it is running.
Keywords:
Status: CLOSED DUPLICATE of bug 1344910
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: rhci-common-installer 1351158
TreeView+ depends on / blocked
 
Reported: 2016-06-29 11:25 UTC by John Matthews
Modified: 2016-07-26 14:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1351158 (view as bug list)
Environment:
Last Closed: 2016-07-26 14:55:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 15560 0 None None None 2016-07-05 01:11:40 UTC

Description John Matthews 2016-06-29 11:25:05 UTC
Description of problem:

Unable to delete a running VM from Hosts.

VM is created on RHEV through a ComputeResource.

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

Seen with Sat 6.2 


How reproducible:
Intermittent, happens on my setups 90% or more of time, but others on team have seen success.


Steps to Reproduce:
1. Launch a VM on RHEV through a compute resource
2. From the Sat WebUI Hosts, click on the host and select Delete
3. See error


To work around this,
 - manually log into RHEV and power down the VM
 - once it is off then you can delete from Sat or if you previously failed you need to find the task and resume it

Actual results:

Error: Failed to destroy a compute rhev4beta1-RHEV (RHEV) instance rhev4beta1-cfme.example.com: Cannot remove VM. VM is running.

Expected results:

VM is deleted

Additional info:

Comment 3 Ohad Levy 2016-07-04 06:50:01 UTC
RHEV 4.x is out of scope and should be tracked separately. as a side note, this is already being resolved and tracked at http://projects.theforeman.org/issues/15560

Comment 5 John Matthews 2016-07-05 12:50:14 UTC
I've seen this behavior both with Sat 6.1 and Sat 6.2, have seen it with RHEV 3.5 and 3.6.  We haven't moved to RHEV 4 Beta yet.

Comment 6 Ivan Necas 2016-07-26 14:55:56 UTC

*** This bug has been marked as a duplicate of bug 1344910 ***


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