aks-hybrid icon indicating copy to clipboard operation
aks-hybrid copied to clipboard

[BUG] Validate KVA Fails in Windows Admin Center

Open pcmann opened this issue 1 year ago • 3 comments

When running AKS Setup during teh review and validation step, teh KVA validation fails with:

The term 'C:\Program Files\AksHci\kvactl.exe' 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

When trying to obtain the validation report log, this fails with:

ErrorError Download download SDK validation report Downloading validation report failed. Error: AjaxError: ajax error 404

Looking in C:\Program Files\AksHci\ the file is missing

image

Steps to reproduce the behavior: Run through the AKS setup secreens to teh Review and Validate tab

image

  • OS: Server 2019 Datacenter
  • Browser Msft Edge 112
  • AKS-HCI Version 2.156.0 - Windows Admin Center Extension

pcmann avatar May 30 '23 19:05 pcmann

Have you gotten anywhere with this? I am having same issue even if I use powershell scripts or Windows admin center.

dpassbowen avatar Jun 26 '23 12:06 dpassbowen

@dpassbowen - Not at all, until i hear back, am testing out other options for K8s as I am not finding AKS hybrid reliable at this point - I hope someone from @microsoft picks up this discussion with some feedback

pcmann avatar Jun 26 '23 14:06 pcmann

I had a similar issue, and although I haven't gotten 100% through this yet, I did get past the installation not happening of the agent. The error was buried in a message from watching the validation in F12:

System.Exception: Install-Moc failed. Exception [The cloud agent service failed to start for 'ca-30fbfea1-92fe-4307-9e8f-4e21d26b23ef'. Please check the event viewer for additional information. Exception caught is: 'System.Exception: This typically indicates an issue happened while registering the resource name as a computer object with the domain controller and/or the DNS server. Please check if the Cluster Computer Object has permissions to create Computer Object in domain controller. Please check the domain controller and DNS logs for related error messages. Error: [Start-FailoverClusterResource failed Exception [Failed to start cluster resource [MOC Cloud Agent Service]. ExtendedStatus: CurrentState: Offline, LastOperationStatusCode: 0, StatusInformation: 0.. Exception caught is: 'An error occurred while attempting to bring the resource 'MOC Cloud Agent Service' online.']

The fix was:

https://learn.microsoft.com/en-us/azure/aks/hybrid/known-issues-installation#error---install-moc-failed--exception--this-typically-indicates-an-issue-happened-while-registering-the-resource-name-as-a-computer-object-with-the-domain-controller-and-or-the-dns-server--please-check-if-the-cluster-computer-object-has-permissions-to-create-computer-object-in-domain-controller--please-check-the-domain-controller-and-dns-logs-for-related-error-messages--

mikebaz avatar Aug 21 '23 19:08 mikebaz