Monday, 2021-06-21

opendevreviewMerged openstack/ceilometer master: Remove references to Ocata and Newton  https://review.opendev.org/c/openstack/ceilometer/+/79707009:27
indiHello16:34
indiSince cpu_util metric was deprecated in recent openstack versions, does anyone have a working heat template for auto scale group for cpu that works on Victoria or Wallaby?16:34
indiI have tried to use the OS::Aodh::GnocchiAggregationByResourcesAlarm, but it seems it does not work properly. After the first time it scale up, the logs start showing wrong numbers for cpu metric16:35
mrungeindi: hi, what kind of archive policy do you use?17:17
mrungeindi: the idea was, to let gnocchi do the calculation for cpu utilitization17:18
mrungethere is https://review.opendev.org/c/openstack/aodh/+/786880 , which is a kind of hack in my eyes17:18
indiHi mrunge I use the ceilometer-low-rate policy. It is type instance and unit ns17:46
indiaggregation_methods | rate:mean, mean17:47
indidefinition          | - timespan: 30 days, 0:00:00, granularity: 0:05:00, points: 864017:47
indiWhen I perform the query using gnocchi command it seems correct, but the aodh alarm reports wrong numbers for cpu17:48
mrungeuhm, what do you get?18:28
indihttp://paste.openstack.org/show/806839/18:31
mrungethe values are *a lot* bigger than expected, right?18:37
mrungeother than that, not much should have changed18:38
mrungeindi: and you may be interested in https://berndbausch.medium.com/how-i-learned-to-stop-worrying-and-love-gnocchi-aggregation-c98dfa2e20fe18:39
servagemyes. I thought it both should return the same values, not?18:43
indimrunge, not sure if I got you18:43
indiI have started the stack with asg, after the first 5 minutes, the alarm is triggered to scale up. A second instance is created.18:44
indiafter that more 5 minutes the alarm trigger to scale down. The fist instance get deleted18:46
indieven after several minutes the alarm to scale down keeps in alarm state18:46
indiwhat is strange is that I have configured cpu stress to runs in cloud-init. So all instances are always 100% cpu used18:48
indibut after the first scale up, the alarm reports numbers a lot lower than expected18:48
mrungeI remember heading a comparable bug report19:00
mrunge... hmmmm19:01
mrungestrange19:01
indiyep, I haven't found any example on internet that works for recent openstack versions 19:18
indimost of examples still use cpu_util metric19:19

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!