Bug 1889571 - Autoscaling with gnocchi based aodh alarms requires use of naive instance_discovery_method setting with ceilometer compute agents
Summary: Autoscaling with gnocchi based aodh alarms requires use of naive instance_dis...
Keywords:
Status: POST
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: gnocchi
Version: 13.0 (Queens)
Hardware: All
OS: All
medium
medium
Target Milestone: z14
: 13.0 (Queens)
Assignee: Paul Leimer
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On: 1899612
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-20 02:49 UTC by Shailesh Chhabdiya
Modified: 2020-11-23 11:29 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description Shailesh Chhabdiya 2020-10-20 02:49:19 UTC
Description of problem:
While enabling the autoscaling in the RHOSP setup doesn't work as by default "instance_discovery_method=libvirt_metadata" is set in ceilometer.conf

After changing the value to "naive" it starts working

Version-Release number of selected component (if applicable):
RHOSP13

How reproducible:
Setup the env as per doc: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/13/html/auto_scaling_for_instances/configuring_auto_scaling_for_compute_instances


Actual results:
Doesn't work with default value

Expected results:
Should work as expected

Additional info:
Here is the upstream bug: https://bugs.launchpad.net/charm-ceilometer-agent/+bug/1749954

The state remains in "insufficient data"

(overcloud) [stack@sbdtel-hcm-ospd autoscaleout]$ openstack alarm list
+--------------------------------------+--------------------------------------------+-------------------------------------+-------------------+----------+---------+
| alarm_id                             | type                                       | name                                | state             | severity | enabled |
+--------------------------------------+--------------------------------------------+-------------------------------------+-------------------+----------+---------+
| d85cbb4d-5125-4502-a73a-9181ff5cbb52 | gnocchi_aggregation_by_resources_threshold | example-cpu_alarm_high-yhwhsf64mxuc | insufficient data | low      | True    |
| 1d2aa76a-2aa6-4b2a-bc6a-458bc6d684bd | gnocchi_aggregation_by_resources_threshold | example-cpu_alarm_low-5qtd35xpu2cx  | insufficient data | low      | True    |

Comment 3 Paul Leimer 2020-11-19 16:58:23 UTC
I was able to reproduce this bug in the lab. Documentation changes have been proposed: https://bugzilla.redhat.com/show_bug.cgi?id=1899612


Note You need to log in before you can comment on or make changes to this bug.