Bug 2152122 - VM can't start if disk io is default
Summary: VM can't start if disk io is default
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 4.12.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.13.0
Assignee: Prita Narayan
QA Contact: zhe peng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-09 10:30 UTC by zhe peng
Modified: 2023-05-18 02:56 UTC (History)
2 users (show)

Fixed In Version: hco-bundle-registry-container-v4.13.0.rhel9-1689
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-18 02:56:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt kubevirt pull 9339 0 None open [release-0.59] Remove "default" from supported disk IO modes 2023-03-01 09:21:10 UTC
Red Hat Issue Tracker CNV-23282 0 None None None 2022-12-09 11:01:19 UTC
Red Hat Product Errata RHSA-2023:3205 0 None None None 2023-05-18 02:56:53 UTC

Description zhe peng 2022-12-09 10:30:44 UTC
Description of problem:
vm stuck in starting status if set disk io=default

Version-Release number of selected component (if applicable):
4.12

How reproducible:
always

Steps to Reproduce:
1. set vm disk io to default in vm yaml file
...
 disks:
          - disk:
              bus: virtio
            io: default
            name: rootdisk
...
If set io to meaningless value, will get msg :
# * spec.template.spec.domain.devices.disks.domain.devices.disks[0].io: Disk IO mode for spec.template.spec.domain.devices.disks.domain.devices.disks[0].io is not supported. Supported modes are: native, threads, default.

2. start vm
3.

Actual results:
$ oc get vm
NAME        AGE     STATUS     READY
vm-fedora   48m     Starting   False

It will stuck, vm can't running

get error msg:
Warning  SyncFailed        2s (x11 over 10s)  virt-handler                 server error. command SyncVMI failed: "LibvirtError(Code=27, Domain=5, Message='XML error: Invalid value for attribute 'io' in element 'driver': 'default'.')"

Expected results:
If cnv support io default, vm should be started. if not support, should give right error msg.

Additional info:

Comment 2 zhe peng 2023-03-13 05:13:34 UTC
verify with build: CNV-v4.13.0.rhel9-1689

step:

create a vm with io: default

will get error msg:
Error "Disk IO mode for spec.template.spec.domain.devices.disks.domain.devices.disks[0].io is not supported. Supported modes are: native, threads." for field "spec.template.spec.domain.devices.disks.domain.devices.disks[0].io".

move to verified.

Comment 4 errata-xmlrpc 2023-05-18 02:56:36 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.13.0 Images security, bug fix, and enhancement 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-2023:3205


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