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

nodesim: mount cgroup host path #94

Merged
merged 1 commit into from
Apr 3, 2024
Merged

nodesim: mount cgroup host path #94

merged 1 commit into from
Apr 3, 2024

Conversation

lgfa29
Copy link
Contributor

@lgfa29 lgfa29 commented Mar 27, 2024

PR hashicorp/nomad#19915 added an explicit error check to prevent silent failures when clients are unable to properly setup cgroups.

This prevents nomad-nodesim jobs to start unless /sys/fs/cgroup is available for write inside the container.

Since nomad-nodesim doesn't run real allocations, mounting the host path should be fine (famous last words).

PR hashicorp/nomad#19915 added an explicit error
check to prevent silent failures when clients are unable to properly
setup cgroups.

This prevents `nomad-nodesim` jobs to start unless `/sys/fs/cgroup` is
available for write inside the container.

Since `nomad-nodesim` doesn't run real allocations, mounting the host
path _should_ be fine (famous last words).
@lgfa29 lgfa29 merged commit 7e25ccf into main Apr 3, 2024
@lgfa29 lgfa29 deleted the b-fix-nodesim-cgroup branch April 3, 2024 00:54
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