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 of cgv1: do not disable cpuset manager if reserved interface already exists into release/1.3.x #16471

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

This PR is auto-generated from #16467 to be assessed for backporting due to the inclusion of the label backport/1.3.x.

The below text is copied from the body of the original PR.


This PR fixes a bug where restarting a Nomad Client on a machine using cgroups
v1 (e.g. Ubuntu 20.04 or earlier) would cause the cpuset cgroups manager to disable itself.

This is being caused by incorrectly interpreting a "file exists" error as
problematic when ensuring the reserved cpuset exists. If we get a "file exists"
error, that just means there is nothing to do, and the cpuset manager should continue
initializing normally.

Note that a machine reboot would fix the issue - the interfaces are ephemeral.

Fixes #16291

@hc-github-team-nomad-core hc-github-team-nomad-core force-pushed the backport/cgv1-ignore-exists/strangely-valid-skunk branch from 3d1b9ab to a261e0e Compare March 13, 2023 22:00
@hc-github-team-nomad-core hc-github-team-nomad-core merged commit 0690f6b into release/1.3.x Mar 13, 2023
@hc-github-team-nomad-core hc-github-team-nomad-core deleted the backport/cgv1-ignore-exists/strangely-valid-skunk branch March 13, 2023 22:00
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.

None yet

2 participants