Error opening console in virt-manager

Hello everyone,

I am using virt-manager and qemu/KVM to run a few virtual machines on my desktop.
Recently, I started getting an error message when trying to open the console of a VM (this happens for all VMs):
Internal error: failed to parse JSON 1:59: too big integer near ‘18446744073709551615’

I found a thread in the Arch Linux forums describing the same error message: https://bbs.archlinux.org/viewtopic.php?pid=1802642

Apparently the bug is due to virt-manager switching to a different JSON library. The problems appears to be resolved upstream, so I am optimistic it will be fixed in Tumbleweed soon, as well.
For the time being, has anyone found a workaround?

Fortunately, I mostly just ssh into my VMs, so it is not a huge deal, but still.

Thank you very much,
Benjamin

I would guess maybe one of the configuration files for the VMs have a max
amount of virtual memory in them, and that number happens to be 2^64-1, so
it is probably coded in there If that’s the case, perhaps you can just go
to the file, make it some more-reasonable number, and then try it at that
point.

You mentioned it is fixed upstream; perhaps you could incorporate the fix
directly into your system. If you share the link to the upstream fix,
that may help us confirm that suspicion.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.

Thank you!

Whatever it was, I ran zypper dup today which updated ~150 packages, and now it is working again. :wink:

I am glad to hear it. That detail may help others in your situation in
the future, particularly since it was a known issue fixed upstream. Nice
to know Tumbleweed is rolling as quickly as we believe it is.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.