Bug 1614959

Summary: Jansson can not always parse QEMU's JSON: failed to parse JSON: too big integer near '18446744073709551615'
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: agedosier, anton.gubarkov, berrange, clalancette, crobinso, itamar, jforbes, laine, libvirt-maint, phrdina, veillard
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-4.7.0-1.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-27 10:49:43 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:
Attachments:
Description Flags
screenshot
none
dmesg none

Description Mikhail 2018-08-10 20:53:27 UTC
Created attachment 1475160 [details]
screenshot

Description of problem:
When I tries connected to graphical console I get error message:
Error connecting to graphical console:
internal error: failed to parse JSON 1:63: too big integer near '18446744073709551615'

Version-Release number of selected component (if applicable):
# rpm -q virt-manager
virt-manager-1.6.0-0.3.git3bc7ff24c.fc29.noarch

Comment 1 Mikhail 2018-08-10 21:12:13 UTC
Created attachment 1475161 [details]
dmesg

Comment 2 Cole Robinson 2018-08-11 17:39:02 UTC
This is due to libvirt's switch from yajl to jansson. There's an upstream bug tracking it. Only option in the meantime is to downgrade libvirt*

https://bugzilla.redhat.com/show_bug.cgi?id=1614569

Comment 3 Jan Kurik 2018-08-14 08:37:09 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 4 Pavel Hrdina 2018-09-27 10:49:43 UTC
The latest build libvirt-4.7.0-1.fc29 should fix the issue, the jansson switch was reverted.