Commit graph

25069 commits

Author SHA1 Message Date
openshift-merge-bot[bot]
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
Brent Baude
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
openshift-merge-bot[bot]
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
Cesar Goncalves
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
openshift-merge-bot[bot]
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
Ashley Cui
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
openshift-merge-bot[bot]
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
Giuseppe Scrivano
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
Giuseppe Scrivano
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
Giuseppe Scrivano
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
Giuseppe Scrivano
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
openshift-merge-bot[bot]
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
Matt Heon
ca382b1c8e Bump to v5.5.0-dev
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-05-01 08:52:37 -04:00
openshift-merge-bot[bot]
bbda2d8e74
Merge pull request #26032 from mheon/bump_550_rc2
Bump to v5.5.0-rc2
2025-05-01 10:31:14 +00:00
Matt Heon
3c4cf52142
Bump to v5.5.0-rc2
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-04-30 15:11:26 -04:00
openshift-merge-bot[bot]
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
Matt Heon
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
Jake Correnti
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
Ashley Cui
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
openshift-merge-bot[bot]
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
openshift-merge-bot[bot]
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
Mark Johnston
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
Paul Holzinger
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
Paul Holzinger
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
openshift-merge-bot[bot]
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
flouthoc
58a934313f Added tests for inheritlabel fix
Signed-off-by: flouthoc <flouthoc.git@gmail.com>
2025-04-28 17:38:19 +00:00
Matej Vašek
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
openshift-merge-bot[bot]
f271c9360d
Merge pull request #25985 from openshift-cherrypick-robot/cherry-pick-24150-to-v5.5
[v5.5] libpod: fix a confusing error message from 'podman system reset' on F…
2025-04-28 11:09:09 +00:00
Doug Rabson
325a79c724 libpod: fix a confusing error message from 'podman system reset' on FreeBSD
This was discovered by a user while testing Podman on FreeBSD
(oci-playground/freebsd-podman-testing/issues/17). The error message
didn't stop 'podman system reset' from working and this commit simply
suppressses the error on FreeBSD.

Signed-off-by: Doug Rabson <dfr@rabson.org>
2025-04-25 15:36:37 +00:00
openshift-merge-bot[bot]
b3a83f9dbb
Merge pull request #25976 from openshift-cherrypick-robot/cherry-pick-25966-to-v5.5
[v5.5] remote: don't print bogus error when starting container attached
2025-04-25 10:33:48 +00:00
openshift-merge-bot[bot]
554d8b9fcb
Merge pull request #25972 from ashley-cui/devbump
[v5.5] Bump to v5.5.0-dev
2025-04-25 10:31:03 +00:00
Paul Holzinger
bd3ee58527 podman start: remove container if needed
Like podman run --rm, start --attach must also ensure the contianer is
removed before it exist. Otherwise there is a race where the container
still exist after the command exits, because removal would only happen
by the cleanup process in the background.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-04-24 18:58:39 +00:00
Paul Holzinger
7a9acf2d51 remote: don't print bogus error when starting container attached
This looks like debug leftover, in any case this is not an error so
simply remove the line.

Fixes #25965

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-04-24 18:58:39 +00:00
Ashley Cui
2e01a0ac76 Bump to v5.5.0-dev
Signed-off-by: Ashley Cui <acui@redhat.com>
2025-04-24 12:58:57 -04:00
openshift-merge-bot[bot]
2c2dd36671
Merge pull request #25970 from ashley-cui/bump550rc1
Bump to v5.5.0-RC1
2025-04-24 16:42:55 +00:00
Ashley Cui
6a597e0e89
Bump to v5.5.0-rc1
Signed-off-by: Ashley Cui <acui@redhat.com>
2025-04-24 11:11:13 -04:00
Matt Heon
2c1646b130 Update release notes for v5.5.0-rc1
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-04-24 11:10:54 -04:00
openshift-merge-bot[bot]
dc4ba28f96
Merge pull request #25967 from openshift-cherrypick-robot/cherry-pick-25963-to-v5.5
[v5.5] Packit: couple of fixes for release process
2025-04-24 13:08:38 +00:00
Lokesh Mandvekar
c6a16e6f17 Packit: do not merge PR in CI
Packit's default behaviour of merging commits on PR copr build jobs ends
up creating a HEAD commit ID that doesn't exist upstream. This commit
disables that behaviour.

This way, copr builds from release PR can be used for podman-machine-os
builds.

Co-authored-by: Matej Focko <mfocko@users.noreply.github.com>
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2025-04-24 12:33:27 +00:00
Lokesh Mandvekar
739577b57b Packit: re-enable fedora-41 targets
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2025-04-24 12:33:27 +00:00
openshift-merge-bot[bot]
7e57bb1474
Merge pull request #25953 from containers/renovate/github.com-docker-docker-28.x
fix(deps): update module github.com/docker/docker to v28.1.1+incompatible
2025-04-23 12:40:34 +00:00
openshift-merge-bot[bot]
9c9bfeb504
Merge pull request #25750 from containers/renovate/github.com-mattn-go-sqlite3-1.x
fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.28
2025-04-23 10:47:43 +00:00
renovate[bot]
80993f2c3b
fix(deps): update module github.com/docker/docker to v28.1.1+incompatible
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-23 09:54:18 +00:00
openshift-merge-bot[bot]
0f2d00617d
Merge pull request #25939 from TomSweeneyRedHat/dev/tsweeney/buildah_v1.40
Bump to Buildah v1.40.0
2025-04-23 09:52:36 +00:00
openshift-merge-bot[bot]
0a65e7c203
Merge pull request #25949 from benoitf/mod-script
chore: use another script to get the version of gvproxy + fix download link
2025-04-23 09:19:37 +00:00
tomsweeneyredhat
10d768baaf Add inherit-labels option to Build API
Add the inherit-labels option to the build API and tweak the go.mod
after some unhappiness in my sandbox.

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-04-22 23:06:57 -04:00
tomsweeneyredhat
76b07dd48d Bump to Buildah v1.40.0
Bumps to Buildah v1.40.0 and adds the `--inherits-labels` option to
build and farm build man pages.

Also turn off the inherit-labels option test for now as it seems to be
rathr unhappy.

Issue for inherit-labels test failure: https://github.com/containers/podman/issues/25938

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-04-22 16:50:02 -04:00
Florent Benoit
75aec675d2 chore: use another script to get the version of gvproxy
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2025-04-22 22:04:08 +02:00
openshift-merge-bot[bot]
a3e132055d
Merge pull request #25909 from baude/issue25884
Add ability to set layer media type for artifacts
2025-04-22 19:21:14 +00:00
openshift-merge-bot[bot]
9180f55953
Merge pull request #25893 from Luap99/new-images-f42
New images f42
2025-04-22 19:13:01 +00:00