Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1794432

Summary: Temporary VM is left in engine after installation template has been created
Product: OpenShift Container Platform Reporter: Jan Zmeskal <jzmeskal>
Component: InstallerAssignee: Gal Zaidman <gzaidman>
Installer sub component: OpenShift on RHV QA Contact: Lucie Leistnerova <lleistne>
Status: CLOSED WONTFIX Docs Contact:
Severity: low    
Priority: medium CC: dougsland, gzaidman, hpopal, rciatti
Version: 4.4   
Target Milestone: ---   
Target Release: 4.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: OCPRHV-164 (view as bug list) Environment:
Last Closed: 2020-09-22 13:09:44 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: 1841380    
Bug Blocks:    

Description Jan Zmeskal 2020-01-23 15:16:45 UTC
Description of problem:
When the installer creates RHCOS template, it creates a temporary VM in the process. It's name is something along the lines of tmpvm-for-<cluster_name>-9rp6h-rhcos. After the template has been successfully created, that temporary VM should be destroyed. I don't know if it is cleared after a successful installation, but it definitely isn't cleared after a failed installation attempt.

Version-Release number of the following components:
./openshift-install version
./openshift-install unreleased-master-2407-g888f206bf1446bde6ec027bf170e4e476fc792af-dirty
built from commit 888f206bf1446bde6ec027bf170e4e476fc792af
release image registry.svc.ci.openshift.org/ocp/release@sha256:81441feb7de72ed44d44f9d4430c5efa877b150a8c2c263745ed97d9504ffe92

How reproducible:
100 %

Steps to Reproduce:
1. Attempt to install OCP4
2. Log into RHV webadmin and view the VMs in RHV cluster where your OCP cluster is located.

Actual results:
Temporary VM is still present.

Expected results:
Temporary VM should be cleared from the RHV clsuter.

Comment 4 Gal Zaidman 2020-06-17 16:20:28 UTC
due to capacity constraints we will be revisiting this bug in the upcoming sprint

Comment 5 Douglas Schilling Landgraf 2020-07-09 12:12:38 UTC
due to capacity constraints we will be revisiting this bug in the upcoming sprint

Comment 6 Sandro Bonazzola 2020-09-14 09:38:23 UTC
same as comment #5

Gal, I see https://github.com/openshift/installer/pull/3868 was merged, anything left to be done here?

Comment 7 Gal Zaidman 2020-09-14 10:42:08 UTC
Yes we need to cherry pick it along with other PRs, I really try to not cherry pick everything with the capacity that we have since it came back to hunt us in the past and we have bigger things to do.
This PR was mostly for CI and it is a minor inconvenience to regular users.
I don't think we should cherry pick it unless there is a real need.

Comment 8 Gal Zaidman 2020-09-22 13:09:44 UTC
This fix is more for CI and it is a minor inconvenience to regular users.
Since backporting it will require capacity that we don't have, closing this as a won't fix.