Bug 1985649

Summary: virt-handler Pod is missing xorrisofs command
Product: Container Native Virtualization (CNV) Reporter: Denis Ollier <dollierp>
Component: VirtualizationAssignee: Igor Bezukh <ibezukh>
Status: CLOSED ERRATA QA Contact: Israel Pinto <ipinto>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.9.0CC: cnv-qe-bugs, sgott
Target Milestone: ---Keywords: AutomationBlocker, TestBlocker
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-launcher-container-v4.9.0-15 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1998818 (view as bug list) Environment:
Last Closed: 2021-11-02 15:59:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1998818, 1998844    

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