Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2257419

Summary: [17.1] "virsh cpu-stats" command fails after tripleo_nova_libvirt service is restarted
Product: Red Hat OpenStack Reporter: Bogdan Dobrelya <bdobreli>
Component: openstack-tripleo-heat-templatesAssignee: OSP Team <rhos-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Joe H. Rahme <jhakimra>
Severity: high Docs Contact:
Priority: high    
Version: 17.1 (Wallaby)CC: alifshit, astupnik, bdobreli, berrange, chrisbro, dhill, gregraka, jgrosso, joflynn, jparker, jveiraca, kchamart, lsvaty, mburns, mprivozn, riramos, rmanes, smooney, tsaito, vcojot
Target Milestone: z4Keywords: TestOnly, Triaged
Target Release: 17.1   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-14.3.1-17.1.20231103010826.el9ost Doc Type: Known Issue
Doc Text:
The way cgroups are managed for `libvirt` changed between RHEL releases. As a result, `virsh cpu-stats` is not an officially supported part of the Red Hat OpenStack Platform (RHOSP) product. The functionality is provided by the underlying version of `libvirt` received from RHEL. Greenfield RHOSP 17.x is only supported on RHEL 9, which uses cgroups v2. The cgroups v2 API does not provide the API required to support the `virsh cpu-stats` API and this functionality is unavailable when using 17.1 on RHEL 9. + RHOSP 17.1 on RHEL 8, supported during mixed RHEL upgrades from 16.2, has been updated to make virsh cpu-stats functional while running on rhel 8.4. As a result, virsh cpu-stats functionality has been restored on RHEL 8 hosts but is unavailable on fully upgraded RHEL 9 hosts.
Story Points: ---
Clone Of: 2228376 Environment:
Last Closed: 2024-08-20 10:30:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2228376    
Bug Blocks: 2244501    

Comment 21 Red Hat Bugzilla 2025-02-09 04:25:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days