-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Use correct kernel flavor for zfs kernel modules on alpine #10456
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
base: main
Are you sure you want to change the base?
Use correct kernel flavor for zfs kernel modules on alpine #10456
Conversation
Can you rebase to the current |
Ping @tomhesse |
a0d0b68
to
d04680f
Compare
There is a mismatch between running kernel version and modules on the Alpine VM:
@Akasurde @mattclay does this need a change in the Ansible testing infrastructure, or is there something we can do about it in c.g? |
@felixfontein My first guess is that something is upgrading the kernel modules, either explicitly or as part of installing another package. Without a reboot, that will then prevent those kernel modules from being loaded. I've encountered this issue in tests before. Depending on the exact cause, there are a few options to solve the issue:
Take a look at the test run to see if you can figure out where the mismatched modules come from. It might help to use Let me know what you find. If you need help after looking into it, let me know. |
@mattclay the problem is that apk does not allow you to install older versions of packages. Trying to install the right version of I guess the only way to fix this is to change the VM bootstrap to upgrade to the latest package versions, resp. to update the VM image every time the kernel version changes so it always comes with the latest kernel. Which both is probably problematic for other reasons... |
SUMMARY
Use the correct kernel flavor from the ansible_kernel fact to ensure the correct zfs modules are installed for integration testing.
Fixes #10453
ISSUE TYPE
COMPONENT NAME
zpool