Bug 2025470
| Summary: | "master" pool should be updated before the CVO reports available at the new version occurred | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Wenjing Zheng <wzheng> |
| Component: | Machine Config Operator | Assignee: | Kirsten Garrison <kgarriso> |
| Machine Config Operator sub component: | Machine Config Operator | QA Contact: | Rio Liu <rioliu> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | high | CC: | aos-bugs, kgarriso, mkrejci, sregidor, wking |
| Version: | 4.7 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.7.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-06-10 05:37:32 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: | 2025396 | ||
| Bug Blocks: | 2025473 | ||
|
Description
Wenjing Zheng
2021-11-22 10:15:06 UTC
Verified by executing this upgrade: 4.7.0-0.nightly-2022-05-18-142142 to 4.7.0-0.nightly-2022-05-19-143304
4.7.0-0.nightly-2022-05-18-142142
oc adm release info registry.ci.openshift.org/ocp/release:4.7.0-0.nightly-2022-05-18-142142 --commits -a .docker/config.json | grep machine-config
machine-config-operator https://github.com/openshift/machine-config-operator 5cc3e3f65a1efc59b9416e687ff58623cde671da
oc adm release info registry.ci.openshift.org/ocp/release:4.7.0-0.nightly-2022-05-18-142142 --pullspecs -a .docker/config.json | grep machine-os-content
machine-os-content quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:10997c29221e3d31b553ebb8401072db17aa06ebeacc7536eed75dd49e816b79
4.7.0-0.nightly-2022-05-19-143304
oc adm release info registry.ci.openshift.org/ocp/release:4.7.0-0.nightly-2022-05-19-143304 --commits -a .docker/config.json | grep machine-config
machine-config-operator https://github.com/openshift/machine-config-operator 5cc3e3f65a1efc59b9416e687ff58623cde671da
oc adm release info registry.ci.openshift.org/ocp/release:4.7.0-0.nightly-2022-05-19-143304 --pullspecs -a .docker/config.json | grep machine-os-content
machine-os-content quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:10997c29221e3d31b553ebb8401072db17aa06ebeacc7536eed75dd49e816b79
Both images have the same osImage and the same machine-config-operator commitID
- The upgrade finished OK
$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.7.0-0.nightly-2022-05-19-143304 True False 2m45s Cluster version is 4.7.0-0.nightly-2022-05-19-143304
- We can see the operator falling back to check the "release-image-version" annotation:
$ oc logs machine-config-operator-6f5b6bc5b9-6xl4q
E0523 12:15:11.074488 1 sync.go:644] Error syncing Required MachineConfigPools: "pool master has not progressed to latest configuration: release image version mismatch for master in rendered-master-1640fc224ce15f4f8f71f3c6675f7afb expected: 4.7.0-0.nightly-2022-05-19-143304 got: 4.7.0-0.nightly-2022-05-18-142142, retrying"
- We can see the upgrade finishing after machine-config operator:
$ oc get co machine-config -o yaml | grep Progressing -B 3
- lastTransitionTime: "2022-05-23T12:18:02Z"
message: Cluster version is 4.7.0-0.nightly-2022-05-19-143304
status: "False"
type: Progressing
$ oc get clusterversion -o yaml | grep Progressing -B 3
- lastTransitionTime: "2022-05-23T12:18:18Z"
message: Cluster version is 4.7.0-0.nightly-2022-05-19-143304
status: "False"
type: Progressing
$ oc get clusterversions.config.openshift.io -o yaml | grep Completed -A2 -B3
- completionTime: "2022-05-23T12:18:18Z" <<<------------------------------ COMPLETED AFTER "2022-05-23T12:18:02Z"
image: registry.ci.openshift.org/ocp/release:4.7.0-0.nightly-2022-05-19-143304
startedTime: "2022-05-23T11:56:00Z"
state: Completed
verified: false
version: 4.7.0-0.nightly-2022-05-19-143304
We move the BZ to verified status
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.7.52 bug fix 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/RHBA-2022:4910 |