+++ This bug was initially created as a clone of Bug #1998818 +++ +++ This bug was initially created as a clone of Bug #1985649 +++ Description of problem ---------------------- Creation of VirtualMachines with cloud-init is failing due to virt-handler Pod missing the xorrisofs command: {"component":"virt-launcher","level":"error","msg":"xorrisofs cmd failed to start while generating iso file /var/run/kubevirt-ephemeral-disks/cloud-init-data/virt-general-test-container-disk-vm/container-disk-vm-1630075493-8624766/noCloud.iso.staging","pos":"cloud-init.go:385","reason":"exec: \"xorrisofs\": executable file not found in $PATH","timestamp":"2021-08-27T14:48:13.801262Z"} {"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"container-disk-vm-1630075493-8624766","namespace":"virt-general-test-container-disk-vm","pos":"server.go:180","reason":"generating local cloud-init data failed: exec: \"xorrisofs\": executable file not found in $PATH","timestamp":"2021-08-27T14:48:13.801396Z","uid":"e7bca960-05a0-4430-af19-ec33cd04334a"} OCP: 4.7.25 CNV: 2.6.7 virt-handler: v2.6.7-3 IIB image: registry-proxy.engineering.redhat.com/rh-osbs/iib:101123 => http://cnv-version-explorer.apps.cnv.engineering.redhat.com/BundleDetails?ver=v4.9.0-57 How reproducible ---------------- 100% Steps to Reproduce ------------------ Create a VirtualMachine with a cloud-init disk. Actual results -------------- The VirtualMachineInstance stays in Scheduled Phase because the virt-handler Pod is failing to generate the cloud-init disk: Normal SuccessfulCreate 79s virtualmachine-controller Created virtual machine pod virt-launcher-container-disk-vm-1630222532-2495804-4sb5x Warning SyncFailed 21s (x14 over 64s) virt-handler server error. command SyncVMI failed: "generating local cloud-init data failed: exec: \"xorrisofs\": executable file not found in $PATH" Expected results ---------------- The VirtualMachine should start properly. --- Additional comment from Igor Bezukh on 2021-08-01 18:25:26 UTC --- Hi, Following is the link to the bugfix: https://code.engineering.redhat.com/gerrit/c/kubevirt/+/259221 I couldn't add it as a link to the bug, there is some invalid Bug ID error that always appears if I propose this link as Red Hat Engineering Gerrit link I've validated that xorriso is already in the container starting from virt-launcher-container-v4.9.0-15 Moving the bug to ON_QA --- Additional comment from Denis Ollier on 2021-08-02 15:48:11 UTC --- Verified with http://cnv-version-explorer.apps.cnv.engineering.redhat.com/BundleDetails?ver=v4.9.0-66.
Submitted midstream patchset: https://code.engineering.redhat.com/gerrit/c/kubevirt/+/268486
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 2.6.8 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-2021:4725