Closed razo7 closed 1 year ago
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: razo7
The full list of commands accepted by this bot can be found here.
The pull request process is described here
HOLD. Wait for a response after we have opened a discussion in ECOPROJECT-983 about possible bug in default OCP must-gather https://coreos.slack.com/archives/CFDM5CQMN/p1661184777988329
Maybe https://github.com/openshift/must-gather/pull/327 would resolve https://issues.redhat.com/browse/ECOPROJECT-982 without the need for this PR.
Even though https://github.com/openshift/must-gather/pull/327 hasn't been merged, we follow their intuition of using embedded variable, OS_GIT_VERSION
.
Testing NMO's must gather upstream with this variable doesn't show the image version in a major.minor.micro-patch_version
pattern, maybe it only works in downstream the build.
But if it will be missing, then we use sed
to fetch the image version from the pod ( in a major.minor.micro
pattern).
@razo7: The following test failed, say /retest
to rerun all failed tests or /retest-required
to rerun all mandatory failed tests:
Test name | Commit | Details | Required | Rerun command |
---|---|---|---|---|
ci/prow/4.12-openshift-e2e-ocp-4-12 | 2a6343a0c133caf39368b249e420e01656166ca8 | link | true | /test 4.12-openshift-e2e-ocp-4-12 |
Full PR test history. Your PR dashboard.
/lgtm
I suspect that this is a PSA issue with OLM similar to NHC's PR, ans since the image is not aimed to v4.13 we can override the test.
/override ci/prow/4.13-openshift-e2e
@razo7: Overrode contexts on behalf of razo7: ci/prow/4.13-openshift-e2e
At last we have decided to not use the embedded variable, OS_GIT_VERSION, and we will use sed to fetch the image version and imageId.
According to the must-gather enhancement, there is a version file that indicates the product (first line) and the version (second line).
Currently the printed version is only in y.z format, due to regular expression, when y and z are one digit each. Resulting in "1.0" version for
registry.redhat.io/workload-availability/node-maintenance-must-gather-rhel8:v4.11.0
, rather than "4.11.0".Fix bug https://issues.redhat.com/browse/ECOPROJECT-983