spiegel_podman/pkg/machine
Paul Holzinger 86bb91001a fix podman-remote exec regression with v4.8
Commit f48a706abc added a new API endpoint to remove exec session
correctly. And the bindings try to call that endpoint for exec every
time. Now since client and server must not be the same version this
causes a problem if a new 4.8 client calls an older 4.7 server as it has
no idea about such endpoint and throws an ugly error. This is a common
scenario for podman machine setups.

The client does know the server version so it should make sure to not
call such endpoint if the server is older than 4.8.

I added a exec test to the machine tests as this can be reproduced with
podman machine as at the moment at least the VM image does not contain
podman 4.8. And it should at least make sure podman exec keeps working
for podman machine without regressions.

Fixes #20821

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-12-01 10:00:07 +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 Merge pull request #20540 from victortoso/usb-host-passthrough 2023-11-13 16:03:30 +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 locking error in WSL machine rm -f 2023-11-30 14:01:28 +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