Bug 1951713
Summary: | [OCP-OSP] After changing image in machine object it enters in Failed - Can't find created instance | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Javier Coscia <jcoscia> |
Component: | Cloud Compute | Assignee: | Emilien Macchi <emacchi> |
Cloud Compute sub component: | OpenStack Provider | QA Contact: | rlobillo |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | urgent | CC: | adduarte, egarcia, emacchi, m.andre, masardis, mdeloren, mfedosin, pprinett |
Version: | 4.5 | Keywords: | Triaged |
Target Milestone: | --- | ||
Target Release: | 4.8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-07-27 23:02:18 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: |
Description
Javier Coscia
2021-04-20 19:21:41 UTC
I believe the issue happens because of this: https://github.com/openshift/cluster-api-provider-openstack/blob/release-4.6/pkg/cloud/openstack/machine/actuator.go#L376-L381 In short, CAPO can't handle changes in master machine spec. it always leads to this error ^ MAO reacts on this by setting the failed phase https://github.com/openshift/machine-api-operator/blob/master/pkg/controller/machine/controller.go#L342-L344 Verified on OSP16.1 (RHOS-16.1-RHEL-8-20210506.n.1) with below versions: openshift_puddle: 4.8.0-0.nightly-2021-05-27-234332 openshift_puddle: 4.7.0-0.nightly-2021-06-04-012633 openshift_puddle: 4.6.0-0.nightly-2021-05-27-163935 openshift_puddle: 4.5.0-0.nightly-2021-05-12-204808 'Replacing an unhealthy etcd member' procedure is included on our CI and working fine on above mentioned releases. Furthermore, the known_isse documentation is already merged and present on: https://github.com/openshift/installer/blob/master/docs/user/openstack/known-issues.md#problems-when-changing-the-machine-spec-for-master-node 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.8.2 bug fix and security 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-2021:2438 |