Bug 2102088
| Summary: | CatalogSourcesUnhealthy error in subscription When upgrading ptp-operator from 4.10 to 4.11 | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Bonnie Block <bblock> |
| Component: | Networking | Assignee: | Jack Ding <jacding> |
| Networking sub component: | ptp | QA Contact: | obochan <obochan> |
| Status: | CLOSED WONTFIX | Docs Contact: | |
| Severity: | low | ||
| Priority: | medium | CC: | aputtur, bblock, jacding, yliu1 |
| Version: | 4.11 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.11.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-10-05 19:41:11 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
Bonnie Block
2022-06-29 10:17:28 UTC
NOTE: The impact of this issue is low. With errors seen in this bug, the upgrade still completes successfully and ptp-operator functions properly after the upgrade. When ART builds the bundle image the skipRange regexp should exactly match expected regexp in art.yaml. Currently the upper bound of skipRange is not auto-updating because we use single quote in the skipRange string. '>=4.3.0-0 <4.10.0' For example, for the operators with skipRange in single quotes, the upper bound of skipRange is not updated in operator catalog pod: [jacding@fedora Downloads]$ sqlite3 index.db 'select skiprange from operatorbundle WHERE name="nfd.4.10.0-202208241855"' >=4.6.0 <4.10.0 [jacding@fedora Downloads]$ sqlite3 index.db 'select skiprange from operatorbundle WHERE name="ptp-operator.4.10.0-202208241855"' >=4.3.0-0 <4.10.0 In contracts, for the operators with skipRange in double quotes, the upper bound of skipRange are updated to the current CSV in operator catalog pod: [jacding@fedora Downloads]$ sqlite3 index.db 'select skiprange from operatorbundle WHERE name="clusterresourceoverride-operator.4.10.0-202208241855"' >=4.3.0 <4.10.0-202208241855 [jacding@fedora Downloads]$ sqlite3 index.db 'select skiprange from operatorbundle WHERE name="local-storage-operator.4.10.0-202209080237"' >=4.3.0 <4.10.0-202209080237 fix to master branch https://github.com/openshift/ptp-operator/pull/245 will propagate to 4.10 once it is reviewed. closing this and replaced by https://issues.redhat.com//browse/OCPBUGS-2042 since OCP bugs are tracked in Jira OCPBUGS project now. |