Bug 1802367
| Summary: | [ptp]The version of ptp csv should be operator build detailed version | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | huirwang | |
| Component: | Networking | Assignee: | zenghui.shi <zshi> | |
| Networking sub component: | ptp | QA Contact: | huirwang | |
| Status: | CLOSED ERRATA | Docs Contact: | ||
| Severity: | urgent | |||
| Priority: | urgent | CC: | bbennett | |
| Version: | 4.4 | |||
| Target Milestone: | --- | |||
| Target Release: | 4.5.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1810129 1810323 (view as bug list) | Environment: | ||
| Last Closed: | 2020-07-13 17:14:44 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: | 1810129, 1810323, 1810325 | |||
|
Description
huirwang
2020-02-13 02:22:12 UTC
The olm.skipRange is replaced correctly, but `version: 4.4.0` is not.
The replacement rule defined in art.yaml is as following:
- search: "version: {MAJOR}.{MINOR}.0"
replace: "version: {FULL_VER}"
but in csv file, version has extra quotes: version: "4.4.0", so the regex doesn't match with version in csv file which cause replacement didn't happen.
proposed fix is to remove double quotes for version in csv file.
oc get csv -n openshift-ptp NAME DISPLAY VERSION REPLACES PHASE ptp-operator.4.4.0-202003060720 PTP Operator 4.4.0-202003060720 Succeeded 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, 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:2409 |