spiegel_podman/pkg/machine
Matt Heon ef7bb994e8 Error on HyperV VM start when gvproxy has failed to start
After the VM has successfully started, check that gvproxy is
still running. If it is not, throw an error and refuse to
complete machine start.

[NO NEW TESTS NEEDED] I don't think we can deliberately trigger a
bad gvproxy start without a bad Podman binary. We could try and
kill gvproxy after it starts but before the machine is booted but
that's very prone to races.

Slightly restructure code so that starting shares happens later
and has its own configuration write - so the VM is still recorded
as running if starting shares fails.

Signed-off-by: Matt Heon <mheon@redhat.com>
2023-12-14 20:54:09 +00:00
..
applehv machine applehv: create better error on start failure 2023-11-21 22:58:47 +00:00
compression Refactor key machine objects 2023-11-07 08:30:44 -06:00
define Refactor key machine objects 2023-11-07 08:30:44 -06:00
e2e fix podman-remote exec regression with v4.8 2023-12-01 10:00:07 +00:00
hyperv Error on HyperV VM start when gvproxy has failed to start 2023-12-14 20:54:09 +00:00
ocipull Refactor key machine objects 2023-11-07 08:30:44 -06:00
os Introduce podman machine os apply 2023-02-15 14:48:12 -05:00
provider Build applehv for Intel Macs 2023-09-29 22:42:22 -04:00
qemu qemu,parseUSB: minor refactor 2023-11-13 22:35:47 +05:30
wsl Fix user-mode net init flag on first time install 2023-12-07 15:14:51 +00:00
cleanup.go Machine: Teardown on init failure 2023-10-12 09:26:06 -04:00
config.go vmtypes names cannot be used as machine names 2023-11-17 12:24:21 -06:00
config_test.go pkg/machine: add missing build tags to tests 2022-07-04 18:09:30 +02:00
connection.go Implement automatic port reassignment on Windows 2023-08-21 07:23:31 -05:00
errors.go Various updates for hyperv and machine e2e tests 2023-09-21 08:52:02 -05:00
fcos.go Automatic code cleanups - JetBrains 2023-11-07 14:05:15 -06:00
fcos_test.go Refactor key machine objects 2023-11-07 08:30:44 -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
gvproxy.go Refactor key machine objects 2023-11-07 08:30:44 -06:00
ignition.go Refactor Ignition configuration for virt providers 2023-11-08 13:39:34 -05: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 Fail if ssh key exists 2023-08-04 09:13:50 -05:00
machine_common.go fix: adjust helper string in machine_common 2023-11-03 21:24:05 +01:00
machine_unix.go Podman machine AppleHV pass number 3 2023-07-13 09:06:34 -05:00
machine_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
machine_windows.go Initial addition of 9p code to Podman 2023-10-31 10:14:02 -04:00
ports.go Implement automatic port reassignment on Windows 2023-08-21 07:23:31 -05:00
ports_unix.go Implement automatic port reassignment on Windows 2023-08-21 07:23:31 -05:00
ports_windows.go Implement automatic port reassignment on Windows 2023-08-21 07:23:31 -05:00
pull.go Refactor key machine objects 2023-11-07 08:30:44 -06:00
sockets.go Fix socket mapping socket mapping nits 2023-11-09 10:41:50 -05: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
volumes.go Podman machine AppleHV pass number 3 2023-07-13 09:06:34 -05:00