Bug 1863076
Summary: | Cannot upgrade a cluster when adding Performance Profile Operator | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Francesco Romani <fromani> |
Component: | kube-apiserver | Assignee: | Stefan Schimanski <sttts> |
Status: | CLOSED ERRATA | QA Contact: | Ke Wang <kewang> |
Severity: | high | Docs Contact: | |
Priority: | urgent | ||
Version: | 4.4 | CC: | aos-bugs, dshchedr, fsimonce, grajaiya, kewang, mfojtik, msivak, sttts, wking, xxia, yjoseph, yprokule, yroblamo |
Target Milestone: | --- | ||
Target Release: | 4.4.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Known Issue | |
Doc Text: |
Cause:
A bug in the feature gate upgradeability logic.
Consequence:
The CVO was marking the cluster as not upgradeable to the next minor version when LatencySensitive FeatureGate was in use.
Workaround (if any):
Upgrade to a version that has this bug fixed.
Result:
Upgrade is performed and the upgraded version includes this bug fix so CVO no longer treats LatencySensitive FeatureGate as blocking for minor-version upgrades.
|
Story Points: | --- |
Clone Of: | 1862156 | Environment: | |
Last Closed: | 2020-08-18 11:45:30 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: | 1862156 | ||
Bug Blocks: |
Comment 4
Ke Wang
2020-08-11 05:16:14 UTC
(In reply to Ke Wang from comment #4) > $ oc adm upgrade > Cluster version is 4.4.16 > ... > $ oc adm upgrade --to-image=registry.svc.ci.openshift.org/ocp/release:4.4.0-0.nightly-2020-08-08-143753 --allow-explicit-upgrade --force > warning: Using by-tag pull specs is dangerous, and while we still allow it in combination with --force for backward compatibility, it would be much safer to pass a by-digest pull spec instead > warning: The requested upgrade image is not one of the available updates. You have used --allow-explicit-upgrade to the update to proceed anyway > warning: --force overrides cluster verification of your supplied release image and waives any update precondition failures. > Updating to release image registry.svc.ci.openshift.org/ocp/release:4.4.0-0.nightly-2020-08-08-143753 As 'oc' says, using --force is a big hammer. And because this 4.4 -> 4.4 update does not change the minor version, Upgradeable=False should not block the update (see bug 1797624 and bug 1823306). So folks should not need to force this particular update. I'm updating the proposed doc text to mention the scope as blocked minor-version updates and removing the "force" mention. Folks can resolve an impacted 4.4.16 cluster with an unforced update to 4.4.(z-with-this-fix) followed by subsequent unforced updates to later 4.4 and 4.5 releases as they see fit. > ... Upgradeable=False should not block the update (see bug 1797624 and bug 1823306). Ah, but updating to an unsigned nightly will block the update. And indeed, that nightly is unsigned: $ curl -Is https://mirror.openshift.com/pub/openshift-v4/signatures/openshift/release@sha256=7e950235c9ad92bf1ee11897a401bb682bcd698ff7593139857a9debb5c05b88/signature-1 | head -n1 HTTP/1.1 404 Not Found $ curl -Is https://mirror.openshift.com/pub/openshift-v4/signatures/openshift-release-dev/ocp-release-nightly@sha256=7e950235c9ad92bf1ee11897a401bb682bcd698ff7593139857a9debb5c05b88/signature-1 | head -n1 HTTP/1.1 404 Not Found But once we have a signed release, you should not need to use --force to apply the patch updates, so I think my doc-text edit is still correct. 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.4.17 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-2020:3334 Removing UpgradeBlocker from this older bug, to remove it from the suspect queue described in [1]. If you feel like this bug still needs to be a suspect, please add keyword again. [1]: https://github.com/openshift/enhancements/pull/475 |