Bug 1421662

Summary: Host is not deleted when provisioned on rhv4.x
Product: Red Hat Satellite Reporter: Sanket Jagtap <sjagtap>
Component: Compute Resources - RHEVAssignee: Ivan Necas <inecas>
Status: CLOSED ERRATA QA Contact: Sanket Jagtap <sjagtap>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.8CC: bbuckingham, ehelms, inecas, lzap, zhunting
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/15441
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:54:17 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:
Attachments:
Description Flags
production log none

Description Sanket Jagtap 2017-02-13 11:49:33 UTC
Created attachment 1249796 [details]
production log

Description of problem:


Version-Release number of selected component (if applicable):
Build: Rhv Version 4.0.6.3-0.1.el7ev
Satellite 6.2.8 snap 2

How reproducible:
Always

Steps to Reproduce:
1. Provision a host on rhv4
2. Try to delete the host , from all hosts page
3. You get an error on Web UI 

Actual results:
Error: Failed to destroy a compute rhevm1 (RHEV) instance sjagtap-test2.abc.com: Cannot remove VM. VM is running.


Expected results:
The host should be deleted.

Additional info:
The host is not deleted, instead it is just switched off, on again trying to delete it, it is deleted successfully
Attached the trace-back from production.log

Comment 5 Lukas Zapletal 2017-02-17 10:00:09 UTC
Ok this is known bug, not a regression in errata.

WORKAROUND: Shut down the VM first, then delete.

Comment 6 Lukas Zapletal 2017-02-24 15:03:56 UTC
Valid bug, upstream ticket created.

Comment 7 Satellite Program 2017-07-24 08:03:40 UTC
Upstream bug assigned to inecas

Comment 8 Satellite Program 2017-07-24 08:03:43 UTC
Upstream bug assigned to inecas

Comment 11 Satellite Program 2018-02-21 16:54:17 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/RHSA-2018:0336