"If you are using Gnocchi as backend it’s strongly recommended to switch [compute]/instance_discovery_method to libvirt_metadata. This will reduce the load on the Nova API especially if you have many compute nodes."
However if you use the sample heat autoscaling template from:
which includes the use of aodh with gnocchi based alarms, if ceilometer compute agents are configured with the default [compute]/instance_discovery_method @ Ocata, metadata is not retrieved by the agent and as a result the attribute is never set on the instance resource records in gnocchi.
Switching to naive resolves this issue, however it obviously generates load on the Nova API for metadata retrieval.
See Ocata release notes for Ceilometer:
https:/ /docs.openstack .org/releasenot es/ceilometer/ ocata.html
"If you are using Gnocchi as backend it’s strongly recommended to switch [compute] /instance_ discovery_ method to libvirt_metadata. This will reduce the load on the Nova API especially if you have many compute nodes."
However if you use the sample heat autoscaling template from:
https:/ /github. com/openstack/ heat-templates/ blob/master/ hot/autoscaling .yaml
which includes the use of aodh with gnocchi based alarms, if ceilometer compute agents are configured with the default [compute] /instance_ discovery_ method @ Ocata, metadata is not retrieved by the agent and as a result the attribute is never set on the instance resource records in gnocchi.
Switching to naive resolves this issue, however it obviously generates load on the Nova API for metadata retrieval.