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

kdump to an NFS share require additional configuration (was: Consider adding NFS module to initramfs) #1729

Open
jbtrystram opened this issue May 14, 2024 · 9 comments
Assignees

Comments

@jbtrystram
Copy link
Contributor

Currently, the nfs kernel module is excluded from initramfs as we don't support root on NFS.
However, this prevents kdump to use NFS as a target for logs.

So maybe we could add back that module, or find a way to enable it only in the kdump case ?

See https://issues.redhat.com/browse/OCPBUGS-31755

@travier
Copy link
Member

travier commented May 31, 2024

@jbtrystram
Copy link
Contributor Author

jbtrystram commented May 31, 2024

yes we explicitely omit it there that's why I opened this

@gursewak1997
Copy link
Member

Discussed in the community meeting
This issue should be discussed/fixed with upstream kdump maintainers i.e. i.e. the fix here isn't in our stack, but upstream.

@jbtrystram jbtrystram added the jira for syncing to jira label Jun 24, 2024
@travier travier changed the title consider adding NFS module to initramfs Consider adding NFS module to initramfs Jun 27, 2024
@travier
Copy link
Member

travier commented Jun 27, 2024

We should document how to workaround this issue for kdump.

It should be possible to force the inclusion of the nfs module in the kdump initramfs by passing the --force-add nfs argument to the dracut call via the dracut_args config option in kdump.conf.

@jbtrystram
Copy link
Contributor Author

jbtrystram commented Jul 1, 2024

@travier another easy way is just to add extra_modules nfs to kdump.conf

Surprisingly dracut_args does not work while extra-modules does. See rhkdump/kdump-utils#11 (comment)

@travier
Copy link
Member

travier commented Jul 1, 2024

We should document how to workaround this issue for kdump.

It should be possible to force the inclusion of the nfs module in the kdump initramfs by passing the --force-add nfs argument to the dracut call via the dracut_args config option in kdump.conf.

Apparently this does not work and is tracked in https://issues.redhat.com/browse/RHEL-26114

@travier travier changed the title Consider adding NFS module to initramfs kdump to an NFS share require additional configuration (was: Consider adding NFS module to initramfs) Jul 1, 2024
@travier
Copy link
Member

travier commented Jul 1, 2024

We should add a test for this case.

@jbtrystram jbtrystram self-assigned this Jul 2, 2024
@jbtrystram
Copy link
Contributor Author

@travier
Copy link
Member

travier commented Sep 13, 2024

Might be needed related as well: https://gitlab.com/fedora/bootc/base-images/-/merge_requests/32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants