kubernetes-sigs / image-builder

Tools for building Kubernetes disk images
https://image-builder.sigs.k8s.io/
Apache License 2.0
401 stars 394 forks source link

Azure windows-2019 builds failing: can't start sshd #1602

Open mboersma opened 1 month ago

mboersma commented 1 month ago

The pull-azure-vhds and pull-azure-sigs jobs have begun to fail consistently because of the windows-2019 targets:

    azure-arm.sig-windows-2019-containerd: TASK [systemprep : Enable ssh login without a password] ************************
    azure-arm.sig-windows-2019-containerd: changed: [default]
    azure-arm.sig-windows-2019-containerd:
    azure-arm.sig-windows-2019-containerd: TASK [systemprep : Set SSH service startup mode to auto and ensure it is started] ***
    azure-arm.sig-windows-2019-containerd: An exception occurred during task execution. To see the full traceback, use -vvv. The error was: at <ScriptBlock>, <No file>: line 1064
    azure-arm.sig-windows-2019-containerd: fatal: [default]: FAILED! => {"changed": false, "msg": "Unhandled exception while executing module: Service 'OpenSSH SSH Server (sshd)' cannot be started due to the following error: Cannot start service sshd on computer '.'."}
    azure-arm.sig-windows-2019-containerd:
    azure-arm.sig-windows-2019-containerd: PLAY RECAP *********************************************************************
    azure-arm.sig-windows-2019-containerd: default                    : ok=19   changed=15   unreachable=0    failed=1    skipped=9    rescued=0    ignored=0

This is blocking CI and keeping PRs from merging, so we may want to skip this test for now unless a solution is iminent.

Environment


/kind bug