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 2024.1] fix(hydra): limit tmpfs to 256m #9676

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

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)
@mergify mergify bot assigned fruch Jan 7, 2025
@vponomaryov vponomaryov merged commit 4613fe8 into branch-2024.1 Jan 7, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants