Bug 2053359
Summary: | Cluster-version operator fails to notice TechPreviewNoUpgrade featureSet change after initialization-lookup error | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | W. Trevor King <wking> |
Component: | Cluster Version Operator | Assignee: | W. Trevor King <wking> |
Status: | CLOSED ERRATA | QA Contact: | liujia <jiajliu> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.10 | CC: | aos-bugs, jiajliu |
Target Milestone: | --- | ||
Target Release: | 4.10.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 2050946 | Environment: | |
Last Closed: | 2022-03-21 12:40:05 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: | 2050946 | ||
Bug Blocks: |
Description
W. Trevor King
2022-02-11 04:30:23 UTC
Version:4.10.0-0.nightly-2022-03-11-131656 TechPreviewNoUpgrade featureset was created 13:40:00Z. # curl -s https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.10-e2e-aws-techpreview/1502274584513089536/artifacts/e2e-aws-techpreview/gather-must-gather/artifacts/must-gather.tar | tar xOz quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-de53ed4750def9ed611ca460c780cc78eece525162747213cfdbb4c26687460c/cluster-scoped-resources/config.openshift.io/featuregates.yaml | yaml2json | jq -r '.items[] | {creationTimestamp: .metadata.creationTimestamp, featureSet: .spec.featureSet}' { "creationTimestamp": "2022-03-11T13:40:00Z", "featureSet": "TechPreviewNoUpgrade" } During initial stage, no tp operator installed due to kube-api is not reday even the TechPreviewNoUpgrade featureset is enabled. # curl -s https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.10-e2e-aws-techpreview/1502274584513089536/artifacts/e2e-aws-techpreview/gather-extra/artifacts/pods/openshift-cluster-version_cluster-version-operator-68577f66bd-vkl26_cluster-version-operator_previous.log|grep 'ClusterVersionOperator\|TechPreviewNoUpgrade\|featuregate' I0311 13:42:34.298586 1 start.go:23] ClusterVersionOperator 4.10.0-202203110747.p0.g50246cb.assembly.stream-50246cb W0311 13:42:34.299262 1 start.go:142] Error getting featuregate value: Get "https://127.0.0.1:6443/apis/config.openshift.io/v1/featuregates/cluster": dial tcp 127.0.0.1:6443: connect: connection refused ... I0311 13:47:30.989340 1 techpreviewchangestopper.go:101] Starting stop-on-techpreview-change controller with TechPreviewNoUpgrade false. I0311 13:47:30.989386 1 techpreviewchangestopper.go:78] TechPreviewNoUpgrade was false, but the current feature set is "TechPreviewNoUpgrade"; requesting shutdown. I0311 13:47:30.989471 1 cvo.go:338] Starting ClusterVersionOperator with minimum reconcile period 2m15.951374588s I0311 13:47:30.995186 1 cvo.go:440] Shutting down ClusterVersionOperator I0311 13:47:31.000454 1 start.go:31] Graceful shutdown complete for ClusterVersionOperator 4.10.0-202203110747.p0.g50246cb.assembly.stream-50246cb. After initial finish, tp operator is installed successfully. # curl -s https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.10-e2e-aws-techpreview/1502274584513089536/artifacts/e2e-aws-techpreview/gather-extra/artifacts/pods/openshift-cluster-version_cluster-version-operator-68577f66bd-vkl26_cluster-version-operator.log|grep 'ClusterVersionOperator\|TechPreviewNoUpgrade\|featuregate'|head -n7 I0311 13:47:32.320511 1 start.go:23] ClusterVersionOperator 4.10.0-202203110747.p0.g50246cb.assembly.stream-50246cb I0311 13:47:32.927407 1 techpreviewchangestopper.go:101] Starting stop-on-techpreview-change controller with TechPreviewNoUpgrade true. I0311 13:47:32.932766 1 cvo.go:338] Starting ClusterVersionOperator with minimum reconcile period 3m57.431406309s I0311 13:47:41.589515 1 sync_worker.go:772] Running sync for customresourcedefinition "featuregates.config.openshift.io" (41 of 835) I0311 13:47:41.637945 1 sync_worker.go:784] Done syncing for customresourcedefinition "featuregates.config.openshift.io" (41 of 835) I0311 13:47:42.536406 1 sync_worker.go:772] Running sync for featuregate "cluster" (24 of 835) I0311 13:47:43.508424 1 sync_worker.go:784] Done syncing for featuregate "cluster" (24 of 835) 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.10.5 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:0928 |