Commit Graph

25303 Commits

Author SHA1 Message Date
openshift-merge-bot[bot] fec6e691ad
Merge pull request #26181 from ashley-cui/podmanio
Trigger podman.io version bump from release action
2025-05-27 14:08:06 +00:00
openshift-merge-bot[bot] d667e2fe51
Merge pull request #26202 from Luap99/compat-base-hosts
compat API: respect base_hosts_file containers.conf option
2025-05-27 13:40:23 +00:00
openshift-merge-bot[bot] 4120115c86
Merge pull request #26193 from refi64/container-graph-errors
libpod: Don't exclude running deps from the container graph inputs
2025-05-27 13:15:36 +00:00
Giuseppe Scrivano ca20c42a52
test: fix race conditions in /dev/kmsg tests
The e2e tests for device access involving /dev/kmsg could fail
intermittently.  This was due to a race condition where concurrent
writes to the kernel log buffer by other processes, while the test
was reading from /dev/kmsg, could cause the read to fail with ESPIPE.

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

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-05-27 15:12:14 +02:00
Mario Loriedo f25cefcb1b Fix overlay volumes on Windows
The Windows source folder path was not converted in the corresponding
machine folder path when the volume was of type overlay as it does for
other bind mount volumes.

Fix #25988

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-27 15:11:36 +02:00
openshift-merge-bot[bot] 10b89050b0
Merge pull request #26204 from containers/renovate/setuptools-80.x
chore(deps): update dependency setuptools to ~=80.9.0
2025-05-27 07:28:45 +00:00
renovate[bot] d5520ded64
chore(deps): update dependency setuptools to ~=80.9.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-27 04:00:34 +00:00
Ryan Gonzalez 051be9b2d2 libpod: Don't exclude running deps from the container graph inputs
getAllDependencies() skips recursing into dependencies that are already
running, but BuildContainerGraph() expects a *complete* set of inputs
and returns an error if any are missing. Thus, podman will fail to start
a container with already-running direct dependencies that, in turn, have
their own dependencies.

None of the other callers of BuildContainerGraph() omit anything from
their list of containers, so follow the same approach here, and just
let startNode figure out if a start is actually needed.

Fixes: containers/podman-compose#921

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2025-05-26 20:29:53 -05:00
Paul Holzinger 66bf98e27c
compat API: respect base_hosts_file containers.conf option
Hard coding to none without checking containers.conf is not a good idea
as users who liked the previous behavior and the podman default behavior
of keeping the hosts entries can no longer do that.

With this commit they can set base_hosts_file = "/etc/hosts" to restore
the previous behavior.

Fixes: https://issues.redhat.com/browse/RHEL-92995

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-05-26 16:16:10 +02:00
openshift-merge-bot[bot] f4a0197933
Merge pull request #26176 from l0rd/win-arm64-e2e
Fix machine e2e tests to pass on ARM64 Windows too
2025-05-26 13:49:21 +00:00
Ashley Cui 416bb84c0e Trigger podman.io version bump from release action
Our release is created by a GitHub action, and GitHub prevents workflows from running on events that were caused by other workflows to prevent unlimited recursion.
To get around this, use a reusable workflow to trigger the podman.io version bump from the release action.

Signed-off-by: Ashley Cui <acui@redhat.com>
2025-05-22 10:04:00 -04:00
François Poirotte 9d4267c8f2
Disable the tests for rootless pods
Access to the cpuset cgroup controller is needed to run these tests.
Configuration on the CI workers prevents access to this controller
for rootless pods.

Signed-off-by: François Poirotte <clicky@erebot.net>
2025-05-22 11:45:01 +02:00
François Poirotte 5bfdb25b26
Support --cpuset-<cpus/mems> in podman kube play
This commit adds two new annotations named
io.podman.annotations.cpuset/$ctrname and
io.podman.annotations.memory-nodes/$ctrname

The first one allows restricting a container's execution to specific
CPU cores while the second restricts memory allocations to specific
NUMA memory nodes. They are also added automatically when the
--cpuset-cpus and --cpuset-mems options are used.

Fixes: containers#26172

Signed-off-by: François Poirotte <clicky@erebot.net>
2025-05-22 11:45:01 +02:00
Paul Holzinger 5797c1dd27
pkg/machine: don't use dummy linger service
There is no reason to deifne a dummy service to run sleep just to get
the podman.socket enabled. Enabeling a service is just creating the
symlink so we can do that for the user sessions as well.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-05-21 19:08:41 +02:00
Paul Holzinger 79a857e0a0
pkg/machine: correctly enable lingering
When a custom username is requested we must stil enable lingering for
it. The linger setup in the coreos image with the hard coded core user
doesn't really make sense as it doesn't work when another name is used.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-05-21 19:08:41 +02:00
Mario Loriedo 9872f0e83c Update expected output for a machine copy test
The podman machine copy test "attempt copying file to a new directory"
was failing because on recent version of Windows the error message
doesn't match the expected error message. To make it work on new and
old version of Windows both old and new error messages are now
considered as valid.

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

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-21 18:40:52 +02:00
Mario Loriedo af495e1aa9 Replace alpine_nginx with TESTIMAGE in e2e tests
The image quay.io/libpod/alpine_nginx doesn't have a `linux/arm64` version
and the test "Single character volume mount" on Windows ARM64 was
failing. Changing it to TESTIMAGE (quay.io/libpod/testimage) fixes it.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-21 18:40:52 +02:00
Mario Loriedo 9a452db918 Support '$FOCUS' env variable on winmake too
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-21 18:40:52 +02:00
openshift-merge-bot[bot] 27fdd7fc6d
Merge pull request #26087 from lsm5/openssf-passing
README.md: add openssf passing badge
2025-05-21 15:23:53 +00:00
openshift-merge-bot[bot] b2fcf00222
Merge pull request #26175 from lsm5/tmt-lint
lint: cleanups after TMT inclusion
2025-05-21 14:44:56 +00:00
Lokesh Mandvekar 6265ef07ae
pre-commit: exclude rpm/gating.yaml from check-yaml
check-yaml for whatever reason doesn't like `!Policy` in
rpm/gating.yaml.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2025-05-21 10:17:08 -04:00
Lokesh Mandvekar 50379429ca
lint: Fix linter issues on TMT files
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2025-05-21 10:16:25 -04:00
openshift-merge-bot[bot] 9138a6fae0
Merge pull request #26166 from mheon/bump_release_notes_550_main
Update release notes on main
2025-05-21 14:06:00 +00:00
openshift-merge-bot[bot] 6f37ac8ef0
Merge pull request #26150 from ashley-cui/releaseprocess
Update RELEASE_PROCESS.md
2025-05-21 14:03:15 +00:00
openshift-merge-bot[bot] b61e99662d
Merge pull request #26148 from Luap99/test-dns
test/e2e: do not check dns.podman
2025-05-21 14:00:34 +00:00
openshift-merge-bot[bot] 7df8098d6c
Merge pull request #26165 from eriksjolund/drop-pre-checkpoint-requirement
docs: drop --pre-checkpoint requirement
2025-05-21 13:57:46 +00:00
openshift-merge-bot[bot] 6d23f22750
Merge pull request #24369 from lsm5/tmt-fedora-centos
[skip-ci] TMT: run system tests on Fedora
2025-05-21 07:56:20 +00:00
openshift-merge-bot[bot] 5629ba8a8d
Merge pull request #26149 from azdle/docker-api-container-status
compat: fix ContainerState.Status JSON values
2025-05-20 17:53:12 +00:00
Matt Heon cff69f89e9 Update release notes on main
We are apparently really behind, I knew 5.5 wasn't added but
apparently 5.4 also wasn't done.

Signed-off-by: Matt Heon <mheon@redhat.com>
2025-05-20 13:43:06 -04:00
Patrick Barrett c39fd061f0 fix CONTRIBUTING to say reference issue number 'or' url
Signed-off-by: Patrick Barrett <patrick@psbarrett.com>
2025-05-20 11:41:22 -05:00
openshift-merge-bot[bot] 9800f643be
Merge pull request #26155 from lsm5/packit-post-f40
[skip-ci] Packit: set fedora-all after F40 EOL
2025-05-20 16:22:27 +00:00
openshift-merge-bot[bot] c8362a1d3a
Merge pull request #26162 from Luap99/mount-sort
libpod: fix mount order for "/" volume
2025-05-20 15:27:12 +00:00
Patrick Barrett 92a15085cb compat: fix Container State.Status JSON values
This mirrors the conversion currently being done in `LibpodToContainer`
into `LibpodToContainerJSON`, converting podman style statuses to docker
style statuses as defined in their OpenAPI definition:

https://docs.docker.com/reference/api/engine/version/v1.49/#tag/Container/operation/ContainerInspect

Fixes: #17728

Signed-off-by: Patrick Barrett <patrick@psbarrett.com>
2025-05-20 10:22:45 -05:00
openshift-merge-bot[bot] 12172249b6
Merge pull request #26163 from containers/renovate/setuptools-80.x
chore(deps): update dependency setuptools to ~=80.8.0
2025-05-20 15:10:23 +00:00
renovate[bot] f10e2ffd36
chore(deps): update dependency setuptools to ~=80.8.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-20 14:38:17 +00:00
openshift-merge-bot[bot] e32b57b1ea
Merge pull request #26115 from inknos/compat-get-info-defaultaddresspool
compat: Add DefaultAddressPools field to GET /info
2025-05-20 14:37:22 +00:00
Paul Holzinger 953e385bd2
libpod: fix mount order for "/" volume
The count function for / and /proc results in the same value so the
order is not guaranteed. We must ensure that a / mount is always first
in the spec so that other mounts are not overshadowed by it.

Fixes: #26161

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-05-20 15:52:27 +02:00
openshift-merge-bot[bot] 8f8a90aa9b
Merge pull request #26156 from Luap99/fcos-image-remove
github: remove fcos next image workflow
2025-05-20 00:13:12 +00:00
Ashley Cui b9cc2d87d7 Update RELEASE_PROCESS.md
We've added a bunch of new automation to make releases easier. Update RELEASE_PROCESS.md to reflect the changes.

Signed-off-by: Ashley Cui <acui@redhat.com>
2025-05-19 14:36:20 -04:00
Paul Holzinger 6d6ebad829
github: remove fcos next image workflow
We do our proper machine os image builds in podman-machine-os now and
with [1] we also publish a next tag for easy testing. As such this
action is no longer needed.

[1] https://github.com/containers/podman-machine-os/pull/128

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-05-19 18:37:38 +02:00
Lokesh Mandvekar 3ab45807b4
[skip-ci] Packit: set fedora-all after F40 EOL
As the title says.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2025-05-19 12:07:54 -04:00
openshift-merge-bot[bot] 7aa4baa257
Merge pull request #26146 from mtrmac/ssh-localhost
Be explicit about ssh configs suitable only for localhost
2025-05-19 10:00:48 +00:00
Paul Holzinger 736ca60378
test/e2e: do not check dns.podman
A recent change[1] in netavark makes it so we no longer set the default
dns.podman search domain. As such we must no longer test for it.

Follow up to 254ab3b90f ("test/system: do not check dns.podman")

[1] https://github.com/containers/netavark/pull/1214

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-05-16 14:18:19 +02:00
Nicola Sella 7c0262db3d
compat: Add DefaultAddressPools field to GET /info
Signed-off-by: Nicola Sella <nsella@redhat.com>
2025-05-16 13:16:27 +02:00
Miloslav Trmač 265ca77276 Be explicit about ssh configs suitable only for localhost
... and warn loudly against generalization.

Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2025-05-15 23:04:49 +02:00
openshift-merge-bot[bot] 5fef6b714d
Merge pull request #26116 from inknos/compat-post-containers-create-cgroupsnsmode
compat: Add CgroupnsMode to POST /containers/create
2025-05-15 18:20:38 +00:00
openshift-merge-bot[bot] 3bf3d869b6
Merge pull request #26127 from martinetd/restart-hooks
podman: remember hooks-dir on restarts
2025-05-15 14:18:30 +00:00
openshift-merge-bot[bot] 9dcff99d59
Merge pull request #26124 from Luap99/nilness
fix issues found by nilness
2025-05-15 14:02:03 +00:00
Nicola Sella b82f2962c3
compat: Add CgroupnsMode to POST /containers/create
Signed-off-by: Nicola Sella <nsella@redhat.com>
2025-05-15 15:31:16 +02:00
openshift-merge-bot[bot] ee283c7514
Merge pull request #26141 from containers/renovate/setuptools-80.x
Update dependency setuptools to ~=80.7.1
2025-05-15 09:59:03 +00:00