/opt/vmware/vcloud-director/autoscale.log on the Cells state that the cpu.ready.summation metric is missing (Missing = true):| INFO | ShortScaleGroupId #### | MetricFactory | Scalegroup urn:vcloud:entity:vmware:scalegroup:########-####-####-####-############, Missing one or both metrics cpu.usage.average: false, cpu.ready.summation: true |VMware Cloud Director 10.6.x
This issue occurs if the cpu.ready.summation metric has not been added to Cloud Director's metric configuration.
To resolve the issue ensure the cpu.ready.summation metric has been added to Cloud Director's metric configuration by creating a metrics.groovy file and applying it using the cell-management-tool configure-metrics command.
This process is detailed in the documentation on how to Configure and Publish the Auto Scale Plug-in to Your VMware Cloud Director.
After following the steps to add the metric, ensure the Cloud Director service vmware-vcd is restarted on all Cells.
NOTE: restarting the Cloud Director service will make the Cloud Director UI unavailable from that Cell until the service restarts.
service vmware-vcd restart
Auto Scale Groups in the VMware Cloud Director Tenant Portal
To view the configured metrics in Cloud Director, SSH to the Primary Cell as root and run the following command:
sudo -i -u postgres psql vcloud -c "select * from metric_configuration;"