spiegel_podman/pkg/machine
Paul Holzinger 8472bf223e
machine/hyperV: move ssh mounts to after the ready check
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>
2026-06-05 18:34:44 +02:00
..
apple machine: share virtiofs systemd unit generation 2026-06-02 14:47:08 +02:00
applehv machine: share virtiofs systemd unit generation 2026-06-02 14:47:08 +02:00
certificates Import local certificates to machines on macOS and Linux 2026-05-01 00:42:52 +02:00
compression fix: duplicated words in decompress.go log message and annotations.go comment 2026-05-14 05:08:45 +00:00
connection RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
define use constant for timesync port and update mac_env.sh to print krunkit version 2026-05-20 12:56:50 +05:30
e2e machine: remove SSL_CERT_DIR/SSL_CERT_FILE copy 2026-05-11 15:58:03 +02:00
env RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
hyperv machine/hyperV: move ssh mounts to after the ready check 2026-06-05 18:34:44 +02:00
ignition machine: move marker file to /etc/podman-machine 2026-05-11 15:58:03 +02:00
libkrun machine: share virtiofs systemd unit generation 2026-06-02 14:47:08 +02:00
lock RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
ocipull RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
os RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
ports RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
provider RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
proxyenv RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
qemu machine: share virtiofs systemd unit generation 2026-06-02 14:47:08 +02:00
shim Merge pull request #28731 from lstocchi/hyperv_enhancements 2026-05-26 10:30:18 -05:00
sockets RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
stdpull RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
vmconfigs Hyperv machine init/rm: skip win registry operations when possible 2026-04-29 23:00:29 +02:00
windows cleanup: run go fix on pkg/machine for windows 2026-04-29 13:56:01 +05:30
wsl wsl: remove custom registries.conf 2026-05-11 15:58:03 +02:00
cleanup.go Clean up gvproxy if machine start fails 2024-02-27 13:33:43 -06:00
config.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
config_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
gvproxy.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
gvproxy_unix.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
gvproxy_windows.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
keys.go fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
machine_common.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
machine_unix.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
machine_windows.go cleanup: run go fix on pkg/machine for windows 2026-04-29 13:56:01 +05:30
machine_windows_test.go chore(machine): remove unused EvalSymlinksOrClean function and tests 2026-01-28 02:42:45 +08:00
qemuprovider.go podman5 machine reconfig 1 2024-02-07 08:17:43 -06:00
ssh.go Extract function LocalhostSSHCopy to make it visible from other packages too 2026-04-01 14:12:30 +02:00
ssh_unix.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
ssh_windows.go machine: implement http proxy logic for all providers 2024-02-22 11:23:45 +01:00
update.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
volume_systemd.go machine: share virtiofs systemd unit generation 2026-06-02 14:47:08 +02:00
volumes.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00