Closed dmc-tech closed 3 years ago
Can you please try this using the December release bits following the documentation.
@dmc-tech Can you close this bug if its not repro-ing in the latest release (ie Feb update)?
Closing this bug for now after talking to @dmc-tech. Can reopen if needed.
Describe the bug Deploying an AKS cluster via Install-AksHci PowerShell Cmdlet throws an error:
Error: open C:\ClusterStorage\Volume01\wssd\kubeconfig-mgmt: The system cannot find the path specified. C:\Program Files\AksHci\kvactl.exe create --configfile C:\wssd\yaml\appliance.yaml --outfile C:\ClusterStorage\Volume01\wssd\kubeconfig-mgmt failed to execute [] At C:\Program Files\WindowsPowerShell\Modules\akshci\0.2.8\Common.psm1:1248 char:9
To Reproduce Steps to reproduce the behavior:
10-27-2020 06:18:35 [Status] azurestackhciProvider: RetrieveKubeconfig 10-27-2020 06:18:35 [Status] The appliance kubeconfig is already present. Resuming an existing deployment... Error: open C:\ClusterStorage\Volume01\wssd\kubeconfig-mgmt: The system cannot find the path specified.
10-27-2020 06:19:25 [Status] azurestackhciProvider: RetrieveKubeconfig 10-27-2020 06:19:25 [Status] The appliance kubeconfig is already present. Resuming an existing deployment... 10-27-2020 06:19:25 [Status] Waiting for API server... 10-27-2020 06:19:25 [Status] Waiting for pod 'Cloud Operator' to be ready... 10-27-2020 06:19:25 [Status] Waiting for pod 'Cluster API core' to be ready... 10-27-2020 06:19:25 [Status] Waiting for pod 'Bootstrap kubeadm' to be ready... 10-27-2020 06:19:25 [Status] Waiting for pod 'Control Plane kubeadm' to be ready... 10-27-2020 06:19:25 [Status] Waiting for pod 'Cluster API core Webhook' to be ready... 10-27-2020 06:19:25 [Status] Waiting for pod 'Bootstrap kubeadm Webhook' to be ready... 10-27-2020 06:19:25 [Status] Waiting for pod 'Control Plane kubeadm Webhook' to be ready... 10-27-2020 06:19:25 [Status] azurestackhciProvider: PerformPostOperations 10-27-2020 06:19:25 [Status] azurestackhciProvider: Waiting for pod 'AzureStackHCI Provider' to be ready... 10-27-2020 06:19:25 [Status] azurestackhciProvider: Waiting for pod 'AzureStackHCI Provider Webhook' to be ready...
Expected behavior I would expect that if the WSSD dir is required on the CSV, then it is created, or the config is placed into the cloudconfiglocation directory specified
Screenshots
Environment (please complete the following information):
OS: HCI OS
AKS-HCI Version Oct 2020
Kubernetes Version 1.18.8
Additional context to fix this, I uninstalled-aksHCI, set the config , created the WSSD directory on the CSV and ran the install again
Collect log files