Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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.