Bug 2122168 - Error while running virtctl - GLIBC_2.34 is not found in the package of virtctl - which is required by virtctl
Summary: Error while running virtctl - GLIBC_2.34 is not found in the package of virtc...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 4.12.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 4.13.0
Assignee: sgott
QA Contact: Akriti Gupta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-29 12:11 UTC by Motty Sisam
Modified: 2023-05-18 02:56 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-18 02:55:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CNV-20894 0 None None None 2022-11-21 09:01:45 UTC
Red Hat Product Errata RHSA-2023:3205 0 None None None 2023-05-18 02:56:30 UTC

Description Motty Sisam 2022-08-29 12:11:47 UTC
Description of problem:
Error when running virtctl rhel-9 version 

23:01:59  2022-08-28T20:01:59.779544 utilities.infra ERROR Failed to run ['virtctl', '--kubeconfig', '/cnv-tests/cnv-qe.rhcloud.com/vrf-412el9/auth/kubeconfig', 'version']. rc: 1, out: , error: virtctl: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by virtctl)
23:01:59  virtctl: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by virtctl)

Version-Release number of selected component (if applicable):
HCO: v4.12.0.rhel9-485
IIB: registry-proxy.engineering.redhat.com/rh-osbs/iib:303721


How reproducible:
try to run virtctl by the version specified. 
deploy hco v4.12.0.rhel9-485
download virtctl from the cluster
url=https://hyperconverged-cluster-cli-download-openshift-cnv.apps.CLUSTER_NAME.CLUSTER_DOMAIN/amd64/linux/virtctl.tar.gz

Steps to Reproduce:
1. deploy hco v4.12.0.rhel9-485 
2. download virtctl from the cluster from the url mentioned above
3. run virtctl 

Actual results:
ERROR Failed to run ['virtctl', '--kubeconfig', '/cnv-tests/cnv-qe.rhcloud.com/vrf-412el9/auth/kubeconfig', 'version']. rc: 1, out: , error: virtctl: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by virtctl)


Expected results:
No error

Additional info:
link to one of the failures here: https://main-jenkins-csb-cnvqe.apps.ocp-c1.prod.psi.redhat.com/job/verify-cnv-4.12.z-rhel-9-build/393/consoleFull

Comment 3 Akriti Gupta 2023-03-07 13:39:26 UTC
Verified on :   v4.13.0.rhel9-1689

Downloaded virtctl as vietctl1
virtctl works fine

[akriti@fedora bin]$ virtctl1 
Available Commands:
  addvolume         add a volume to a running VM
  completion        Generate the autocompletion script for the specified shell
  console           Connect to a console of a virtual machine instance.
  create            Create a manifest for the specified Kind.
  expose            Expose a virtual machine instance, virtual machine, or virtual machine instance replica set as a new service.
  fslist            Return full list of filesystems available on the guest machine.
  guestfs           Start a shell into the libguestfs pod
  guestosinfo       Return guest agent info about operating system.
  help              Help about any command
  image-upload      Upload a VM image to a DataVolume/PersistentVolumeClaim.
  memory-dump       Dump the memory of a running VM to a pvc
  migrate           Migrate a virtual machine.
  migrate-cancel    Cancel migration of a virtual machine.
  pause             Pause a virtual machine
  permitted-devices List the permitted devices for vmis.
  port-forward      Forward local ports to a virtualmachine or virtualmachineinstance.
  removevolume      remove a volume from a running VM
  restart           Restart a virtual machine.
  scp               SCP files from/to a virtual machine instance.
  soft-reboot       Soft reboot a virtual machine instance
  ssh               Open a SSH connection to a virtual machine instance.
  start             Start a virtual machine.
  stop              Stop a virtual machine.
  unpause           Unpause a virtual machine
  usbredir          Redirect a usb device to a virtual machine instance.
  userlist          Return full list of logged in users on the guest machine.
  version           Print the client and server version information.
  vmexport          Export a VM volume.
  vnc               Open a vnc connection to a virtual machine instance.

Use "virtctl <command> --help" for more information about a given command.
Use "virtctl options" for a list of global command-line options (applies to all commands).

Comment 6 errata-xmlrpc 2023-05-18 02:55:41 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 (Moderate: OpenShift Virtualization 4.13.0 Images security, bug fix, and enhancement 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:3205


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