Bug 2041093
Summary: | autounattend.xml missing | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Dominik Holler <dholler> | ||||||
Component: | Console Kubevirt Plugin | Assignee: | Matan Schatzman <mschatzm> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Guohua Ouyang <gouyang> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4.9 | CC: | aos-bugs, bodnopoz, gouyang, tnisan | ||||||
Target Milestone: | --- | ||||||||
Target Release: | 4.10.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2022-03-10 16:39:45 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: | |||||||||
Attachments: |
|
Description
Dominik Holler
2022-01-15 22:46:21 UTC
Dominik, is it a realistic scenario to request that both files will exist? (In reply to Tal Nisan from comment #1) > Dominik, is it a realistic scenario to request that both files will exist? Unfortunately yes, because the backend enforces that an autounattend.xml exists, even if an unattend.xml is provided. Can reproduce the issue if omit the "Autounattend.xml answer file" field. Also tested if provides a complete autounattend.xml, the windows VM can be started normally. So the fix can be marking the first field "Autounattend.xml answer file" as required one, don't continue if it's empty or throw up an error message, do you agree? Dominik? Created attachment 1851506 [details]
windows vm is up with complete autounattend xml
(In reply to Guohua Ouyang from comment #4) > Can reproduce the issue if omit the "Autounattend.xml answer file" field. > Also tested if provides a complete autounattend.xml, the windows VM can be > started normally. > So the fix can be marking the first field "Autounattend.xml answer file" as > required one, don't continue if it's empty or throw up an error message, do > you agree? Dominik? Sounds good. But please note that I provided the content """ <?xml version="1.0" encoding="utf-8"?> <!-- responsible for installing windows, ignored on sysprepped images --> """ to autounattend.xml and the autounattend.xml was not added to the related configmap. (In reply to Dominik Holler from comment #6) > (In reply to Guohua Ouyang from comment #4) > > Can reproduce the issue if omit the "Autounattend.xml answer file" field. > > Also tested if provides a complete autounattend.xml, the windows VM can be > > started normally. > > So the fix can be marking the first field "Autounattend.xml answer file" as > > required one, don't continue if it's empty or throw up an error message, do > > you agree? Dominik? > > Sounds good. But please note that I provided the content > """ > <?xml version="1.0" encoding="utf-8"?> > <!-- responsible for installing windows, ignored on sysprepped images --> > """ > to autounattend.xml and the autounattend.xml was not added to the related > configmap. It seems autounattend.xml is used for partition during installation and unattend.xml is used for OOBE. So it looks either of them is a must parameter. The problem here is if only provides unattend.xml for the 2nd field, VM is not able to up, do you think is this a backend issue? why autounattend.xml is must required? > The problem here is if only provides unattend.xml for the 2nd field, VM is
> not able to up, do you think is this a backend issue? why autounattend.xml
> is must required?
Let us check if we want to adjust the backend.
(In reply to Dominik Holler from comment #9) > > The problem here is if only provides unattend.xml for the 2nd field, VM is > > not able to up, do you think is this a backend issue? why autounattend.xml > > is must required? > > Let us check if we want to adjust the backend. We will adjust the backend in bug 2042809. This bug in the UI should be addressed independently because the config map is not created as the user might expect. verified on master, now the config is created and VM is running with the attached xml in the bug description 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 |