Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows 10 1909 and 1903 build issue #42

Open
vijaykumay opened this issue Apr 10, 2020 · 21 comments
Open

windows 10 1909 and 1903 build issue #42

vijaykumay opened this issue Apr 10, 2020 · 21 comments

Comments

@vijaykumay
Copy link

Hi Team,
I'm trying to build windows 10 1909 build using cloudbase tool, the image creation happens successfully, after uploading the image to openstack and when i try to create a VM from the image i get the below error.

"windows setup experienced an unexpected error to install windows restart the installation"

can someone help me

Regards
vijay
image (4)

@ader1990
Copy link
Member

Hello,

This error can be debugged by checking the logs from C:\Windows\Panther.

When you get this error, press Shift+F10 to open a CMD window and navigate to the folder using:
"cd C:\Windows\Panther". PowerShell can be also started from the cmd, while notepad.exe can be used to open the log files.

Can you share the following log files, if possible (print screens with any relevant errors in those logs would be fine too)?
C:\Windows\Panther\setupact.log
C:\Windows\Panther\setuperr.log
C:\Windows\Panther\UnattendGC\setupact.log
C:\Windows\Panther\UnattendGC\setuperr.log

It would be great if you can give more details on what Cloudbase-Init version you used, if you syspreped the system using the installer's Unattend.xml (the workflow you followed when you created the image).

Thank you,
Adrian

@vijaykumay
Copy link
Author

Hi Adrian,

we are using Cloudbase-Init 1.1 and using unattend.xml file for doing sysprep

following is the screen shot of C:\Windows\Panther\setupact.log, but is there any way i can share you the logs from the vnc console.

logs

@ader1990
Copy link
Member

Hi Adrian,

we are using Cloudbase-Init 1.1 and using unattend.xml file for doing sysprep

following is the screen shot of C:\Windows\Panther\setupact.log, but is there any way i can share you the logs from the vnc console.

logs

can you please share the last lines, preferably of the error log files first? the first lines are usually with no error logs :)

@vijaykumay
Copy link
Author

Hi Adrain,

log_3
log_2
log_1

@vijaykumay
Copy link
Author

Hi A
setupacct
drain,
last few line of setupacct.log file

@ader1990
Copy link
Member

In this case, the relevant error message might be "0xc0000005 Access violation".
Can you detail on what is the hypervisor type and the vm specs (ram to be more specific)?

Windows machines require a compatible hypervisor (like qemu with kvm acceleration) and a decent amount of RAM (minimum 2GB for 64-bit Window 10): https://support.microsoft.com/en-us/help/4028142/windows-10-system-requirements .

@vijaykumay
Copy link
Author

Hi Adrain.

we are using openstack ocata with KVM as an hypervisor .
windows VM has 4GB RAM 4 cores and 40GB HDD

@ader1990
Copy link
Member

At this moment, I can suggest you to try to bump the RAM to 6 or 8GB to see if the error is reproduceable.

Also make sure that all the latest Windows updates have been applied, that there are no more pending updates and a reboot has been performed each time an update has been applied (even if the updates did not request a reboot). Then it is safe to install Cloudbase-Init and sysprep.

This is a great tool to create reliably and reproducibly Windows images:
https://github.com/cloudbase/windows-openstack-imaging-tools/

@vijaykumay
Copy link
Author

Hi Adrain,

i use the same tool to create the images , i have been using this from past 2 years and its an excellent tool for creating windows images, this is the first time i'm getting this error for windows 10 1909 build
https://github.com/cloudbase/windows-openstack-imaging-tools/

i will try to create a new VM with 8GB RAM.

@vijaykumay
Copy link
Author

Hi Adrain,

we tried creating new windows VM with 8GB RAM still the same issue

@ader1990
Copy link
Member

Can you share the Windows ISO full name that you used?

I would like to see if the problem can be reproduced on another environment, to exclude the possibility of Windows (updates/kvm compatibility/virtual hardware) to be actually broken.

Thanks.

@vijaykumay
Copy link
Author

Hi Adrain,

we are using the below ISO

Microsoft_Windows_Enterprise_10_1903_64BIT.ISO

OS_version

@vijaykumay
Copy link
Author

Hi Adrain,

i have seen the issue with both the windows 10 build 1909 and 1903.

Regards,
vijay

@ader1990
Copy link
Member

Thank you for the information. One more thing: what virtio version did you use? To exclude that moving part too.

@vijaykumay
Copy link
Author

Hi Adrain,

I have tried both 0.1.1 and 0.1.173

@vijaykumay vijaykumay changed the title window 10 1909 build issue windows 10 1909 and 1903 build issue Apr 10, 2020
@vijaykumay
Copy link
Author

Hi Adrain,
did you get a chance to replicate the issue.

Regards,
vijay

@ader1990
Copy link
Member

Hello,

I tested the Windows 10 1909 with Virtio drivers 0.1.171 on an Ubuntu 18.04 baremetal machine with KVM, using host-passthrough, and it booted successfully (although it took a while to first boot). Qemu-kvm version was 2.11.

In this case, the problem seems to not reside in cloudbase-init or the imaging tools.

This is most likely a hypervisor issue or an incompatibility between your hypervisor version and Windows 10. You can try to debug this further looking at the KVM logs or trying to use another cpu model.

@vijaykumay
Copy link
Author

Hi Adrain,

thanks a lot for testing.

we are running openstack ocata and ubunut 16.04 version.

regards,
vijay

@vijaykumay
Copy link
Author

Hi Adrian,

can you please help me with image you build, i can try it in our openstack cloud for testing

Regards,
vijay

@ader1990
Copy link
Member

I cannot upload publicly / send you the image directly, as there are licensing / legal issues on that matter. I can suggest you get in touch with the Cloudbase team for further professional help.

@vijaykumay
Copy link
Author

Hi Adrian,

I understand, let me check with cloudbase team.

Regards,
vijay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants