Bug 1825623
| Summary: | RHCOS crio tests failing (version parsing?) | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Colin Walters <walters> |
| Component: | Node | Assignee: | Peter Hunt <pehunt> |
| Node sub component: | CRI-O | QA Contact: | Sunil Choudhary <schoudha> |
| Status: | CLOSED UPSTREAM | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | CC: | aos-bugs, jhonce, jokerman, miabbott, mpatel, nagrawal, pehunt, umohnani, wking |
| Version: | 4.5 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-17 17:00: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: | |||
|
Description
Colin Walters
2020-04-19 12:25:04 UTC
Ah it's SOURCE_GIT_COMMIT, see: https://github.com/openshift/machine-config-operator/pull/744 But that said...even with that I'm not sure that will have the correct tag. Oh wow, this "latest-version" script...yeah. So...what I would do is just hardcode the major.minor in the crio source and if you want an auto-bumping release version then you could try to count git commits since the last tag etc., but it wouldn't be in the critical path. Doozer also sets a BUILD_VERSION environment variable [1]. [1]: https://github.com/openshift/installer/pull/1829 OK so https://github.com/cri-o/cri-o/pull/3613 merged, but there's no new build - are we waiting on something for that? *** Bug 1825924 has been marked as a duplicate of this bug. *** The new cri-o 1.18 build is available at https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=28067923 The new `cri-o` build landed in RHCOS 45.81.202004210032-0 crio version now showing correct version string. $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.5.0-0.nightly-2020-06-09-223121 True False 25m Cluster version is 4.5.0-0.nightly-2020-06-09-223121 $ oc get nodes NAME STATUS ROLES AGE VERSION ip-10-0-134-0.us-east-2.compute.internal Ready worker 33m v1.18.3+a637491 ip-10-0-147-128.us-east-2.compute.internal Ready master 43m v1.18.3+a637491 ip-10-0-178-86.us-east-2.compute.internal Ready worker 33m v1.18.3+a637491 ip-10-0-191-178.us-east-2.compute.internal Ready master 44m v1.18.3+a637491 ip-10-0-208-118.us-east-2.compute.internal Ready master 44m v1.18.3+a637491 ip-10-0-208-172.us-east-2.compute.internal Ready worker 33m v1.18.3+a637491 $ oc debug node/ip-10-0-134-0.us-east-2.compute.internal Starting pod/ip-10-0-134-0us-east-2computeinternal-debug ... ... sh-4.2# chroot /host sh-4.4# crio --version crio version Version: 1.18.1-5.dev.rhaos4.5.git5e39296.el8 GoVersion: go1.13.4 Compiler: gc Platform: linux/amd64 Linkmode: dynamic Closed as stale, please re-open if this issue is still active. |