Bug 2016296 - Openshift virtualization : Create Windows Server 2019 VM using template : Fails
Summary: Openshift virtualization : Create Windows Server 2019 VM using template : Fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.7
Hardware: Unspecified
OS: Windows
medium
medium
Target Milestone: ---
: 4.10.0
Assignee: Matan Schatzman
QA Contact: Leon Kladnitsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-21 08:36 UTC by Prageetika
Modified: 2022-03-10 16:21 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:21:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot of default value selected for the rootdisk-install (335.73 KB, image/png)
2021-10-21 08:36 UTC, Prageetika
no flags Details
create windows vm from iso (1006.14 KB, image/gif)
2021-10-28 10:10 UTC, Guohua Ouyang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10610 0 None Merged Bug 2029273: Fix all-projects-wizard link 2021-12-31 06:43:32 UTC
Github openshift console pull 10632 0 None Merged Bug 2016296: Windows machine can be created with import URL 2021-12-31 06:43:29 UTC
Red Hat Bugzilla 1813198 1 None None None 2021-10-28 09:09:14 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:21:22 UTC

Description Prageetika 2021-10-21 08:36:48 UTC
Created attachment 1835485 [details]
screenshot of default value selected for the rootdisk-install

Description of problem:
Create Windows Server 2019 VM using template fails. 

Version-Release number of selected component (if applicable):
Openshift virtualization operator v2.6.6

How reproducible:
Always 

Steps to Reproduce:
1. Select create virtual machine from template 
2. Select Microsoft Windows Server 2019 VM 
3. Select the boot source type -- selected import via URL 
4. Review and create the VM 

Actual results:
Creation Failed

Expected results:
VM creation should be successful

Additional info:
Workaround :: 

Edit the virtual machine configuration -- > Advanced --> Storage --> For disk "rootdisk-install" change the interface from "virtio" to "sata". VM creation successful.

Comment 1 Sebastian Soto 2021-10-25 17:10:06 UTC
This is assigned to the wrong project, this product is for running Windows containers on OpenShift, not the creation of Windows virtual machines.
Moving this to CNV, but I am not sure if that is the right place either.

Comment 2 sgott 2021-10-26 16:30:30 UTC
Dominik, assigning this to the SSP component as this issue is about templates. Please let me know if you believe this is in error.

Comment 3 Dominik Holler 2021-10-28 09:09:14 UTC
Prageetika, can you confirm that there is an additional step 3a like this to reproduce:

1. Select create virtual machine from template 
2. Select Microsoft Windows Server 2019 VM 
3. Select the boot source type -- selected import via URL 
3a. Enable "Mount this as a CD-ROM boot source"
4. Review and create the VM

Comment 4 Prageetika 2021-10-28 09:44:56 UTC
Hi Dominik, 

Yes, that right. Step 3a is required.

Comment 5 Guohua Ouyang 2021-10-28 10:08:59 UTC
(In reply to Dominik Holler from comment #3)
> Prageetika, can you confirm that there is an additional step 3a like this to
> reproduce:
> 
> 1. Select create virtual machine from template 
> 2. Select Microsoft Windows Server 2019 VM 
> 3. Select the boot source type -- selected import via URL 
> 3a. Enable "Mount this as a CD-ROM boot source"
> 4. Review and create the VM

Could not reproduce it on CNV v2.6.8 + OCP 4.7-35 by following these steps.

Comment 6 Guohua Ouyang 2021-10-28 10:10:26 UTC
Created attachment 1837883 [details]
create windows vm from iso

Comment 7 Guohua Ouyang 2021-10-28 11:16:40 UTC
Could reproduce the issue while creating the VM via customize wizard.
The root cause is the interface of rootdisk-install is "virtio" in customize wizard.
If create the windows VM via the default wizard, it has no such issue.

Comment 9 Leon Kladnitsky 2022-01-04 10:03:37 UTC
Verified on 4.10.0-0.ci-2022-01-03-042630

Comment 13 errata-xmlrpc 2022-03-10 16:21:07 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 Container Platform 4.10.3 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-2022:0056


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