Kdump (kernel crash dump) redesign #19203
Replies: 3 comments
-
Current WIP mockup:
I'll work on refining it and adding more soon. |
Beta Was this translation helpful? Give feedback.
-
Putting here newer mockup with me and @garrett discussed privately on Matrix: This iteration doesn't implement history of kernel crashes, as that might be too complex to figure out. Instead it contains the Status feature will be able to detect if kdump configuration is up to date and if test of its configuration went succesfully. This feature was described at #19107 (comment) . |
Beta Was this translation helpful? Give feedback.
-
Sorry for the late response. I'd like to share the working status about kdumpctl test/test-check. I have planed to provide a simple interface from kexec-tools side as kdumpctl test/test-check as I mentioned previously. However after discussion, there is a trend for kexec-tools to be decoupled into sub-packages1, so people don't like the idea to integrate more code into kexec-tools. Since kdumpctl test/test-check is not a functional feature, but a user experience feature. So I re-designed the test/test-check code by creating a new independent repo 2, and the interface will be changed into "kdump-test test/test-check". "kdump-test test" will trigger a real kernel crash and dump, and "kdump-test test-check" will actually check if there is vmcore generated specifically for this test, it will automatically mount/ssh if the dump target is a remote fs based on kdump.conf, and give test result as "test successful" or "test failed". Only the "test successful" kdump configs can be regarded as valid. If cockpit will continue to use the test/test-check interface, there will be an issue of cockpit how to integrate the kdump-test source code. Because we don't plan to make the new repo a rpm package to maintain for it is too small and simple. Cockpit can call test/test-check by invoke command line as "curl https://raw.githubusercontent.com/rhkdump/kdump-test/master/kdump-test{-lib.sh,} | bash -s test/test-check", instead of the previous "kdumpctl test/test-check". But it requires external network access, so it may be unfriendly for cases which can only access to internal netwok. Anyway, this is not a final design and I'd like to hear your suggestions and comments if you are still interested in test/test-check interface. Thanks, |
Beta Was this translation helpful? Give feedback.
-
I'm currently working on a Kdump redesign. And thought having a discussion about it would be useful.
Right now, we have discussion happening on a a pull request, but I'd like for the discussion to continue after the PR is merge. Hence, opening it up here.
The discussion:
@liutgnu from the kdump team started it @ #19107 (comment):
And then @skobyda (basically) agreed with all the points @ #19107 (comment)
Then @liutgnu added:
And then I chimed in with more mockups @ #19107 (comment) (some other mockups are above in that PR, for the test crash confirmation modal).
Beta Was this translation helpful? Give feedback.
All reactions