Bug 1207849 - No useful error message reported with certain nodeinfo failure
Summary: No useful error message reported with certain nodeinfo failure
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ján Tomko
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-31 20:47 UTC by Cole Robinson
Modified: 2015-06-02 14:35 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-02 14:35:34 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.