Azure / aksArc

# Welcome to the Azure Kubernetes Service enabled by Azure Arc (AKS Arc) repo This is where the AKS Arc team will track features and issues with AKS Arc. We will monitor this repo in order to engage with our community and discuss questions, customer scenarios, or feature requests. Checkout our projects tab to see the roadmap for AKS Arc!
MIT License
113 stars 45 forks source link

[BUG] Validate KVA Fails in Windows Admin Center #347

Open pcmann opened 1 year ago

pcmann commented 1 year ago

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

dpassbowen commented 1 year ago

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

pcmann commented 1 year ago

@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

mikebaz commented 1 year ago

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--