-
Notifications
You must be signed in to change notification settings - Fork 32
CLOUDP-362015 - use rootless podman #654
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
base: master
Are you sure you want to change the base?
Conversation
MCK 1.6.2 Release Notes |
| fi | ||
| export XDG_RUNTIME_DIR="${runtime_dir}" | ||
|
|
||
| # Clean up stale podman state (fixes "cannot re-exec process to join the existing user namespace") |
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.
this still happens, but once evg agents properly cleanup podman containers we should be able to rremove this: https://jira.mongodb.org/browse/DEVPROD-25447
scripts/minikube/setup_minikube.sh
Outdated
| local start_args=("--driver=podman") | ||
| start_args+=("--cpus=4" "--memory=8g") | ||
| # Use containerd as container runtime inside minikube for better rootless support | ||
| start_args+=("--container-runtime=containerd") |
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.
and containerd is also more stable
| Fetches an auth token from ECR via boto3 and logs | ||
| into the Docker daemon via the Docker SDK. | ||
| """ | ||
| import boto3 |
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.
lets only import this when we use this, otherwise build_image (for podman and minikube) and thus ibm container will need those deps
1796a5a to
c14c030
Compare
c14c030 to
bc55698
Compare
Summary
Fixes flaky test failures on IBM Power and Z static machines caused by mixed root/rootless podman usage.
Root cause: Static machines persist state between runs. The scripts mixed sudo podman (root) and podman (user), creating two separate container namespaces with different storage and auth locations. This caused:
Fix: Standardize on rootless podman everywhere:
Proof of Work
Checklist
skip-changeloglabel if not needed