25092 Commits

Author SHA1 Message Date
a71ce364cd Merge pull request #26144 from ashley-cui/5.5fix
[v5.5] GHA Release: Fix windows installer uploads
2025-05-15 15:10:04 +00:00
c2a8447e1f GHA Release: Fix windows installer uploads
The new arm and amd installers were left behind, upload them automatically to the GH release

Signed-off-by: Ashley Cui <acui@redhat.com>
2025-05-15 10:05:39 -04:00
48d3bcb2ec Merge pull request #26138 from openshift-cherrypick-robot/cherry-pick-26137-to-v5.5
[v5.5] fix macos compile issue with go 1.24.3
2025-05-14 21:15:18 +00:00
d7d1b4f194 Merge pull request #26132 from podmanbot/bump-5.5.1-dev
Bump Podman to v5.5.1-dev
2025-05-14 18:26:39 +00:00
5a647f154e fix macos compile issue with go 1.24.3
Some changes in go broke purego and that causes a compile error on
macos. This update fixes it.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-05-14 17:59:41 +00:00
5141374193 Bump Podman to v5.5.1-dev
Signed-off-by: mheon <7735048+mheon@users.noreply.github.com>
2025-05-14 14:58:36 +00:00
f6c781ba8f Merge pull request #26126 from mheon/bump_550
Bump to v5.5.0
2025-05-14 13:58:35 +00:00
0dbcb51477 Bump to v5.5.0
Signed-off-by: Matt Heon <mheon@redhat.com>
v5.5.0
2025-05-13 14:59:13 -04:00
d0d4a79d9e Merge pull request #26122 from mheon/release_notes_550
Add release notes for v5.5.0
2025-05-13 15:56:56 +00:00
712291aee8 Update release notes for v5.5.0 final
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-05-13 11:24:28 -04:00
37f621579b Bump bundled krunkit to 0.2.1
Bump the bundled krunkit version from 0.2.0 to 0.2.1.

Signed-off-by: Sergio Lopez <slp@redhat.com>
2025-05-13 11:18:04 -04:00
ab71cebe95 Merge commit from fork
[skip-ci] [v5.5] Tighten version match
2025-05-12 15:54:30 +02:00
5ad243a7da [skip-ci] Tighten version match
Tighten the regex needed to match a valid version.

Signed-off-by: Ashley Cui <acui@redhat.com>
2025-05-12 09:43:17 -04:00
61f170ad00 Merge pull request #26096 from l0rd/win-arm64-for-5.5
[v5.5] Add Windows ARM64 support
2025-05-08 10:53:36 +00:00
e32633094f Merge pull request #26093 from openshift-cherrypick-robot/cherry-pick-25722-to-v5.5
[v5.5] Fix machines failing to start when a volume's path contains spaces
2025-05-08 09:36:38 +00:00
66283624bd Update win-installer github job for arm64
Adds the build of the arm64 windows installer as part of the release
GitHub workflow.

When a Windows installer is uploaded to the GitHub release, it is named
consistently with the macOS one:

   `podman-installer-windows-${GOARCH}.exe`

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-08 10:48:25 +02:00
eecb4122f7 Build windows arm64 artifacts
Includes the necessary changes so that the `Makefile` target
`release-artifacts` builds the `-windows_arm64.zip` too.

In particular the arm64 versions of gvproxy and win-sshproxy
are downloaded as part of the windows arm64 release zip file.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-08 10:48:10 +02:00
04ee90dab3 Fix windows arm64 installer build
This is a followup of https://github.com/containers/podman/pull/26048

It fixes `process-release.ps1` that was always looking for the amd64 release
zip file, even if `$env:PODMAN_ARCH` was set to arm64. With this fix it looks
for the right zip file.

It fixes `winmake.ps1` that, when the `-arch` param was not passed, set `$env:PODMAN_ARCH`
to the empty string instead of the local `$env:GOARCH`.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-08 10:47:55 +02:00
0dd745c86b Update winmake.ps1 to build arm64 artifacts
Winmake could only build amd64 artifacts (podman-remote, gvproxy,
win-sshproxy, podman.msi and podman-setup.exe).

This commit makes the necessary change to winmake so that it:
1) builds arm64 artifacts when executed on arm64
2) cross-compiles to arm64/amd64 with the  `-architecture` parameter

It depends on https://github.com/containers/podman/pull/26023 that
removes the need to build `check.c` code (that is not used anyway).

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-08 10:46:29 +02:00
df4aed78a2 Remove providers checks from the Windows Installer
This PR removes the file `check.c` and the instructions
to build it. The file was still built but the resulting
dll was not used by the installer anymore (see
https://github.com/containers/podman/pull/25237).

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-08 10:45:42 +02:00
366538d98f Update "check.c" to be C23 compliant
Fixes compilation errors with GCC 15.

Signed-off-by: Arthur Sengileyev <arthur.sengileyev@gmail.com>
2025-05-08 10:45:30 +02:00
538bf54648 Merge pull request #26095 from baude/5.5gvisor
[v5.5] Update to gvisor-tap-sock-0.8.6
2025-05-08 08:06:07 +00:00
5f59c8853a Update to gvisor-tap-sock-0.8.6
A new gvisor-tap-vsock has recently been released.  This PR is a
backport to the podman 5.5 branch (i.e. release came out after 5.5
branched but before it released).  This new version, among other things,
fixes a bug for gvproxy wheer if gvproxy is run with debug, it will try
to create a file in `cwd`.  If the user does not have permissions to
create the file in `cwd`, gvproxy will quit (silently).

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-05-07 13:08:23 -05:00
d358e91817 Fix running machines with volumes containing spaces
Machines configured to mount local paths containing
spaces failed to start on Hyper-V and silently failed
to mount the folder on macOS/Linux.

On Windows/hyperv, where local paths are mounted
running a 9p client inside the VM, the local host
path needs to be surrounding with quotation marks
before using in a `podman machine ssh ...` command.

A similar behavior happened on Linux/QEMU where the
path was used in a SSH command to mount the folder
using virtiofs. Quoting the path when buidling the
command arguments fixed the problem.

On macOS/libkit,applehv the path was written as is
in a systemd unit name to instruct how to mount it.
Escaping space chars so that they are are parsed
successfully fixed this:
```diff
-- enable path with spaces.mount
++ enable path\x20with\x20spaces.mount
```

Fixes https://github.com/containers/podman/issues/25500

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-07 17:22:40 +00:00
4cb4d121a6 Fix logging podman machine server9 output
Command `podman machine init` for Hyper-V machines invokes the command
`podman machine server9` and redirects it's output to a file. But the
file descriptor was closed before beeing used and the output file was
always empty.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-07 17:22:40 +00:00
2295f60ea8 Merge pull request #26084 from openshift-cherrypick-robot/cherry-pick-25861-to-v5.5
[v5.5] update podman socket output to include also exposed ports
2025-05-07 09:30:47 +00:00
82a1a22711 update podman socket output to include also exposed ports
Fixes https://github.com/containers/podman/issues/25851

Co-authored-by: Brent Baude <bbaude@redhat.com>
Signed-off-by: Cesar Goncalves <mail@cesargoncalves.com>
2025-05-06 20:24:36 +00:00
bd09511cee Merge pull request #26080 from openshift-cherrypick-robot/cherry-pick-26059-to-v5.5
[v5.5] Automatically bump to -dev after tag
2025-05-06 14:36:53 +00:00
45c9223be9 Automatically bump to -dev after tag
Create GitHub action to automatically bump to a -dev version after a release is tagged.

On a branch:
- The bump will always be a z bump on branches
- If the bump is to an RC, then the bump will be back down to dev (ie, 9.9.0-rc1 to 9.9.0-dev)
- If the bump is not an RC, the bump wil be up to dev (ie, 9.9.0 to 9.9.1-dev)

On main:
- If the X.Y version on main is smaller than the X.Y on the release tag, this action will open a PR to bump the version on main to the release tag's X.Y+1
- Major version (X) dev bumps will still need to be manual

Signed-off-by: Ashley Cui <acui@redhat.com>
2025-05-06 14:03:09 +00:00
6c18255573 Merge pull request #26049 from openshift-cherrypick-robot/cherry-pick-26022-to-v5.5
[v5.5] test: use block devices for I/O limit tests
2025-05-02 10:55:31 +00:00
27beb100dc ci: Load null_blk for I/O limit tests
Load the `null_blk` kernel module to have the `/dev/nullb0` device
available for the tests.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-05-02 10:14:29 +00:00
b85c312bc6 test/e2e: Use nullb0 for IO limit tests
The tests for device I/O limits were using `/dev/zero`,
which is not a block device suitable for these cgroup
controls.

Update the tests to use `/dev/nullb0` if it exists.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-05-02 10:14:29 +00:00
1c82abd17b test/system: Use correct device for I/O limit tests
The tests were incorrectly using `/dev/zero`.  These options are
intended to set I/O limits on specific block devices.

The test already sets up a loopback device, so reuse it.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-05-02 10:14:29 +00:00
6bc2393df0 inspect: Ignore character devices for IO limits
Cgroup block I/O limits cannot be applied to character devices.

Ignore character devices in the inspect output.

Update the API tests to use the null block device `/dev/nullb0` (if
available) instead of `/dev/zero` for testing I/O limits.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-05-02 10:14:29 +00:00
52eb2dcca2 Merge pull request #26043 from mheon/bump_550_dev_rc2
Bump to v5.5.0-dev
2025-05-01 14:58:23 +00:00
ca382b1c8e Bump to v5.5.0-dev
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-05-01 08:52:37 -04:00
bbda2d8e74 Merge pull request #26032 from mheon/bump_550_rc2
Bump to v5.5.0-rc2
2025-05-01 10:31:14 +00:00
3c4cf52142 Bump to v5.5.0-rc2
Signed-off-by: Matt Heon <mheon@redhat.com>
v5.5.0-rc2
2025-04-30 15:11:26 -04:00
52e1c96c4a Merge pull request #26030 from mheon/release_notes_550_rc2
Update release notes for v5.5.0-rc2
2025-04-30 18:58:26 +00:00
c7ad64cedc Update release notes for v5.5.0-rc2
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-04-30 14:02:08 -04:00
3f43df2bdb Handle signal preventing Start from completing
In the instance where the user sends a signal, such as SIGINT (Ctl-c)
when a Podman Machine is in the middle of starting, make sure the state
doesn't get stuck in the "Currently Starting" status.

Resolves: #24416

Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
2025-04-30 14:02:08 -04:00
1ea17b6fdd Fix mach os pr release action
- Remove branch restrictions
- Do not open PR on main
- Add release note to PR

Signed-off-by: Ashley Cui <acui@redhat.com>
2025-04-30 14:02:08 -04:00
4443186f1d Merge pull request #26024 from openshift-cherrypick-robot/cherry-pick-26015-to-v5.5
[v5.5] Makefile: move some Go-related variable definitions up
2025-04-30 15:03:40 +00:00
760a8760c9 Merge pull request #26013 from openshift-cherrypick-robot/cherry-pick-26010-to-v5.5
[v5.5] pkg/bindings: fix infinite loop/memory leak in image pull
2025-04-30 12:34:47 +00:00
b4047fced9 Makefile: move some Go-related variable definitions up
Otherwise we evaluate NATIVE_GOOS before it is set, which breaks the
FreeBSD build since various make variables are not set correctly.

Fixes: #26006
Signed-off-by: Mark Johnston <mark.johnston@klarasystems.com>
2025-04-30 12:18:52 +00:00
fdcbc0d479 pkg/bindings: wrap image push decode error
If this fails we should know exactly what failed. The underlying
connection error might just be unexpected EOF or somthing which is not
helpful.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-04-29 13:11:34 +00:00
4767cff3ed pkg/bindings: fix infinite loop/memory leak in image pull
In the case of an Decoder error which is not EOF we loop forever, as the
Decoder stores some errors each next Decode() call will keep returning
the same error. Thus we loop forever until we run out of memory as each
error was stored in pullErrors array as described in [1].

Note this does not actually fix whatever causes the underlying
connection error in the issue, it just fixes the loop/memory leak.

[1] https://github.com/containers/podman/issues/25974

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-04-29 13:11:34 +00:00
3a594b42d0 Merge pull request #26003 from openshift-cherrypick-robot/cherry-pick-25983-to-v5.5
[v5.5] Fix: inheritlabels=true if query param absent
2025-04-28 22:02:55 +00:00
58a934313f Added tests for inheritlabel fix
Signed-off-by: flouthoc <flouthoc.git@gmail.com>
2025-04-28 17:38:19 +00:00
b2a99aab3f Fix: inheritlabels=true if query param absent
The inheritlabels param must default to true if query param is absent.

Signed-off-by: Matej Vašek <matejvasek@gmail.com>
2025-04-28 17:38:19 +00:00