-
Notifications
You must be signed in to change notification settings - Fork 19
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
Installer fails to start VdService on Windows 2016 after virt-v2v conversion #3
Comments
Hi Tomáš, My first guess is the fact that VdService has several dependencies, they are probably not satisfied |
Ah, no the problem is not getting the log. I just had problem attaching the file. But it turned out to be configuration issue in my browser, so here it is. I also did few small tests and the problem does not seem to be related to virt-v2v at all as I expected. It's more related to the libvirt XML and devices. |
I was looking into the log, and I see that in the InstallDriverPackages phase all the drivers fail to install because of:
that explains why you are getting an error from VdService, because it is dependent on VirtioSerial, and because serial is not installed the vdservice can't start. So we need to understand:
|
OK that's substantially wrong. You should install all the selected drivers to the local driver store without requiring the devices to be present. More importantly, you should make sure the boot critical drivers are installed properly so it is for example safe to switch from IDE to virtio-scsi on next boot. Similarly if the services fail to start because some virtio devices are not present it should not be fatal either.
Pretty minimal VM -- IDE disk and cdrom, rtl8139 NIC, it has spice+qxl configured but is missing virtio-serial controller as you correctly guessed. Here is the domain XML:
Happened to me also for 2012R2. But if what you said above is true it is not related to v2v at all. It can happen to you for example with virt-install too or whenever you manage the VM configuration manually.
I will need to reinstall the Windows to check that. I'll let you know. |
Yes, it says "installation completed successfully".
If I select only these two the installation fails. |
I'm installing them to the local driver store.
That is an interesting case, I'm not sure how it can be done with DIFx, meaning reporting and stoping the installation if a critical driver hasn't found a device (like the serial on this case). In the next version, we will need to move away from DIFx probably to CA to install and I think we can implement it in a CA.
You are correct it shouldn't fail the installation, but we should find a way to report it.
OK, so try to configure it correctly and let me know if the error returns
|
I meant try to use the spice package, but nevermind we know why it fails, I will need to get service installtion failer not to fail the installtion, that is easy... the hard part is how to report exactly what passed and what didn't |
Same issue Windows 10 1909 - VDService failed to start |
We will soon have a new build which hopefully fixes the issue. |
@Gal-Zaidman any news on when the issue will be fixed in a new build? |
Hi I was under the impression that the installation error was fixed on 1.173-7.
|
same error here. |
I also have the same issue with a fresh install of Windows 10 1809. Not using v2v. |
Still can't reproduce, @freefrank @bokehsec can you please provide the installation logs? |
I just figured it out, Windows refused to install the driver cuz no
signature with the driver, thus vdservice not able to start.
Disable driver signature check solved it.
Gal Zaidman <[email protected]> 于2020年3月2日周一 上午3:18写道:
… Still can reproduce, @freefrank <https://github.com/freefrank> @bokehsec
<https://github.com/bokehsec> can you please provide the installation
logs?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3?email_source=notifications&email_token=AAFRIY3OWYHG4F44KB3G5ZTRFOBX5A5CNFSM4JQBSP5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENOXRHI#issuecomment-593328285>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFRIY7WBUXDGFMQC32XGHLRFOBX5ANCNFSM4JQBSP5A>
.
|
same here using Windows 2019 LTSC original iso. Disabling signature check didn't help. Not using v2v. |
Same issue... Edit: I should note this is a fresh Windows install, no conversion. Windows Server 2016 Core Disabled driver signature check, did not solve. |
I had to install every driver manually with pnputil, reboot the system and then I ran the installer again and it completed. |
Also with W10 Ent 1909 there is problem with installation - without Spice Agent, virtio guest tools install just fine |
Thanks for posting your logs, Looking at your logs I see: This means that the DIFX can't match the drivers to the devices, so it is a problem with the setup, installing the drivers themselves should not work either.
|
I see that some drivers fail to install on your system look for "No matching devices found in INF" in the logs, I wounder way is that. Anyway I will create a new version that will not fail in case of service installation failure for the time being. |
I confirm with W10 Ent 1909 (proxmox host) if you remove the Spice Agent it installs successfully |
Same error for me on Windows Server 1903 on Proxmox 6.1 with virtio-win-0.1.173-8
|
Got the installer working after installing the "Channel Spice" hardware in libvirt. |
I've stumbled onto the same issue, however I have only been able to reproduce it with boot in Windows 10 set to UEFI. Just thought that I would put that out there, since no one else seems to have mentioned it! :) |
@GnaXi That's probably because with UEFI secure boot is enabled and then all the drivers should be MS signed. |
I was able to run it without any issues when removing Spice as a component and then just downloaded the spiace-guest-tools directly from https://www.spice-space.org/download.html instead. |
Install all components without spice agent:
|
Ona VM previously converted with virt-v2v the installer fails in the 'Starting services' phase with error:
I can share the installer log if you tell me where to post it. I am not sure what role virt-v2v plays in this (if any), but I haven't seen this error yet on clean Windows 2016 installation.
The text was updated successfully, but these errors were encountered: