Bug 1207849

Summary: No useful error message reported with certain nodeinfo failure
Product: [Community] Virtualization Tools Reporter: Cole Robinson <crobinso>
Component: libvirtAssignee: Ján Tomko <jtomko>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jtomko, rbalakri
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-02 14:35:34 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 Cole Robinson 2015-03-31 20:47:56 UTC
This commit:

commit c13de016916c826ad4d35157ee6a52baee87ac22
Author: Wei Huang <wei>
Date:   Thu Mar 26 00:48:13 2015 -0400

    nodeinfo: Increase the num of CPU thread siblings to a larger value

Fixed a nodeinfo error on some aarch64 kernels. When it was failing though libvirt was reporting the 'An error occurred, but the cause is unknown' catch all. That should be fixed.

It should be reproducible with the test suite now as of commit 7c3c7f217. So revert Wei's commit above, run the nodeinfo test, and it should fail with no useful error reported.

Comment 1 Ján Tomko 2015-06-02 12:56:24 UTC
Upstream patch:
https://www.redhat.com/archives/libvir-list/2015-June/msg00092.html

Comment 2 Ján Tomko 2015-06-02 14:35:34 UTC
Now pushed upstream:
commit e37bcbd9b85406a27cad27191c8cf0f42bd18fca
Author:     Ján Tomko <jtomko>
CommitDate: 2015-06-02 16:13:10 +0200

    Report errors in virNodeCountThreadSiblings
    
    Use virFileReadAll which reports an error when the file is larger
    than the specified maximum.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1207849

git describe: v1.2.16-20-ge37bcbd