Bug 2216330 - virctl binaries has been renamed for both arm and amd, this would break all tests that expects the binary to be virtctl
Summary: virctl binaries has been renamed for both arm and amd, this would break all t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Installation
Version: 4.14.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.14.0
Assignee: Simone Tiraboschi
QA Contact: Debarati Basu-Nag
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-20 20:06 UTC by Debarati Basu-Nag
Modified: 2023-11-08 14:06 UTC (History)
4 users (show)

Fixed In Version: hco-bundle-registry-container-v4.14.0.rhel9-1102
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-08 14:05:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt hyperconverged-cluster-operator pull 2405 0 None open Fix link text for virtctl ARM 64 binaries 2023-06-28 16:33:43 UTC
Red Hat Issue Tracker CNV-30133 0 None None None 2023-06-20 20:08:47 UTC
Red Hat Product Errata RHSA-2023:6817 0 None None None 2023-11-08 14:06:06 UTC

Description Debarati Basu-Nag 2023-06-20 20:06:18 UTC
Description of problem:
virctl binaries has been renamed for both arm and amd, this would break all tests that expects the binary to be virtctl

Version-Release number of selected component (if applicable):
4.14.0

How reproducible:
100%

Steps to Reproduce:
1. Download and extract the binaries for virtctl (both arm and amd).
2.
3.

Actual results:
[cloud-user@ocp-ipi-executor-xl ~]$ oc get consoleclidownloads virtctl-clidownloads-kubevirt-hyperconverged -o yaml
apiVersion: console.openshift.io/v1
kind: ConsoleCLIDownload
metadata:
  creationTimestamp: "2023-06-20T16:10:57Z"
  generation: 1
  labels:
    app: kubevirt-hyperconverged
    app.kubernetes.io/component: compute
    app.kubernetes.io/managed-by: hco-operator
    app.kubernetes.io/part-of: hyperconverged-cluster
    app.kubernetes.io/version: 4.14.0
  name: virtctl-clidownloads-kubevirt-hyperconverged
  resourceVersion: "67270"
  uid: 372883e5-ba67-4bb5-bdb1-d2224d2893e8
spec:
  description: The virtctl client is a supplemental command-line utility for managing
    virtualization resources from the command line.
  displayName: virtctl - KubeVirt command line interface
  links:
  - href: https://hyperconverged-cluster-cli-download-openshift-cnv.apps.c01-jp414-3.rhos-psi.cnv-qe.rhood.us/amd64/linux/virtctl.tar.gz
    text: Download virtctl for Linux for x86_64
  - href: https://hyperconverged-cluster-cli-download-openshift-cnv.apps.c01-jp414-3.rhos-psi.cnv-qe.rhood.us/arm64/linux/virtctl.tar.gz
    text: Download virtctl for Linux for arm64
  - href: https://hyperconverged-cluster-cli-download-openshift-cnv.apps.c01-jp414-3.rhos-psi.cnv-qe.rhood.us/amd64/mac/virtctl.zip
    text: Download virtctl for Mac for x86_64
  - href: https://hyperconverged-cluster-cli-download-openshift-cnv.apps.c01-jp414-3.rhos-psi.cnv-qe.rhood.us/arm64/mac/virtctl.zip
    text: Download virtctl for Mac for arm64
  - href: https://hyperconverged-cluster-cli-download-openshift-cnv.apps.c01-jp414-3.rhos-psi.cnv-qe.rhood.us/amd64/windows/virtctl.zip
    text: Download virtctl for Windows for x86_64
  - href: https://hyperconverged-cluster-cli-download-openshift-cnv.apps.c01-jp414-3.rhos-psi.cnv-qe.rhood.us/arm64/windows/virtctl.zip
    text: Download virtctl for Windows for arm64
[cloud-user@ocp-ipi-executor-xl ~]$

On extracting:
[cloud-user@ocp-ipi-executor-xl ~]$ ls -lt /tmp/pytest-D6VHnugiVdCBKRXtMsiYeB/bin0
total 59528
-r-x------. 1 cloud-user cloud-user 60954240 Jun 12 00:33 virtctl-linux-amd64
[cloud-user@ocp-ipi-executor-xl ~]$

[cloud-user@ocp-ipi-executor-xl ~]$ ls virtctl*
virtctl-linux-arm64
[cloud-user@ocp-ipi-executor-xl ~]$ 

Expected results:
The binary should be virtctl, user should be responsible to download the correct binary that they need.

Additional info:

Comment 1 Debarati Basu-Nag 2023-07-08 13:28:23 UTC
Verified against CNV-v4.14.0.rhel9-1154

Comment 3 errata-xmlrpc 2023-11-08 14:05:51 UTC
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 (Important: OpenShift Virtualization 4.14.0 Images security and bug fix update), 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-2023:6817


Note You need to log in before you can comment on or make changes to this bug.