Skip to content
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

race: podman auto-update barfs when containers disappear #23279

Closed
edsantiago opened this issue Jul 15, 2024 · 4 comments · Fixed by #23305
Closed

race: podman auto-update barfs when containers disappear #23279

edsantiago opened this issue Jul 15, 2024 · 4 comments · Fixed by #23305
Assignees
Labels
flakes Flakes from Continuous Integration kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@edsantiago
Copy link
Member

In terminal 1:

$ while :;do podman run --rm quay.io/libpod/testimage:20240123 date;done

In terminal 2:

$ while :;do bin/podman auto-update;done
Error: container 2815a2a15731c266cc447d5e61becbbdc1aee31580e2c915ef8162ea1ded0617 does not exist in database: no such container
Error: container 92bb729f47f1f7400fb8f90511a6406e19ee67c637905d63bb892036d4b86987 does not exist in database: no such container
Error: container 5a58708f367a36f2f323dcc9e1fb45ef8d83a892a9ef4d819408ee36d1af93cd does not exist in database: no such container
Error: container 8aa0908c890a67d55d1a0984ac47e5eef92683af56ef010a8f4e4bb17b861891 does not exist in database: no such container
...etc etc etc

Expected: no output from auto-update command, ever.

@edsantiago edsantiago added the flakes Flakes from Continuous Integration label Jul 15, 2024
@edsantiago
Copy link
Member Author

(This seems to be an argument in favor of parallelizing bats tests)

@edsantiago
Copy link
Member Author

Same with podman system df

@mcv21
Copy link

mcv21 commented Jul 17, 2024

This issue is causing us issues in our production environment - Ceph periodically creates some short-lived containers (e.g. checking the state of OSDs on a node), and we've observed podman-auto-update losing this race and erroring out (which our alerting system picks up as a failure) - for an example syslog paste see https://phabricator.wikimedia.org/P66707

@Luap99 Luap99 self-assigned this Jul 17, 2024
@Luap99 Luap99 added the kind/bug Categorizes issue or PR as related to a bug. label Jul 17, 2024
@Luap99
Copy link
Member

Luap99 commented Jul 17, 2024

I take care of it, that should be trivial to fix.

@stale-locking-app stale-locking-app bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Oct 17, 2024
@stale-locking-app stale-locking-app bot locked as resolved and limited conversation to collaborators Oct 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
flakes Flakes from Continuous Integration kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants