Azure / AzureStackHCI-EvalGuide

Welcome to the Azure Stack HCI Evaluation Guide!
Creative Commons Attribution 4.0 International
141 stars 84 forks source link

Configure Adapter in Virtual Switch step fails, error details not usable #23

Closed laurenbo closed 4 years ago

laurenbo commented 4 years ago

Hi, in WAC Cluster Creation, at step 2 "networking", at step 2.4 "virtual switch", I select the adapter named "VMs" on each node, click "Apply and Test", and I get "Couldn't configure adapter", on both adapters, with following error message: Exception calling "Invoke" with "0" argument(s): "The term 'Set-VMSwitch' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again." 2020-07-29 Error in Virtual Switch config - 1 2020-07-29 Error in Virtual Switch config - 2 I rebooted both nodes, but same error occurs, and I can't get past to enter "Clustering" step... Any idea ? The build of WAC is Version 2007, 1.2.2007.18002 that I got from the download links at the beginning of the guide.

mattmcspirit commented 4 years ago

Hey - what language did you deploy with your nodes?

See here: https://github.com/Azure/AzureStackHCI-EvalGuide/issues/8

Your nodes are missing the Hyper-V PS, but I think there's some variation in the PS commands for en-us compared with other languages - i need to investigate more, but enabling "Hyper-V PowerShell" on your nodes would get you through this.

To explain further, this step:

https://github.com/Azure/AzureStackHCI-EvalGuide/blob/main/nested/steps/3b_AzSHCINodesPS.md#enable-the-hyper-v-role-on-your-azure-stack-hci-node

Works for en-us, but doesn't seem to enable Hyper-V PS, on non-en-us builds.

Need to investigate a bit more.

laurenbo commented 4 years ago

Hi Matt - my AZSHCI nodes are all en-US, with en-US culture, except for the keyboard, which is French. What I found is that neither "RSAT-Hyper-V-Tools-Feature" nor "Microsoft-Hyper-V-Management-PowerShell" can be enabled due to the following error: One or several parent features are disabled so current feature can not be enabled.

mattmcspirit commented 4 years ago

OK, that is strange - I'll investigate with your settings and see if i can replicate. If you're no longer stuck, feel free to close this issue out!

laurenbo commented 4 years ago

solved by enablng Microsoft-Hyper-V-Management-PowerShell on nodes after step 1.5 "Install Updates".