Bug 1950776
| Summary: | virtctl version returns wrong client version | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Alex Kalenyuk <akalenyu> |
| Component: | Virtualization | Assignee: | Igor Bezukh <ibezukh> |
| Status: | CLOSED ERRATA | QA Contact: | Kevin Alon Goldblatt <kgoldbla> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.8.0 | CC: | cnv-qe-bugs, kgoldbla |
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | kubevirt-virtctl-4.8.0-205 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 14:29:42 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: | |||
Hi, We already fixed that, attached link to the gerrit patch. BR Igor Moving to VERIFIED
virtctl version
Client Version: version.Info{GitVersion:"v0.40.0-rc.0-138-ge66a61a", GitCommit:"e66a61a81627066fceaae686fe25ee5a75dc5923", GitTreeState:"clean", BuildDate:"2021-04-15T17:40:56Z", GoVersion:"go1.15.7", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{GitVersion:"v0.40.0-rc.0-361-gfad712e", GitCommit:"fad712e84076801588412c47f7d4b9d657adb3c5", GitTreeState:"clean", BuildDate:"2021-04-30T18:50:27Z", GoVersion:"go1.15.7", Compiler:"gc", Platform:"linux/amd64"}
[cnv-qe-jenkins@stg03-kevin-b2sfj-executor ~]$ oc version
Client Version: 4.8.0-202105072225.p0.git.4c2094c-4c2094c
Server Version: 4.8.0-fc.2
Kubernetes Version: v1.21.0-rc.0+4bbda77
[cnv-qe-jenkins@stg03-kevin-b2sfj-executor ~]$ sudo yum list installed | grep virtctl
kubevirt-virtctl.x86_64 4.8.0-200.el8 @@commandline
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 Virtualization 4.8.0 Images), 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-2021:2920 |
Description of problem: `virtctl version` returns wrong client version Version-Release number of selected component (if applicable): [cnv-qe-jenkins@verify-48-6k7pv-executor ~]$ sudo yum list installed | grep virtctl kubevirt-virtctl.x86_64 4.8.0-176.el8 @@commandline How reproducible: 100% Steps to Reproduce: 1. run `virtctl version` Actual results: Wrong version: [cnv-qe-jenkins@verify-48-6k7pv-executor ~]$ virtctl version Client Version: version.Info{GitVersion:"v0.0.0-master+$Format:%h$", GitCommit:"$Format:%H$", GitTreeState:"", BuildDate:"1970-01-01T00:00:00Z", GoVersion:"go1.14.12", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{GitVersion:"v0.40.0-rc.0-138-ge66a61a", GitCommit:"e66a61a81627066fceaae686fe25ee5a75dc5923", GitTreeState:"clean", BuildDate:"2021-04-15T18:54:23Z", GoVersion:"go1.15.7", Compiler:"gc", Platform:"linux/amd64"} Expected results: Something along the lines of: [cnv-qe-jenkins@verify-26-bv842-executor ~]$ virtctl version Client Version: version.Info{GitVersion:"v0.36.2-22-g95642d8", GitCommit:"95642d83cf41954bca0da31ab6b2727433102dcd", GitTreeState:"clean", BuildDate:"2021-04-14T07:34:32Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{GitVersion:"v0.36.2-22-g95642d8", GitCommit:"95642d83cf41954bca0da31ab6b2727433102dcd", GitTreeState:"clean", BuildDate:"2021-04-14T08:47:11Z", GoVersion:"go1.14.12", Compiler:"gc", Platform:"linux/amd64"} Additional info: HCO 4.8.0-272 iib 67912