Bug 2085347
Summary: | [RFE] kdump: support dump to virtiofs | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Dave Young <ruyang> |
Component: | kexec-tools | Assignee: | ltao |
Status: | CLOSED ERRATA | QA Contact: | Jie Li <jieli> |
Severity: | unspecified | Docs Contact: | Sujata Kurup <skurup> |
Priority: | unspecified | ||
Version: | 9.2 | CC: | bhe, gmaglione, jieli, lijin, ltao, piliu, vgoyal, xiagao, xuma, yiyan |
Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | kexec-tools-2.0.25-3.el9 | Doc Type: | Enhancement |
Doc Text: |
.`virtiofs` support for `kexec-tools` enabled
This enhancement adds the `virtiofs` feature for `kexec-tools` by introducing the new option, `virtiofs myfs`, where `myfs` is a variable tag name to set in the `qemu` command line, for example, `-device vhost-user-fs-pci,tag=myfs`
The `virtiofs` file system implements a driver that allows a guest to mount a directory that has been exported on the host. By using this enhancement, you can save the virtual machine's `vmcore` dump file to:
* A `virtiofs` shared directory.
* The sub-directory, such as `/var/crash`, when the root file system is a `virtiofs` shared directory.
* A different `virtiofs` shared directory, when the virtual machine’s root file system is a `virtiofs` shared directory.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2023-05-09 08:14:41 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1967958 |
Comment 7
xiagao
2022-05-17 02:05:16 UTC
(In reply to xiagao from comment #7) > I list some basic virtiofs usage, you can have a reference. > > 1. virtiofs as root filesystem > For this one, you can refer to the following test case in polarion. > https://polarion.engineering.redhat.com/polarion/#/project/RHELVIRT/ > workitem?id=RHEL-272816 > As you know, there is an open bug for dracut to support virtiofs, so the > steps are just a workaround. > > 2. vmcore can be seen on host side without nfs setup/extra copy > The following polarion case is for this scenario, I think you can first > setup virtiofs according to this. > https://polarion.engineering.redhat.com/polarion/#/project/RHELVIRT/ > workitem?id=RHEL-182379 > > > Besides, Virtiofs only support RHEL8.2 (kernel-4.18.0-149.el8.x86_64) and > later. > And for RHEL9.0, virtiofsd pkg is needed. > In RHEL8 we are using C virtiofsd which is part of qemu. In RHEL9.0 we are using rust based virtiofsd which is a package of its own. Development on C version of virtiofsd is more or less frozen. So let us focus on rust virtiofsd instead. Right now rust virtiofsd is being packaged for fedora. So let us just take fedora VM, configure virtiofs and try to make kdump work. And upstream fixes in various components as needed. The v1 patch for fedora has been posted [1]. [1]: https://lists.fedoraproject.org/archives/list/kexec@lists.fedoraproject.org/thread/F6TEX2GSSC4GAJ5ZVY5WMGS66T7V52S4/ (In reply to xiagao from comment #7) > I list some basic virtiofs usage, you can have a reference. > > 1. virtiofs as root filesystem > For this one, you can refer to the following test case in polarion. > https://polarion.engineering.redhat.com/polarion/#/project/RHELVIRT/ > workitem?id=RHEL-272816 > As you know, there is an open bug for dracut to support virtiofs, so the > steps are just a workaround. > > 2. vmcore can be seen on host side without nfs setup/extra copy > The following polarion case is for this scenario, I think you can first > setup virtiofs according to this. > https://polarion.engineering.redhat.com/polarion/#/project/RHELVIRT/ > workitem?id=RHEL-182379 > > > Besides, Virtiofs only support RHEL8.2 (kernel-4.18.0-149.el8.x86_64) and > later. > And for RHEL9.0, virtiofsd pkg is needed. > > Here are some docs you can refer to. > https://libvirt.org/kbase/virtiofs.html > https://virtio-fs.gitlab.io/howto-qemu.html Hi xiaogao, Currently we only tested virtiofs support for kdump on qemu-kvm. However we don't know if virtiofs support other virtualization platforms and should be tested as well. For example, does virtiofs support PowerVM on ppc arch, and did you test it before? Thanks, Tao Liu (In reply to ltao from comment #26) > (In reply to xiagao from comment #7) > > I list some basic virtiofs usage, you can have a reference. > > > > 1. virtiofs as root filesystem > > For this one, you can refer to the following test case in polarion. > > https://polarion.engineering.redhat.com/polarion/#/project/RHELVIRT/ > > workitem?id=RHEL-272816 > > As you know, there is an open bug for dracut to support virtiofs, so the > > steps are just a workaround. > > > > 2. vmcore can be seen on host side without nfs setup/extra copy > > The following polarion case is for this scenario, I think you can first > > setup virtiofs according to this. > > https://polarion.engineering.redhat.com/polarion/#/project/RHELVIRT/ > > workitem?id=RHEL-182379 > > > > > > Besides, Virtiofs only support RHEL8.2 (kernel-4.18.0-149.el8.x86_64) and > > later. > > And for RHEL9.0, virtiofsd pkg is needed. > > > > Here are some docs you can refer to. > > https://libvirt.org/kbase/virtiofs.html > > https://virtio-fs.gitlab.io/howto-qemu.html > > Hi xiaogao, > > Currently we only tested virtiofs support for kdump on qemu-kvm. However we > don't know if virtiofs support other virtualization platforms and should be > tested as well. For example, does virtiofs support PowerVM on ppc arch, and > did you test it before? Needinfo xuma here as he is the virtiofs feature owner on ppc arch. > > Thanks, > Tao Liu (In reply to xiagao from comment #28) > > > > Hi xiaogao, > > > > Currently we only tested virtiofs support for kdump on qemu-kvm. However we > > don't know if virtiofs support other virtualization platforms and should be > > tested as well. For example, does virtiofs support PowerVM on ppc arch, and > > did you test it before? We only test kvm, PowerVM is not tested. > Needinfo xuma here as he is the virtiofs feature owner on ppc arch. > > > > > Thanks, > > Tao Liu Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (kexec-tools bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2463 |