You are not logged in.

#1 2019-01-24 16:54:46

bachtiar
Member
Registered: 2005-02-08
Posts: 64

virt-manager CPU graph empty

After upgrade, I noticed that CPU graphs in virt-manager for qemu guets are empty. I am running VMs as a regular user (connection URL is qemu:///session).

I had to install python-cairo to make graphs visible at all. Now, I can get network, memory and disk graphs to work, but "CPU Usage" and "Host CPU Usage" are still empty - graph is visible, but contains no data.

What could be the reason?

Polling of CPU usage in Preferences is enabled.

Thanks!

Offline

#2 2019-01-26 17:51:06

kriansa
Member
Registered: 2019-01-26
Posts: 5

Re: virt-manager CPU graph empty

This is due to a missing dependency python-cairo. It's already being tracked here: https://bugs.archlinux.org/task/60477

See also: https://bbs.archlinux.org/viewtopic.php?id=230319

Offline

#3 2019-02-04 14:38:44

bachtiar
Member
Registered: 2005-02-08
Posts: 64

Re: virt-manager CPU graph empty

kriansa wrote:

This is due to a missing dependency python-cairo. It's already being tracked here: https://bugs.archlinux.org/task/60477

See also: https://bbs.archlinux.org/viewtopic.php?id=230319

Thanks, but I already installed python-cairo as mentioned above. The graphs are working, only the CPU and memory graphs contain no data. Any idea?

Last edited by bachtiar (2019-02-04 15:07:48)

Offline

#4 2019-03-11 11:06:52

bachtiar
Member
Registered: 2005-02-08
Posts: 64

Re: virt-manager CPU graph empty

Looks like the problem is not with graphs, but with getting the data for CPU stats. If I run the corresponding virsh command, I get this:

$ virsh cpu-stats mydomain
error: Failed to retrieve CPU statistics for domain 'mydomain'
error: Requested operation is not valid: cgroup CPUACCT controller is not mounted

How can I fix it?
(Note: this was already working in the past before I updated the system, so it seems to be a regression.)

Last edited by bachtiar (2019-03-11 11:13:12)

Offline

#5 2019-04-11 12:31:18

mike2307
Member
Registered: 2019-04-11
Posts: 1

Re: virt-manager CPU graph empty

I'm having the same issue on Fedora 29.

When using gnome-boxes in can see the CPU graph. In virt-manager, the CPU graph isn't shown.

How can this be fixed?

Offline

Board footer

Powered by FluxBB