Hide Forgot
Description of problem: Deploying a Windows VM with default settings (20GB disk) may lead to a deployment issue, as my Windows deployment needs a 50GB disk at least. Unfortunately the error is hard to find. Version-Release number of selected component (if applicable): CNV 2.6 current How reproducible: Always Steps to Reproduce: 1. USe a qcow2 Windows Image for deployment that is using a 50GiB disk 2. In the UI use the wizard and keep the defaults (20GiB Disk Size) 3. Create the VM Actual results: The VM status stays in "Starting" but the Event log shows a Warning with "Back-off restarting failed container". Looking closer at the event it shows that the root-disk import fails. This import is retried forever. Once you click on the link, you get to the pod details, still not revealing the reason of the failure. You need to navigate to the "Logs" tab to finally see the real reason: "[...] E0203 14:16:34.001176 1 data-processor.go:239] Virtual image size 59055800320 is larger than available size 19788924395 (PVC size 59055800320, reserved overhead 0.055000%). A larger PVC is required. Unable to convert source data to target format [...] " Expected results: The installation is aborted and a sensible error message is shown (e.g.: disk too small xx GiB needed, xx GiB provided) Additional info:
TL;DR of bug description :-) Status of VM in the UI is wrong when trying to create a VM and vm pod can't create storage: Actual status: "Starting" Expectd status: "Error" + helpful message
This is a bit similar with bz https://bugzilla.redhat.com/show_bug.cgi?id=1889213, not sure whether can we able to expose the cdi importer pod's logs on console.
*** Bug 1940296 has been marked as a duplicate of this bug. ***
Looks good on master
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 Container Platform 4.8.2 bug fix and security 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:2438