AHB (Azure Hybrid Benefit) Cores incorrect for VMSS in the Cost Optimization Workbook #698
Labels
Solution: Workbooks
Azure Monitor workbooks
Status: 🕵️♀️ Investigating
Issue is actively being investigated
Type: Bug 🐛
Something isn't working
🐛 Problem
It seems that each entire VMSS is counted as the cores of only one instance VM regardless of the number of instances. One would expect a sum of all cores across all instances of the VMSS with each instance being at least 8 cores. Windows licenses are charged per instance so it would make sense to apply the AHB per instance, too.
It seems "Cores not enabled per AHB Priority" is always the same as "Consumed Cores per AHB Priority" in the pie chart. The table below seems to show correct (except what is described in 1.) data but the corresponding pie chart is showing something different. The query for the pie chart, in Line 3427 seems to refer to a query called "VMSSAHBEnabled-RG" even though this should be the case for VMSS AHB Disabled. Line 3714 shows that the query for the table correctly uses "VMSSAHBDisabled-RG" instead.
👣 Repro steps
🤔 Expected
"Consumed Cores per AHB Priority" should increase by n*max(8,vCores) where n is the number of instances and vCores is the number of cores in each instance. "Cores not enabled per AHB Priority" should not change in this case at all.
The text was updated successfully, but these errors were encountered: