Bug 1804596
| Summary: | [OSP] take into consideration all instance states when deleting a machine | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Milind Yadav <miyadav> |
| Component: | Cloud Compute | Assignee: | Mike Fedosin <mfedosin> |
| Cloud Compute sub component: | OpenStack Provider | QA Contact: | David Sanz <dsanzmor> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | urgent | ||
| Priority: | urgent | CC: | adduarte, agarcial, egarcia, jhou, m.andre, mfedosin, miyadav, pprinett, zhsun |
| Version: | 4.4 | Keywords: | Reopened |
| Target Milestone: | --- | ||
| Target Release: | 4.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1798596 | Environment: | |
| Last Closed: | 2020-08-04 18:01:04 UTC | Type: | --- |
| 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: | 1798596 | ||
| Bug Blocks: | 1798597, 1799034 | ||
|
Comment 1
Alberto
2020-02-19 09:04:55 UTC
I see this is for OSP, I prepend it in the title [OSP]. Thanks. It seems to me that this bug doesn't apply to Cluster API Provider OpenStack. We already take into consideration all of machines states when deleting an instance: https://github.com/openshift/cluster-api-provider-openstack/blob/009ac60/pkg/cloud/openstack/machine/actuator.go#L308-L316 I might have been a bit to quick to close the BZ. It appears that we're listing the machine interfaces first when deleting a machine and that _might_ cause it to return an error if the machine is not in running status. We'll have to double check. Did you actually observe leaking instances on OpenStack, or was it created as a clone of the AWS bug assuming it worked the same? @Martin Checked on openstack lgtm verified 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 (OpenShift Container Platform 4.5 image release 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/RHBA-2020:2409 |