spiegel_podman/pkg/machine
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
..
applehv Merge pull request #18820 from jakecorrenti/add-console-to-mac-machine 2023-06-20 19:38:35 +02:00
e2e make lint: re-enable ginkgolinter 2023-06-19 15:09:34 +02:00
hyperv podman machine start: fix ready service 2023-06-30 10:17:41 -04:00
os Introduce podman machine os apply 2023-02-15 14:48:12 -05:00
qemu podman machine start: fix ready service 2023-06-30 10:17:41 -04:00
wsl fix(ssh): start machine failed to start with exit status 255 2023-06-16 19:39:38 +08:00
config.go Set machine docker.sock according to rootful flag 2023-05-14 23:56:15 -05:00
config_test.go pkg/machine: add missing build tags to tests 2022-07-04 18:09:30 +02:00
connection.go machine: fix default connection URL to use 127.0.0.1 2023-05-16 10:55:31 +02:00
errors.go MVP for Podman Machine with AppleHV 2023-05-02 13:09:56 -05:00
fcos.go MVP for Podman Machine with AppleHV 2023-05-02 13:09:56 -05:00
fcos_test.go Machine refactor for QEMU/AppleHV 2023-02-22 09:00:24 -06:00
fedora_unix.go WSL refactoring 2023-01-23 10:48:32 -06:00
fedora_windows.go WSL refactoring 2023-01-23 10:48:32 -06:00
ignition.go refactor(machine): remove hard code 2023-06-21 18:49:12 +08:00
ignition_darwin.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
ignition_freebsd.go pkg: Build pkg/machine on FreeBSD 2022-08-13 07:53:34 +01:00
ignition_linux.go fix #17244: use /etc/timezone where timedatectl is missing on Linux 2023-01-30 00:36:37 +09:00
ignition_schema.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
ignition_windows.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
keys.go refactor: improve get ssh path duplicate code 2023-06-07 09:03:35 +08:00
machine_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
machine_windows.go Expose Podman named pipe in Inspect output 2023-02-03 00:05:28 +02:00
pull.go Increase download progress to 80ch 2023-05-20 07:17:08 -04:00
ssh.go fix(ssh): start machine failed to start with exit status 255 2023-06-16 19:39:38 +08:00
update.go Set machine docker.sock according to rootful flag 2023-05-14 23:56:15 -05:00