Kubevirt is not installing and aliasing virtctl binary in /home/syadmin/bin

Bug #2067104 reported by Gleb Aronsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
In Progress
Undecided
Gleb Aronsky

Bug Description

Currently symlink is at path

[sysadmin@controller-0 kubevirt(keystone_admin)]$ ls -ltrh
total 63M
-rwxrwxrwx 1 root root 63M Nov 6 17:44 virtctl-v1.1.0-linux-amd64
lrwxrwxrwx 1 root root 44 Apr 23 18:02 virtctl -> /var/opt/kubevirt/virtctl-v1.1.0-linux-amd64
[sysadmin@controller-0 kubevirt(keystone_admin)]$

Severity

Major

Steps to Reproduce

Upload and apply kubevirt app
[sysadmin@controller-0 ~(keystone_admin)]$ system application-list
+--------------------------+----------+-------------------------------------------+------------------+----------+-----------+
| application | version | manifest name | manifest file | status | progress |
+--------------------------+----------+-------------------------------------------+------------------+----------+-----------+
| cert-manager | 24.03-75 | cert-manager-fluxcd-manifests | fluxcd-manifests | applied | completed |
| dell-storage | 24.03-15 | dell-storage-fluxcd-manifests | fluxcd-manifests | uploaded | completed |
| kubevirt-app | 24.03-18 | kubevirt-app-fluxcd-manifests | fluxcd-manifests | applied | completed |
| nginx-ingress-controller | 24.03-56 | nginx-ingress-controller-fluxcd-manifests | fluxcd-manifests | applied | completed |
| oidc-auth-apps | 24.03-51 | oidc-auth-apps-fluxcd-manifests | fluxcd-manifests | uploaded | completed |
| platform-integ-apps | 24. | platform-integ-apps-fluxcd-manifests | fluxcd-manifests | applied | completed |
| | 03-136 | | | | |
| | | | | | |
+--------------------------+----------+-------------------------------------------+------------------+----------+-----------+
[sysadmin@controller-0 ~(keystone_admin)]$

2. Run virtctl command

[sysadmin@controller-0 ~(keystone_admin)]$ virtctl
-bash: /home/sysadmin/bin/virtctl: No such file or directory
[sysadmin@controller-0 ~(keystone_admin)]$

Expected Behavior

sysadmin@controller-0:~$ virtctl
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.
  credentials Manipulate credentials on a virtual machine.
  expand Return the VirtualMachine object with expanded instancetype and preference.
  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).

Actual Behavior

[sysadmin@controller-0 ~(keystone_admin)]$ virtctl
-bash: /home/sysadmin/bin/virtctl: No such file or directory
[sysadmin@controller-0 ~(keystone_admin)]$

Reproducibility

Reproducible

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to app-kubevirt (master)
Changed in starlingx:
status: New → In Progress
Changed in starlingx:
assignee: nobody → Gleb Aronsky (gleb-aronsky)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.