-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
infra container: replace pause with catatonit #12218
infra container: replace pause with catatonit #12218
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
We have to highlight this in the release notes to make sure catatonit is a hard dependency in all distros.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe, vrothberg The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Probably need to update the VMs and images to include catatonit 0.1.7. @cevich WDYT? |
I updated fedora to use newer catatonit. |
Roger, I'll add it to my list. |
Thanks, @cevich. I think we can also rerun |
Yep, that's exactly what we do. So I'll just bump it up in podman, and the images will cache it for us as I build them. |
Ref: containers#12218 Signed-off-by: Chris Evich <[email protected]>
c8d51a0
to
cee42a4
Compare
@cevich do we need to change the images or shall we force-install catatonit? |
Nope, no new images needed - they only cache catatonit based on podman main-branch. So forcing it (as my PR did) is sufficient. It'll just run a few seconds slower until new VM images pick up the change and cache it for us. |
The script will only install catatonit if it's not already present on the host. Bumping the version will not automatically reinstall it if executed. Or am I missing something? |
Oh crud, good catch! So we do need the new images then (I just started a build this morning). I believe I have all the testing-problems worked out for F35, but new ones could creep in at any moment 😞 So if that workflow ends up being "too slow" for this PR, I can work on adding a '--force' option to the installer script - since that will be more reliable than trying to do version-detection/conditional install. |
@cevich, thanks for confirming. I can do the |
Another possibility is #12256 (freshly built yesterday) which could go in before the F35 update (assuming tests pass). |
41fe528
to
a0a2746
Compare
Added another commit to force-install catatonit ✔️ |
.cirrus.yml
Outdated
@@ -93,6 +93,9 @@ ext_svc_check_task: | |||
git reset --hard $CIRRUS_CHANGE_IN_REPO | |||
fi | |||
make install.tools | |||
# FIXME: this is just a temporary workaround to force-install | |||
# catatonit 0.17.0. Please remove once the images are updated. | |||
./hack/install_catatonit.sh --force |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect.
@vrothberg test failures look real: I restarted both of them once (flake check) but both failed again, same way. |
LGTM |
It doesn't seem to install catatonit yet:
|
a0a2746
to
dda2b3f
Compare
Trying an alternative via contrib/cirrus/setup_environment.sh |
APIv2 fail is legit. Fixed it already but I want to wait for e2e and system tests before pushing. |
...confirmed, 0.1.7 is in the current VM images. |
The spec file should be updated to require it. |
We have a chicken-egg problem or is catatonit 0.17.0 already available in F3{3,4,5}? |
Ah, already done in this PR. I will drop the force-install of catatonit now and hope VMs are good. |
b3d675c
to
50447c9
Compare
BTW F33 support should be dropped now. |
Thanks for the heads up, turns out we already have it in Debian 😀
…On Fri, Nov 12, 2021, 09:57 Valentin Rothberg ***@***.***> wrote:
LGTM We have to highlight this in the release notes to make sure catatonit
is a hard dependency in all distros.
Heads up for packages: catatonit is now a hard-requirement for running
Pods.
@lsm5 <https://github.com/lsm5> @jnovy <https://github.com/jnovy>
@siretart <https://github.com/siretart>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12218 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOKTJAHDBDSDO63HQXSIBTULUTOBANCNFSM5HSVVDXQ>
.
|
@cevich, it doesn't seem to be in the Ubuntu 2110 images. |
This reverts commit 9d2b8d2 since catatonit's new pause functionality can replace the `pause` binary entirely. Signed-off-by: Valentin Rothberg <[email protected]>
Podman has been using catatonit for a number of years already. Thanks to @giuseppe, catatonit is now able to run as a pause process which allows us to replace the pause binary entirely. Signed-off-by: Valentin Rothberg <[email protected]>
A temporary workaround until the CI images are updated. Signed-off-by: Valentin Rothberg <[email protected]>
50447c9
to
c8790bf
Compare
Went back to force-installing to unblock the PR. |
@containers/podman-maintainers lets get this in |
# catatonit 0.17.0. Please remove once the images are updated. | ||
./hack/install_catatonit.sh --force |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What will this mean for bodhi gating tests? I see catatonit-0.1.6-1 on f34 and f35. Will 0.17.0 be packaged for those, or will this podman version never exist for f34/f35?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's currently in testing for 34/35 -> https://bodhi.fedoraproject.org/updates/?search=catatonit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack, thanks. Guess I better go play with it & give it karma.
I built this on f34 and f35. Tested using |
Hmmm, pretty sure I remember grabbing a VM and checking it was there and
Aww nuts. I think in Ubuntu it must get installed from a package, then the hack script finds it and doesn't install the newer one. We don't mention the package by name during image build, so it must get pulled in by dependency 😢 |
Update: Yep, found it (repo). @lsm5 - something in kubik testing has a dependency on catatonit 0.1.5, could you update that and the package to 0.1.7? |
@vrothberg a Let's see if @lsm5 can turn around a package update quickly, then I can rebuild the VM images (doing it for 'main' branch should be mostly painless). |
/lgtm I'm totally OK with this approach, just to get this PR in and give it testing time. There are plenty of update-the-VMs PRs in flight and upcoming, we can remove the install-catatonit hack soon. |
/hold cancel |
Podman has been using catatonit for a number of years already.
Thanks to @giuseppe, catatonit is now able to run as a pause
process which allows us to replace the pause binary entirely.
[NO NEW TESTS NEEDED] since no functionality has been added.
Signed-off-by: Valentin Rothberg [email protected]