Bug 1749257
Summary: | Failed to start second guest which use a shared nvdimm device | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Luyao Huang <lhuang> |
Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> |
libvirt sub component: | General | QA Contact: | Luyao Huang <lhuang> |
Status: | CLOSED MIGRATED | Docs Contact: | |
Severity: | medium | ||
Priority: | high | CC: | dyuan, hhan, jinqi, jsuchane, lcong, lmen, virt-maint, xuzhang, yafu, yalzhang |
Version: | 9.0 | Keywords: | MigratedToJIRA, Reopened, Triaged |
Target Milestone: | rc | Flags: | knoel:
mirror+
|
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-09-22 12:19:51 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: |
Description
Luyao Huang
2019-09-05 08:50:29 UTC
Also hit this issue when using pipe serial device. <serial type='pipe'> <source path='/mnt/pipe'/> <target type='pci-serial' port='0'> <model name='pci-serial'/> </target> <alias name='ua-600dc99f-3bb9-43c2-bf4c-1558d1e00512'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x05' function='0x0'/> </serial> # virsh start test error: Failed to start domain test error: internal error: child reported (status=125): Requested operation is not valid: Setting different SELinux label on /mnt/pipe which is already in use I think my seclabel remembering only uncovered the issue that was dormant. Previously, we relabeled the file without asking and thus effectively cut off the access for qemu that's running. It didn't caused much trouble because qemu did not repoen the NVMDIMM. What we should to is to introduce <seclabel/> element to <memory/> so that a different seclabel can be set (the same way we allow overriding seclabel for other devices). And as for the <serial/> - you need to specify a seclabel so that libvirt doesn't invent a new one (which fails obviously). This issue also occurred for disk device with the same scenario, Han, would you please add a comment for the failure scenarios? Thx. (In reply to Xuesong Zhang from comment #3) > This issue also occurred for disk device with the same scenario, Han, would > you please add a comment for the failure scenarios? Thx. After a analysis, the scenarios Han met is similar with the following BZ, so add scenarios there. Please ignore the above comment. https://bugzilla.redhat.com/show_bug.cgi?id=1740024#c9 After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. Hi Michal, I reopen this bug since this issue still exists on libvirt-8.0.0-8.el9_0.x86_64 of rhel9.0. Could you help to confirm whether this bug should be fixed, if so, do you have plan to fix it? Thanks Liang Cong Yes, this should be fixed. However, I have no timeframe yet. Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug. This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information. |