"virsh cpu-stats" command fails after tripleo_nova_libvirt service is restarted

Solution Verified - Updated -

Issue

  • It is impossible to obtain CPU stats for existing instances after tripleo_nova_libvirt service is restarted:

    [root@compute-0 ~]# podman exec -it nova_libvirt virsh cpu-stats instance-0000001e
    error: Failed to retrieve CPU statistics for domain 'instance-0000001e'
    error: Requested operation is not valid: cgroup CPUACCT controller is not mounted
    

Environment

  • Red Hat OpenStack Platform 16.1
  • Red Hat OpenStack Platform 16.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content