Bug 1351158

Summary: [Docs] Document workaround for deleting VMs created in a deployment on RHEV
Product: Red Hat Quickstart Cloud Installer Reporter: John Matthews <jmatthew>
Component: doc-Technical_NotesAssignee: Julie <juwu>
Status: CLOSED ERRATA QA Contact: James Olin Oden <joden>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0CC: bthurber, jlabocki, joden, juwu, satellite6-bugs
Target Milestone: gaKeywords: Triaged
Target Release: 1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1351156 Environment:
Last Closed: 2016-09-13 16:30:49 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: 1344910, 1351156    
Bug Blocks: 1212602    

Description John Matthews 2016-06-29 11:26:39 UTC
+++ This bug was initially created as a clone of Bug #1351156 +++

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 1 John Matthews 2016-06-29 11:29:36 UTC
Note in above comment I mentioned we would resume the "Destroy Content Host" task to delete the VM if we saw an error.  In Sat 6.2 we do not need to resume the task, we can wait 1-2 minutes and retry the delete from Hosts tab and VM is deleted.

Comment 8 James Olin Oden 2016-08-15 13:28:04 UTC
Doc Version 1.0

Comment 10 errata-xmlrpc 2016-09-13 16:30:49 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://access.redhat.com/errata/RHEA-2016:1862