Bug 1889779
Summary: | error when destroying a vSphere installation that failed early | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Joel Diaz <jdiaz> | ||||
Component: | Installer | Assignee: | Patrick Dillon <padillon> | ||||
Installer sub component: | openshift-installer | QA Contact: | jima | ||||
Status: | CLOSED ERRATA | Docs Contact: | |||||
Severity: | medium | ||||||
Priority: | high | CC: | adahiya, jima, mstaeble | ||||
Version: | 4.6 | ||||||
Target Milestone: | --- | ||||||
Target Release: | 4.6.z | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Cause: installer did not tag vsphere ovf template until after upload.
Consequence: template upload can take a long time and if installation terminates before upload, the template was not tagged and therefore could not be removed. Because the template could not be removed, the folder was not empty and also could not be deleted.
Fix: move tagging to beginning of ovf template upload.
Result: a partial template caused by quitting installation early can be removed. Destroying template and folder succeeds even when installation quits in the middle of template upload.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-02-24 15:26:59 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: | |||||||
Bug Blocks: | 1920552, 1925282 | ||||||
Attachments: |
|
Description
Joel Diaz
2020-10-20 14:40:12 UTC
In order to test this run a vsphere install with log-level debug. Once you start seeing "vsphereprivate_import_ova.import: Still creating... " Interrupt then run a delete. Verified on ipi on vsphere with 4.7.0-0.nightly-2020-11-22-204912 and passed. # ./openshift-install destroy cluster --dir ipi/ --log-level debug DEBUG OpenShift Installer 4.7.0-0.nightly-2020-11-22-204912 DEBUG Built from commit 68282c185253d4831514b20623b1717535c5e6f2 DEBUG Find attached objects on tag DEBUG Find VirtualMachine objects DEBUG Delete VirtualMachines INFO Destroyed VirtualMachine=jimaipi-qwz86-rhcos DEBUG Find Folder objects DEBUG Delete Folder INFO Destroyed Folder=jimaipi-qwz86 DEBUG Delete tag DEBUG Delete tag category DEBUG Purging asset "Metadata" from disk DEBUG Purging asset "Terraform Variables" from disk DEBUG Purging asset "Kubeconfig Admin Client" from disk DEBUG Purging asset "Kubeadmin Password" from disk DEBUG Purging asset "Certificate (journal-gatewayd)" from disk INFO Time elapsed: 9m33s 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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-2020:5633 |