Bug 1985649 - 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: 4.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 4.9.0
Assignee: Igor Bezukh
QA Contact: Israel Pinto
URL:
Whiteboard:
Depends On:
Blocks: 1998818 1998844
TreeView+ depends on / blocked
 
Reported: 2021-07-24 16:59 UTC by Denis Ollier
Modified: 2021-11-02 15:59 UTC (History)
2 users (show)

Fixed In Version: virt-launcher-container-v4.9.0-15
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1998818 (view as bug list)
Environment:
Last Closed: 2021-11-02 15:59:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4104 0 None None None 2021-11-02 15:59:53 UTC

Description Denis Ollier 2021-07-24 16:59:54 UTC
Description of problem
----------------------

Creation of VirtualMachines with cloud-init is failing due to virt-handler Pod missing the xorrisofs command:

> server error. command SyncVMI failed: "generating local cloud-init data failed: exec: \"xorrisofs\": executable file not found in $PATH"

Version
-------

OCP: 4.9.0-0.nightly-2021-07-24-064622
CNV: v4.9.0
KubeVirt: v0.43.1-rc.1-56-gd0de492e5
virt-handler: v4.9.0-13
hco-bundle-registry: v4.9.0-57 (2021-07-24)
IIB image: registry-proxy.engineering.redhat.com/rh-osbs/iib:93162

=> 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:

> {"component":"virt-handler","level":"info","msg":"re-enqueuing VirtualMachineInstance openshift-cnv/fedora-server-niduh","pos":"vm.go:1344","reason":"server error. command SyncVMI failed: \"generating local cloud-init data failed: exec: \\\"xorrisofs\\\": executable file not found in $PATH\"","timestamp":"2021-07-24T16:49:10.695199Z"}

Expected results
----------------

The VirtualMachine should start properly.

Comment 1 Igor Bezukh 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

Comment 5 errata-xmlrpc 2021-11-02 15:59:33 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.9.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-2021:4104


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