spiegel_podman/pkg/machine/qemu
Valentin Rothberg d29e336504 podman machine start: fix ready service
When debugging #17403, the logs of sshd indicates that Podman tried to
ssh into the machine too soon as the `core` user has not yet been fully
set up:

 > error: kex_exchange_identification: Connection closed by remote host
 > fatal: Access denied for user core by PAM account configuration [preauth]

@dustymabe found that the we may have to wait for systemd-user sessions
to be up.  Doing that reduces the flake rate on my M2 machine but does
not entirely fix the issue.

Since I have seen multiple symptoms of flakiness, I think it does not
hurt to add the systemd-user sessions to the dependencies of the ready
service and continue investigating.

[NO NEW TESTS NEEDED] - once we have a fix out, I want to exercise
frequent stop/start in the machine tests but they won't pass now.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2023-06-30 10:17:41 -04:00
..
claim_darwin.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
claim_unsupported.go Fixes isRootfull check using qemu machine on Windows 2022-08-24 18:17:18 +03:00
config.go Machine refactor for QEMU/AppleHV 2023-02-22 09:00:24 -06:00
config_test.go pkg/machine: add missing build tags to tests 2022-07-04 18:09:30 +02:00
machine.go podman machine start: fix ready service 2023-06-30 10:17:41 -04:00
machine_test.go refactor(machine): remove hard code 2023-06-21 18:49:12 +08:00
machine_unix.go Support for Windows paths in the source position of the volume mounts 2023-01-30 23:33:33 +02:00
machine_unsupported.go bump golangci-lint to v1.49.0 2022-10-17 09:19:41 +02:00
machine_windows.go Support for Windows paths in the source position of the volume mounts 2023-01-30 23:33:33 +02:00
options_darwin.go Fix #11418 - Default TMPDIR to /tmp on OS X 2021-09-04 08:40:57 +02:00
options_darwin_amd64.go Fix warning of unsupported feature on MacOS 2021-09-06 09:55:24 -07:00
options_darwin_arm64.go Revert "Resolve symlink path for qemu directory if possible" 2023-04-24 10:06:43 -06:00
options_freebsd.go pkg: Build pkg/machine on FreeBSD 2022-08-13 07:53:34 +01:00
options_freebsd_amd64.go pkg: Build pkg/machine on FreeBSD 2022-08-13 07:53:34 +01:00
options_freebsd_arm64.go pkg/machine: Make this build on FreeBSD/arm64 2022-10-31 15:13:49 +00:00
options_linux.go bump go module to version 4 2022-01-18 12:47:07 +01:00
options_linux_amd64.go Add machine support for more Linux distros 2021-03-28 13:35:56 +02:00
options_linux_arm64.go Add machine support for qemu-system-aarch64 2021-03-29 21:53:48 +02:00
options_windows.go Improved Windows compatibility for machine command 2022-08-29 16:53:42 +03:00
options_windows_amd64.go Updated options for QEMU on Windows hosts 2023-01-09 23:58:47 +02:00
options_windows_arm64.go Updated options for QEMU on Windows hosts 2023-01-09 23:58:47 +02:00