Bug 1540780
Summary: | Libvirtd crashed when try to start a guest with cachetune after remount resctrl/ | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Luyao Huang <lhuang> |
Component: | libvirt | Assignee: | Martin Kletzander <mkletzan> |
Status: | CLOSED ERRATA | QA Contact: | Luyao Huang <lhuang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.5 | CC: | dyuan, lmiksik, mkletzan, mtessun, rbalakri, xuzhang, yalzhang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-3.9.0-12.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-10 11:04:21 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
2018-02-01 00:56:01 UTC
Patches posted upstream: https://www.redhat.com/archives/libvir-list/2018-February/msg00128.html Verify this bug with libvirt-3.9.0-12.el7.x86_64: 1. mount resctrl # mount -t resctrl resctrl /sys/fs/resctrl/ 2. restart libvirtd # service libvirtd restart Redirecting to /bin/systemctl restart libvirtd.service 3. umount resctrl and remount with opt: # umount /sys/fs/resctrl # mount -t resctrl resctrl -o cdp /sys/fs/resctrl 4. start a guest which have cachetune: # virsh start vm1 error: Failed to start domain vm1 error: unsupported configuration: Not enough room for allocation of 1048576 bytes for level 3 cache 0 scope type 'code' And can hit this kind of error when start guest during mount/umount resctrl in a loop: error: Failed to start domain vm1 error: internal error: Missing or inconsistent resctrl info for level '3d' type 'both' Hi Martin, I think there is a typo in the error message: error: Failed to start domain vm1 error: internal error: Missing or inconsistent resctrl info for level '3d' type 'both' The level should be '3'. And check the code: + virReportError(VIR_ERR_INTERNAL_ERROR, + _("Missing or inconsistent resctrl info for " + "level '%ud' type '%s'"), + level, virCacheTypeToString(type)); Could you please help to check if this is a typo in the code ? if yes, can i verify this bug and ignore this issue in this bug ? (since it is a really tiny issue, we can fix this in the upstream) Thanks in advance for your reply (In reply to Luyao Huang from comment #5) Yes, that's a typo =) Thanks for letting me know, I'll add it to my future patches. (In reply to Martin Kletzander from comment #6) > (In reply to Luyao Huang from comment #5) > > Yes, that's a typo =) Thanks for letting me know, I'll add it to my future > patches. you are welcome :) thanks for your quick reply ! And move this bug to verified. 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, 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/RHEA-2018:0704 |