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

[Backport 6.2] fix(hydra): limit tmpfs to 256m #9674

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jan 7, 2025

since we are might be running multiple hydra commands on the same jenkins builder, and we are running into those kind of error:

docker: Error response from daemon: failed to create task for container:
failed to create shim task: OCI runtime create failed: runc create failed:
unable to start container process: error during container init:
error mounting "tmpfs" to rootfs at "/home/jenkins/.local":
create mountpoint for /home/jenkins/.local mount:
mkdirat /var/lib/docker/.../.local: file exists: unknown.

we are trying to limit the memory to try to avoid this issue

Fixes: #9645

Testing

  • provision tests

PR pre-checks (self review)

  • I added the relevant backport labels
  • I didn't leave commented-out/debugging code

Reminders

  • Add New configuration option and document them (in sdcm/sct_config.py)
  • Add unit tests to cover my changes (under unit-test/ folder)
  • Update the Readme/doc folder relevant to this change (if needed)

(cherry picked from commit 9a73120)

Parent PR: #9650

@mergify mergify bot added the conflicts label Jan 7, 2025
@mergify mergify bot assigned fruch Jan 7, 2025
Copy link
Author

mergify bot commented Jan 7, 2025

Cherry-pick of 9a73120 has failed:

On branch mergify/bp/branch-6.2/pr-9650
Your branch is up to date with 'origin/branch-6.2'.

You are currently cherry-picking commit 9a73120e.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   docker/env/hydra.sh

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@mergify mergify bot marked this pull request as draft January 7, 2025 13:25
@vponomaryov vponomaryov added backport/none Backport is not required and removed conflicts labels Jan 7, 2025
@vponomaryov vponomaryov marked this pull request as ready for review January 7, 2025 16:10
since we are might be running multiple hydra commands on
the same jenkins builder, and we are running into those kind
of error:
```
docker: Error response from daemon: failed to create task for container:
failed to create shim task: OCI runtime create failed: runc create failed:
unable to start container process: error during container init:
error mounting "tmpfs" to rootfs at "/home/jenkins/.local":
create mountpoint for /home/jenkins/.local mount:
mkdirat /var/lib/docker/.../.local: file exists: unknown.
```

we are trying to limit the memory to try to avoid this issue

Fixes: #9645
(cherry picked from commit 9a73120)
@vponomaryov vponomaryov force-pushed the mergify/bp/branch-6.2/pr-9650 branch from 461634b to ca20f8a Compare January 7, 2025 16:13
@vponomaryov vponomaryov merged commit 7cd6173 into branch-6.2 Jan 7, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/none Backport is not required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants