question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install fails on Windows Server 2019

See original GitHub issue

When installing microk8s on Windows Server 2019 (runs on vmware hypervisor and has nested virtualization enabled), I get the error:

launch failed: The Hyper-V Hypervisor is disabled. Please enable by using the following
command in an Administrator Powershell and reboot:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor
launch failed: The Hyper-V Hypervisor is disabled. Please enable by using the following
command in an Administrator Powershell and reboot:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor

Multipass shell fails with the same error.

Btw, the suggested command seems wrong, at least for Windows Server:

PS C:\Windows\system32> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor
Enable-WindowsOptionalFeature : Feature name Microsoft-Hyper-V-Hypervisor is unknown.

But Hyper-v is installed: image

Hyper-V service is running, but has no VMs: image

PS C:\Windows\system32> get-service | findstr vmcompute
Running  vmcompute          Hyper-V Host Compute Service

Any ideas where to dig?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:4
  • Comments:17 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
joedborgcommented, Nov 20, 2020

Hi @biiiipy, as per https://github.com/ubuntu/microk8s/issues/1300, we’ve written up the docs for getting Windows workers enrolled on a MicroK8s cluster https://discuss.kubernetes.io/t/add-a-windows-worker-node-to-microk8s/13782

1reaction
joedborgcommented, Nov 22, 2020

@biiiipy it’ll be on the microk8s docs site; we source that from discourse. It just takes a little time to update the sidebar there, so I was sharing this with you until then.

Getting Multipass (thus MicroK8s) to run on Server 2019 may take some time, but I’ll leave this issue open.

Thanks, Joe

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem with in-place upgrade from Windows Server 2019 to ...
An in-place upgrade can be problematic and is never recommended. Better option is a clean install, patch fully, migrate roles over. You can ......
Read more >
Unable to install Windows Server 2019 March 2022 ...
Hi, I'm trying to install the March 2022 cumulative update (KB5011503) on a Server 2019 machine but the installation is failing with error...
Read more >
Feature Installation Fails Server 2019 - Spiceworks Community
But that is a temporary solution that may break again after the next update. I would recommend you keep using Powershell or switch...
Read more >
Failing Installation on Management Console 11.4.0.3-11058 ...
Operating System: Windows Server 2019 Version 1809 Build 17763.1935. Management Console Installer: iidrmc-11.4.0.3-11058-setup.exe. Java version: 1.8.0_291.
Read more >
ODBC 11-18 won't install on Windows Server 2019
I have a Windows 2019 box as below. enter image description here. I have tried installing ODBC 11 upwards but get the same...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found