Commit Graph

24052 Commits

Author SHA1 Message Date
Paul Holzinger
6348778348 libpod: log file use Wait() over event API
Using the internal Wait() API over the events API as this is much more
efficient. Reading events will need to read a lot of data otherwise.

For the function here it should work fine and it is even better as it
does not depend on the event logger at all.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-11-01 18:53:08 +01:00
openshift-merge-bot[bot]
af34b2db47 Merge pull request #24441 from containers/renovate/golang.org-x-exp-digest
fix(deps): update golang.org/x/exp digest to f66d83c
2024-11-01 16:03:41 +00:00
openshift-merge-bot[bot]
a1a2b223cb Merge pull request #24446 from containers/renovate/github.com-shirou-gopsutil-v4-4.x
fix(deps): update module github.com/shirou/gopsutil/v4 to v4.24.10
2024-11-01 14:16:27 +00:00
openshift-merge-bot[bot]
3cd247090f Merge pull request #24440 from containers/renovate/github.com-opencontainers-runtime-tools-digest
fix(deps): update github.com/opencontainers/runtime-tools digest to 6c9570a
2024-11-01 13:18:40 +00:00
openshift-merge-bot[bot]
496e7ca024 Merge pull request #24381 from t4chib4ne/kube-play-wait-interval
stop podman kube play --wait from using 100% CPU
2024-11-01 12:51:09 +00:00
Paul Holzinger
0acd192b59 Makefile: vendor target should always remove toolchain
We never want the toolchain as the default is to use the same as the go
version. So the only purpose of toolchain is to force a newer compiler
than necessary which we do not want as we are getting build by many
different distributions and block builds that would otherwise work fine
is just not helpful to anyone.

Also update the go.mod comments remind people that there should be no
toolchain. The make vendor target with the toolchain will now guarantee
this so the CI will fail otherwise.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-11-01 13:23:01 +01:00
Paul Holzinger
ef20e75a77 cirrus: check consitent vendoring in test/tools
Ensure nobody modifies files directly there.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-11-01 13:23:01 +01:00
Paul Holzinger
f4ad93d5f6 test/tools/go.mod: remove toolchain
Like our main go.mod we never want to force a specific toolchain.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-11-01 13:23:01 +01:00
openshift-merge-bot[bot]
d40ff2a0de Merge pull request #24438 from containers/renovate/github.com-linuxkit-virtsock-digest
fix(deps): update github.com/linuxkit/virtsock digest to cb6a20c
2024-11-01 11:39:49 +00:00
renovate[bot]
3f15f710ce fix(deps): update module github.com/shirou/gopsutil/v4 to v4.24.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-01 11:10:49 +00:00
openshift-merge-bot[bot]
fbeae58474 Merge pull request #24443 from containers/renovate/github.com-onsi-gomega-1.x
fix(deps): update module github.com/onsi/gomega to v1.35.1
2024-11-01 11:09:24 +00:00
renovate[bot]
d8311353b9 fix(deps): update module github.com/onsi/gomega to v1.35.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-01 09:09:55 +00:00
Alicia Boya García
37c8e10031 doc: explain --interactive in more detail
Clarifies the behavior of --interactive in both attached and unattached
scenarios.

Adds a caveat and explanation for --interactive being hungry as
described in https://github.com/containers/podman/issues/24370.

Signed-off-by: Alicia Boya García <aboya@igalia.com>
2024-11-01 08:23:08 +01:00
renovate[bot]
cd1b6b7121 fix(deps): update golang.org/x/exp digest to f66d83c
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-01 07:00:20 +00:00
renovate[bot]
2dff79bd2c fix(deps): update github.com/opencontainers/runtime-tools digest to 6c9570a
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-01 03:27:02 +00:00
renovate[bot]
5722304613 fix(deps): update github.com/linuxkit/virtsock digest to cb6a20c
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-01 02:37:51 +00:00
openshift-merge-bot[bot]
de990415a2 Merge pull request #24423 from Luap99/debug-23913
Instrument cleanup tracer to log weird volume removal flake
2024-10-31 11:58:12 +00:00
Maximilian Hueter
314dece926 add default polling interval to Container.Wait
Signed-off-by: Maximilian Hueter <maximilian.hueter@icloud.com>
2024-10-30 20:00:52 +01:00
Paul Holzinger
d633824a95 Instrument cleanup tracer to log weird volume removal flake
Debug for #23913, I though if we have no idea which process is nuking
the volume then we need to figure this out. As there is no reproducer
we can (ab)use the cleanup tracer. Simply trace all unlink syscalls to
see which process deletes our special named volume. Given the volume
name is used as path on the fs and is deleted on volume rm we should
know exactly which process deleted it the next time hopefully.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-10-30 18:50:07 +01:00
Paul Holzinger
6b8e8cbbf7 make podman-clean-transient.service work as user
In the user session there is no boot-complete.target so the Requires=
fails. We do not need it and I am not sure if we need it for the root
unit either but I deicded to keep it there to not change anything and
for the user session we patch it out.

I patched this in the Makefile, while we could try to define two
different source files for that it would make the Makefile logic even
more complicated. In particular as this file is a .in we would need to
add it to PODMAN_GENERATED_UNIT_FILES and then somehow fix the loop. To
much work IMO so the sed trick to patch the user file is simpler.

Fixes #23790

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-10-30 18:19:36 +01:00
openshift-merge-bot[bot]
f139bc17b3 Merge pull request #24407 from Luap99/readthedocs
readthedocs: build extra formats
2024-10-30 14:50:11 +00:00
openshift-merge-bot[bot]
5751154e54 Merge pull request #23847 from afbjorklund/ssh-config-main
Add support for ssh_config for connection
2024-10-30 14:41:55 +00:00
openshift-merge-bot[bot]
c8238a999f Merge pull request #24417 from Luap99/pasta2
libpod: use pasta Setup() over Setup2()
2024-10-30 14:39:11 +00:00
openshift-merge-bot[bot]
c3abb8d7f0 Merge pull request #24409 from Luap99/machine-doc
docs: fix broken example
2024-10-30 14:36:24 +00:00
openshift-merge-bot[bot]
9156eae143 Merge pull request #24404 from Luap99/machine-debug
pkg/machine/e2e: remove debug
2024-10-30 14:33:43 +00:00
Anders F Björklund
b455f94ca8 Add default remote socket path if empty
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2024-10-30 14:44:44 +01:00
Anders F Björklund
48a8a9c22c Use current user if no user specified
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2024-10-30 14:44:44 +01:00
Anders F Björklund
e523734ab6 Add support for ssh_config for connection
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2024-10-30 14:44:44 +01:00
openshift-merge-bot[bot]
daf0b52b74 Merge pull request #24414 from containers/renovate/github.com-onsi-ginkgo-v2-2.x
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.21.0
2024-10-30 13:22:09 +00:00
Paul Holzinger
c98538db7d libpod: use pasta Setup() over Setup2()
Setup2() calls Setup() so they are both the same thing, the idea was to
keep Setup2() around in c/common for a bit to avoid breaking changes
during our regular vendoring. Now just use Setup() so we can get rid of
Setup2() in c/common.

a7415c3eab

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-10-30 13:35:56 +01:00
renovate[bot]
c7ff3b75cb fix(deps): update module github.com/onsi/ginkgo/v2 to v2.21.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 12:17:30 +00:00
openshift-merge-bot[bot]
db6e837d82 Merge pull request #24415 from containers/renovate/github.com-onsi-gomega-1.x
fix(deps): update module github.com/onsi/gomega to v1.35.0
2024-10-30 11:23:55 +00:00
renovate[bot]
5a1bc6126e fix(deps): update module github.com/onsi/gomega to v1.35.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 01:56:51 +00:00
openshift-merge-bot[bot]
a2b76a8816 Merge pull request #24411 from Luap99/logformatter
logformatter: add cleanup tracer log link
2024-10-29 19:48:54 +00:00
Paul Holzinger
bd75a4e0e0 logformatter: add cleanup tracer log link
I had a few cases where this is super handy in CI and if I can access the
link without one extra click it safes me some time and hopefully makes
it more discoverable for other to see how useful it can be sometimes.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-10-29 19:35:01 +01:00
Paul Holzinger
2a0a52469c docs: fix broken example
In coreos /mnt is a symlink to /vat/mnt and systemd does not like do use
the symlink for some reason. Simply fix the example to use /Users which
now works as we always create the directories even on /.

Fixes #24281

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-10-29 18:19:07 +01:00
Paul Holzinger
f4be5e34c2 docs: add missing swagger links for the stable branches
It is part of the release process yet everybody ignores this. I really
should look into automating this instead.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-10-29 17:30:40 +01:00
Paul Holzinger
b9fed4fcf2 readthedocs: build extra formats
Make our docs available in extra formats to download, ref
https://docs.readthedocs.io/en/stable/config-file/v2.html#formats

Fixes: #24354

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-10-29 17:30:29 +01:00
Paul Holzinger
ce24ab0683 pkg/machine/e2e: remove debug
Nobody is looking into this anyway and it just clutters the logs and
will cause confusion for readers. If some day someone wants to fix the
macos IO bugs they can add this back.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-10-29 13:50:05 +01:00
openshift-merge-bot[bot]
364761fc30 Merge pull request #24400 from giuseppe/fix-race-reading-cgroup-stats
libpod: report cgroups deleted during Stat() call
2024-10-29 12:20:36 +00:00
openshift-merge-bot[bot]
b52e6cc874 Merge pull request #24396 from neitsab/rootless-tutorial-fix-#24393
fix(docs): Integrate pasta in rootless tutorial
2024-10-29 12:01:22 +00:00
Bastien Traverse
4a54fd8756 fix(docs): Integrate pasta in rootless tutorial
- rework the slirp4netns section into a general 'Networking configuration' one
- integrate pasta as the new default tool for rootless networking since v5.0
- touch upon the user-facing differences between the two available backends and provide
  links to further documentation, including how to choose between one and the other and
  how to install them

Fixes: #24393

Signed-off-by: Bastien Traverse <neitsab@esrevart.net>
2024-10-29 12:33:01 +01:00
openshift-merge-bot[bot]
50dec7c4ef Merge pull request #24402 from containers/renovate/setuptools-75.x
chore(deps): update dependency setuptools to ~=75.3.0
2024-10-29 11:25:37 +00:00
renovate[bot]
5f66277138 chore(deps): update dependency setuptools to ~=75.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 10:33:01 +00:00
openshift-merge-bot[bot]
a56cda18cf Merge pull request #24388 from shenpengfeng/main
chore: fix some function names in comment
2024-10-29 10:32:12 +00:00
Giuseppe Scrivano
1f44d0f8b2 libpod: report cgroups deleted during Stat() call
The cgroup.Stat() operation is not atomic, so it's possible that the
cgroup is removed during the Stat() call.  Catch specific errors that
can occur when the cgroup is missing and validate the existence of the
cgroup path.
If the cgroup is not found, return a more specific error indicating
that the container has been removed.

Closes: https://github.com/containers/podman/issues/23789

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-10-29 11:16:57 +01:00
shenpengfeng
9abc17f1e1 chore: fix some function names in comment
Signed-off-by: shenpengfeng <xinhangzhou@icloud.com>
2024-10-29 17:57:31 +08:00
openshift-merge-bot[bot]
3a7e1deed4 Merge pull request #24390 from edsantiago/safename-070
CI: make 070-build.bats use safe image names
2024-10-28 14:41:28 +00:00
openshift-merge-bot[bot]
2cbb2e8c42 Merge pull request #24392 from edsantiago/parallelize-520
CI: parallelize 520-checkpoint tests
2024-10-28 13:49:13 +00:00
openshift-merge-bot[bot]
19f7be82e9 Merge pull request #24391 from edsantiago/parallelize-450
CI: parallelize 450-interactive system tests
2024-10-28 13:46:28 +00:00