Closed erjosito closed 3 years ago
Are you deploying this on Azure VMs?
@abhilashaagarwala Yes
Any idea what can I troubleshoot or try? Thanks!
You mentioned that you are attempting to install AksHci, but the script is indicating that you still have Windows Admin Center configuration present (which is a sign that Windows Admin Center was used to deploy AksHci on this cluster/node previously and no uninstall has been performed yet):
- Loading Windows Admin Center configuration from 'C:\Users\labadmin\Windows Admin Center\aks-hci-settings.json'...
Did your previous Windows Admin Center deployment complete successfully? I am wondering if you had a failed deployment through WAC and some aspects of that deployment are still present and have not been cleaned up yet.
We are improving the powershell "Uninstall-AksHci" cmdlet to be more resilient to this type of issue/state moving forward. For now, you may need to perform some manual cleanup on the cluster/nodes if you are planning to switch to using the Powershell for Day0 deployment of AksHci.
Hey @nwoodmsft thanks for your answer! Yes, first I tried WAC, but after 2h it didnt work. After retrying with WAC a couple of times I switched over to pwsh. Would you have a link on how to "perform some manual cleanup on the cluster/nodes" to switch to pwsh from WAC?
I renamed C:\users\labadmin\Windows Admin Center\aks-hci-settings.json and issued set-akshciconfig in each node, and install-akshci in one of the nodes. There was an error when removing the cloudagent directories, not sure whether this is going to affect the process...
- Removing cloudagent directory on WIN-PSIERIALC37...
Access is denied
+ CategoryInfo : NotSpecified: (:) [Remove-Item], Win32Exception
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand
+ PSComputerName : WIN-PSIERIALC37
I think we can close this one, since deleting/renaming C:\users\labadmin\Windows Admin Center\aks-hci-settings.json
made the trick :-)
Describe the bug No cloudconfig file can be found
To Reproduce Not sure. I am deploying in Azure in a 2 node HCI cluster. I initialized the nodes and used Set-AksHciConfig, no difference
Expected behavior Install-AksHciConfig and Get-AksHciConfig working
Screenshots
Environment (please complete the following information):
Additional context Add any other context about the problem here.
Collect log files
Not sure where to find Get-SMEUILogs.ps1, it is not in the preview package I downloaded