Heat autoscaling with gnocchi based aodh alarms requires use of naive instance_discovery_method setting with ceilometer compute agents?
Bug #1749954 reported by
Gary Mackenzie
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Invalid
|
Undecided
|
Unassigned | ||
OpenStack Ceilometer Agent Charm |
Invalid
|
High
|
James Page |
Bug Description
OpenStack Release: Ocata
Gnocchi Version: 3.1.9
Ubuntu Release: Xenial
Deployment method: Charms
Using default settings, using heat autoscaling with gnocchi based alarms in aodh, the metadata for server group does not appear in libvirt-metadata, so 'gnocchi measures aggregation --resource-type instance --query server_
Changing 'instance_
Changed in charm-ceilometer-agent: | |
status: | In Progress → Incomplete |
summary: |
Heat autoscaling with gnocchi based aodh alarms requires use of naive - instance_discovery_method setting with ceilometer compute agents + instance_discovery_method setting with ceilometer compute agents? |
To post a comment you must log in.
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.