You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build an image for AKS from the image SKU 2019-Datacenter-Core. It fails for image version 17763.6414.241004 or later with the following error:
azure-arm: Start-Service : Service 'OpenSSH SSH Server (sshd)' cannot be started due to the following error: Cannot start service
azure-arm: sshd on computer '.'.
azure-arm: At C:\Windows\Temp\script-6745f9f6-4784-99a2-8a03-0793c3a69f24.ps1:400 char:5
azure-arm: + Start-Service sshd
azure-arm: + ~~~~~~~~~~~~~~~~~~
azure-arm: + CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service],
azure-arm: ServiceCommandException
azure-arm: + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand
The last working image version is 17763.6293.240905.
What happened:
I'm trying to build an image for AKS from the image SKU
2019-Datacenter-Core
. It fails for image version17763.6414.241004
or later with the following error:The last working image version is
17763.6293.240905
.What you expected to happen:
Image build completes successfully.
How to reproduce it:
Build an image with the following source image:
Anything else we need to know?:
I found this thread, where people reported, that there is some permission problem on the ssh logs directory.
https://serverfault.com/questions/1166382/openssh-ssh-server-wont-start-on-windows-server-2019-after-windows-updates
In my case the logs directory does not exist, by the time, when
Start-Service sshd
is executed.Environment:
kubectl version
):uname -a
):Packer: v1.11.2
The text was updated successfully, but these errors were encountered: