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: CLOSED DUPLICATE of bug 1899612
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: 2023-12-15 19:50 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-06 06:16:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-5840 0 None None None 2022-08-11 12:12:00 UTC

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

Comment 4 Matthias Runge 2021-07-06 06:16:14 UTC
This was targeted for osp13z14, but misses a build. The fix is proposed as documentation fix, I'm going to close this in favor of the documentation change.

*** This bug has been marked as a duplicate of bug 1899612 ***


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