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

tests/upgrade: make more robust, handle cgroups v1 #3142

Merged
merged 3 commits into from
Sep 5, 2024

Conversation

dustymabe
Copy link
Member

See individual commits. Summary:

  • tests/upgrade: just reboot if any configuration changes were needed
  • tests/upgrade: add workaround for cgroups v1 origins
  • Update cgroups warning with new information

I've seen nodes get into a stuck state if we made configuration changes
to the node in order to workaround the various starting state issues
over time. Let's just do a whole instance reboot if we made any
configuration changes to the instance to guarantee we don't end up
in a situation where the node is waiting forever to upgrade.
In Fedora 41 now apparently cgroups v2 is no longer supported at all:

```
[    2.070050] Run /init as init process
[!!!!!!] Refusing to run under cgroup v1, SY… specified on kernel command line.
```

So when upgrading from older systems that defaulted to cgroups v1 we
need to just go ahead and move them over to cgroups v2 so they'll be
able to update fully to the latest FCOS releases being built today.
It looks like F41+ systems will simply refuse to boot with a
message like:

```
[    2.070050] Run /init as init process
[!!!!!!] Refusing to run under cgroup v1, SY… specified on kernel command line.
```
@jlebon jlebon merged commit 2e10ea8 into coreos:testing-devel Sep 5, 2024
3 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