Thursday, 2019-03-28

*** cooper6581 has quit IRC00:30
*** sapd1 has joined #openstack-telemetry02:04
sapd1Hi everyone.02:04
sapd1I'm trying to setup autoscale using senlin with aodh/ceilometer.02:05
sapd1follow this guide: https://docs.openstack.org/senlin/latest/scenarios/autoscaling_ceilometer.html02:05
sapd1I have a question about aodh.02:05
sapd1How aodh evaluate a cluster in senlin? When it triggers to scale out/in a cluster?02:05
sapd1for above example, Does it calculate average cpu util of all instances in cluster.02:06
*** gouthamr has quit IRC02:10
*** gouthamr has joined #openstack-telemetry02:12
*** psachin has joined #openstack-telemetry02:52
*** ivve has joined #openstack-telemetry04:01
*** ivve has quit IRC04:24
*** rcernin has quit IRC04:47
*** rcernin has joined #openstack-telemetry05:01
lxkongsapd1: when aodh is evaluating alarm, it doesn't talk directly with senlin cluster, but with gnocchi.05:11
lxkonghttps://www.irccloud.com/pastebin/EUDhd9yq/05:12
sapd1lxkong, So how gnocchi calculate metric for senlin cluster? I know aodh will send query parameters about cluster_id metadata to gnocchi. how about then?05:14
lxkongceilometer collects samples, stored in Gnocchi, Aodh query Gnocchi for metrics. If the threshold in Aodh alarm definition is met, then Aodh trigger the actions defined.05:16
sapd1lxkong, I know this flow, But in the cluster, we have many instances, we only have a threshold for all instances in cluster.05:17
sapd1assume we have 3 instances in a cluster, with 80, 70, 90% cpu_util. So when threshold is 75. Does it trigger?05:18
sapd1if we calculate average of cpu_util, the result is 80%. If we compare all instances, maybe AODH will not trigger.05:18
lxkongsapd1: i think that's calculated in Gnocchi, Aodh only get result from Gnocchi05:19
lxkongIIUC, in this case, Aodh will get the result 80%05:20
sapd1lxkong, I'm looking for this function in source code but I can't find.05:22
lxkongin which source code? Aodh? Gnocchi?05:22
sapd1both of them.05:22
lxkongsapd1: I'm not familiar with Gnocchi, but for Aodh, it's here https://github.com/openstack/aodh/blob/1b552dd82565157c123925adecd12fc279cbbee0/aodh/evaluator/gnocchi.py#L6005:26
lxkongin this class, aodh get result from Gnocchi, and do evaluation (defined in the parent class)05:27
dangtrinhntsapd1, and in gnocchi: https://github.com/gnocchixyz/gnocchi/tree/c960f2934fe63f3bc67b78d7514c877ad17375f2/gnocchi/rest/aggregates05:29
dangtrinhntThat's how the metrics will be processed.05:30
sapd1dangtrinhnt, lxkong So maybe when use query string `metadata.user_metadata.cluster_id=$MYCLUSTER_ID`, gnocchi will found all metric of this query (It will don't care about instances). Then it will aggregate all series return data point from storage.05:33
sapd1Thanks, lxkong dangtrinhnt05:33
lxkongnp05:33
dangtrinhntbtw, lxkong, since gnocchi has been moved out of OpenStack, do you think it should be a problem if we continue ceilometer?05:34
lxkongdangtrinhnt: what do you mean by 'continue ceilometer'?05:37
dangtrinhntI means while maintaining ceilometer, would it be any blockages because of gnocchi dependence?05:38
lxkongi don't think so.05:38
dangtrinhntokie05:38
lxkongthey has different project scope, ceilometer is only responsible for sample collection, but don't care the storage05:39
lxkongdangtrinhnt: actually, we are not using Gnocchi05:40
lxkongbecause we are using a very old version Ceilometer (still has ceilometer-api), so we move the Aodh ceilometer evaluator back05:40
dangtrinhntok. I'm asking because I see many Ceilometer features have been deprecated and replaced by gnocchi. I think after we can setup a conference call with you, me and any other contributors and figure out what we gonna do next.05:43
lxkongsure05:44
*** rcernin has quit IRC06:03
*** rcernin has joined #openstack-telemetry06:47
*** rcernin has quit IRC06:47
*** rcernin has joined #openstack-telemetry06:48
*** phasespace has quit IRC07:02
*** pcaruana has joined #openstack-telemetry07:20
*** amorin has quit IRC07:28
*** amorin has joined #openstack-telemetry07:28
*** phasespace has joined #openstack-telemetry07:46
*** rcernin has quit IRC07:48
*** rcernin has joined #openstack-telemetry08:04
*** JqckB has joined #openstack-telemetry08:36
*** JqckB has quit IRC09:35
*** JqckB has joined #openstack-telemetry09:37
*** tobias-urdin has quit IRC10:06
*** hoonetorg has quit IRC10:39
*** hoonetorg has joined #openstack-telemetry10:52
*** willksm has joined #openstack-telemetry11:51
*** JqckB has quit IRC12:40
*** JqckB has joined #openstack-telemetry12:53
*** phasespace has quit IRC14:36
*** JqckB has quit IRC16:23
*** JqckB has joined #openstack-telemetry16:24
*** psachin has quit IRC17:05
*** rcernin has quit IRC19:36
*** pcaruana has quit IRC20:08
*** JqckB has quit IRC20:09
*** openstackgerrit has quit IRC21:07
*** supreeth90 has joined #openstack-telemetry21:29
supreeth90hey guys, Can somebody review https://review.openstack.org/#/c/642902/ ? This fixes an issue where many instances of inspector are created instead of keeping it singleton.21:29
*** JqckB has joined #openstack-telemetry21:32
*** rcernin has joined #openstack-telemetry21:43
lxkongsupreeth90: hi, that patch looks good to me, but neither me nor dangtrinhnt are not in the reviewer team atm :-(21:46
supreeth90lxkong: thanks for updating, do you know who is in the reviewer team atm ? :-)21:47
lxkonghttps://review.openstack.org/#/admin/groups/107,members21:53
lxkongbut i don't believe most of them are active nowadays21:53
lxkongat least for ceilometer21:53
*** rcernin has quit IRC21:55
*** rcernin has joined #openstack-telemetry22:04
supreeth90thanks! will try to mail them directly22:05
dangtrinhntI'll add the core reviewers to your patch.22:22
supreeth90thank you dangtrinhnt !22:24
dangtrinhntnp22:25
*** JqckB has quit IRC23:03

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!