Bug 2152122
| Summary: | VM can't start if disk io is default | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | zhe peng <zpeng> |
| Component: | Virtualization | Assignee: | Prita Narayan <prnaraya> |
| Status: | CLOSED ERRATA | QA Contact: | zhe peng <zpeng> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.12.0 | CC: | acardace, kbidarka |
| Target Milestone: | --- | ||
| Target Release: | 4.13.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | hco-bundle-registry-container-v4.13.0.rhel9-1689 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-05-18 02:56:36 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: | |||
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. 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 |
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: