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 |
I was able to reproduce this bug in the lab. Documentation changes have been proposed: https://bugzilla.redhat.com/show_bug.cgi?id=1899612
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 ***