Bug 2015950
| Summary: | update from 4.7.22 to 4.8.11 is failing due to large amount of secrets to watch | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Radek Cegan <rcegan> | |
| Component: | OLM | Assignee: | Kevin Rizza <krizza> | |
| OLM sub component: | OLM | QA Contact: | Jian Zhang <jiazha> | |
| Status: | CLOSED ERRATA | Docs Contact: | ||
| Severity: | medium | |||
| Priority: | high | CC: | krizza, ltitov, oarribas, sdodson, tflannag | |
| Version: | 4.7 | |||
| Target Milestone: | --- | |||
| Target Release: | 4.10.0 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | No Doc Update | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2042430 (view as bug list) | Environment: | ||
| Last Closed: | 2022-03-10 16:21:06 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2042430 | |||
|
Comment 6
tflannag
2021-12-06 15:26:07 UTC
1, Install 4.9 cluster.
[cloud-user@preserve-olm-env jian]$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.9.17 True False 37m Cluster version is 4.9.17
2, Create 1000 fake secrets in openshift-operator-lifecycle-manager project.
[cloud-user@preserve-olm-env jian]$ for i in {1..1000};do oc create secret generic test${i};done
secret/test1 created
...
3, Upgrade it to 4.10
[cloud-user@preserve-olm-env jian]$ oc adm upgrade --to-image=quay.io/openshift-release-dev/ocp-release:4.10.0-fc.1-x86_64 --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 quay.io/openshift-release-dev/ocp-release:4.10.0-fc.1-x86_64
[cloud-user@preserve-olm-env jian]$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.9.17 True True 19s Working towards 4.10.0-fc.1: 6 of 765 done (0% complete)
...
[cloud-user@preserve-olm-env jian]$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.9.17 True True 57m Working towards 4.10.0-fc.1: 643 of 765 done (84% complete)
[cloud-user@preserve-olm-env jian]$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.10.0-fc.1 True False 3m48s Cluster version is 4.10.0-fc.1
Upgrading succeed, LGTM, verify it.
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.10.3 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-2022:0056 |