mirror of
https://github.com/containers/podman.git
synced 2026-07-09 14:54:59 -04:00
We are seeing frequent flakes in hyperV machine tests. The machine start fails with an ssh handshake failure: ssh: handshake failed: read tcp 127.0.0.1:56425->127.0.0.1:56377: wsarecv: An existing connection was forcibly closed by the remote host. Normally we do the ssh probe in conductVMReadinessCheck() with a retry mechanism, however because the hyperV mount code already used ssh in PostStartNetworking() we never got there and failed early. PostStartNetworking seems the wrong place to mount anyway so move this to MountVolumesToVM() instead which is placed after the ready check already so it should have a working ssh by then. Signed-off-by: Paul Holzinger <pholzing@redhat.com>