This bug is about the second part of bz 1806339 - showing the total number of huge pages on the host.
Verified with ovirt-engine-4.5.0.2-0.7.el8ev.noarch Before VMs starting on host: Huge Pages (size: free/total): 2048: 1024/1024, 1048576: 4/4 Start VM1(system memory 1024) with HugePages 2048, VM2(system memory 1024) with Hugepages 1048576, VM3(system memory 3072) with HugePages 1048576: Huge Pages (size: free/total): 2048: 512/1024, 1048576: 0/4 Check free/total huge pages in host statistics via API: <statistic id="6c5d91a5-6077-3f4e-8390-4023c6178729"> <name>hugepages.2048.free</name> <description>Amount of free huge pages of the given size</description> <kind>gauge</kind> <type>integer</type> <unit>none</unit> <values> <value> <datum>512</datum> </value> </values> </statistic> <statistic id="0cd932f5-ca10-33ec-9ee4-afa34ab786a6"> <name>hugepages.1048576.free</name> <description>Amount of free huge pages of the given size</description> <kind>gauge</kind> <type>integer</type> <unit>none</unit> <values> <value> <datum>0</datum> </value> </values> </statistic> <statistic id="3dc5d3c1-831a-395b-9ee6-efc87bd379de"> <name>hugepages.2048.total</name> <description>Amount of total huge pages of the given size</description> <kind>gauge</kind> <type>integer</type> <unit>none</unit> <values> <value> <datum>1024</datum> </value> </values> </statistic> <statistic id="bf05b935-41a1-3ab3-a9e4-3917a0bc5146"> <name>hugepages.1048576.total</name> <description>Amount of total huge pages of the given size</description> <kind>gauge</kind> <type>integer</type> <unit>none</unit> <values> <value> <datum>4</datum> </value> </values> </statistic>
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022. Since the problem described in this bug report should be resolved in oVirt 4.5.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.