Bug 1998844 - virt-handler Pod is missing xorrisofs command
Summary: virt-handler Pod is missing xorrisofs command
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 2.6.7
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 2.6.8
Assignee: Igor Bezukh
QA Contact: Israel Pinto
URL:
Whiteboard:
Depends On: 1985649 1998818
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-29 10:46 UTC by Ruth Netser
Modified: 2021-11-17 18:40 UTC (History)
6 users (show)

Fixed In Version: virt-operator-container-v2.6.7-4 hco-bundle-registry-container-v2.6.7-26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1998818
Environment:
Last Closed: 2021-11-17 18:40:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4725 0 None None None 2021-11-17 18:40:41 UTC

Description Ruth Netser 2021-08-29 10:46:58 UTC
+++ 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.

Comment 1 Igor Bezukh 2021-08-29 12:17:25 UTC
Submitted midstream patchset: https://code.engineering.redhat.com/gerrit/c/kubevirt/+/268486

Comment 7 errata-xmlrpc 2021-11-17 18:40:02 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 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


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