Tuesday, 2016-01-05

*** rbak has quit IRC00:06
*** jwcroppe has quit IRC00:10
*** gordc has quit IRC00:10
*** ddieterly has quit IRC00:11
*** cdent has quit IRC00:40
*** jfluhmann has quit IRC00:47
*** diogogmt has joined #openstack-telemetry00:56
*** cheneydc has joined #openstack-telemetry01:00
*** zqfan has joined #openstack-telemetry01:09
*** ljxiash_ has quit IRC01:09
openstackgerritMerged openstack/aodh: Replace LOG.warn with LOG.warning  https://review.openstack.org/26244401:25
*** ljxiash has joined #openstack-telemetry01:36
*** ljxiash has quit IRC01:37
*** ljxiash has joined #openstack-telemetry01:37
*** Liuqing has joined #openstack-telemetry01:37
openstackgerritMerged openstack/gnocchi: Change LOG.warn to LOG.warning  https://review.openstack.org/26310701:38
*** prashantD has quit IRC01:40
openstackgerritMerged openstack/ceilometer: gnocchi: fix stack resource type  https://review.openstack.org/26059201:43
openstackgerritMerged openstack/ceilometer: Trivial: Remove vim header from source files  https://review.openstack.org/26242901:43
*** dave-mccowan has quit IRC01:48
*** ljxiash has quit IRC01:49
*** thorst has joined #openstack-telemetry01:49
*** thorst_ has joined #openstack-telemetry01:51
*** ljxiash has joined #openstack-telemetry01:51
*** thorst has quit IRC01:53
*** ddieterly has joined #openstack-telemetry02:02
*** diazjf has joined #openstack-telemetry02:03
openstackgerritapril proposed openstack/python-ceilometerclient: Bug fix for 1511346  https://review.openstack.org/26353002:22
*** thorst_ has quit IRC02:27
*** thorst has joined #openstack-telemetry02:28
*** thorst has quit IRC02:29
*** thorst has joined #openstack-telemetry02:29
openstackgerritliusheng proposed openstack/aodh: Refactor Gnocchi and threshold evaluators  https://review.openstack.org/26122502:29
openstackgerritMerged openstack/aodh: Fix an minor error in test_hbase_table_utils.py  https://review.openstack.org/26139402:36
openstackgerritMerged openstack/aodh: Trivial: Remove vim header from source files  https://review.openstack.org/26242702:36
openstackgerritMerged openstack/gnocchi: indexer: do not store useless revision  https://review.openstack.org/26055902:36
openstackgerritOpenStack Proposal Bot proposed openstack/ceilometer: Updated from global requirements  https://review.openstack.org/26024902:39
*** llu has quit IRC02:43
*** llu has joined #openstack-telemetry02:45
*** liamji has joined #openstack-telemetry02:47
*** llu has quit IRC02:51
*** llu has joined #openstack-telemetry02:53
*** diazjf has quit IRC03:05
openstackgerritSwapnil Kulkarni (coolsvap) proposed openstack/aodh: Replace deprecated LOG.warn with warning  https://review.openstack.org/26331903:07
*** diazjf has joined #openstack-telemetry03:12
*** prashantD has joined #openstack-telemetry03:12
*** diazjf has quit IRC03:13
*** vishwanathj has joined #openstack-telemetry03:27
*** llu has quit IRC03:29
*** llu has joined #openstack-telemetry03:31
*** PSS has quit IRC03:31
*** links has joined #openstack-telemetry03:52
openstackgerritapril proposed openstack/python-ceilometerclient: Improve ceilometer alarm enabled input parameter validation   https://review.openstack.org/26353003:54
*** cheneydc has left #openstack-telemetry03:55
*** llu has quit IRC04:05
*** llu has joined #openstack-telemetry04:08
*** ljxiash has quit IRC04:25
*** r-mibu has joined #openstack-telemetry04:25
*** ljxiash has joined #openstack-telemetry04:25
*** ljxiash has quit IRC04:26
*** ljxiash has joined #openstack-telemetry04:26
*** thorst has quit IRC04:27
*** thorst has joined #openstack-telemetry04:28
*** thorst has quit IRC04:36
*** jwcroppe has joined #openstack-telemetry04:54
openstackgerritMerged openstack/aodh: Trival: Remove unused logging import  https://review.openstack.org/26164304:55
*** ddieterly has quit IRC05:01
*** PsionTheory has quit IRC05:03
*** Liuqing has quit IRC05:05
*** Liuqing has joined #openstack-telemetry05:06
*** cheneydc has joined #openstack-telemetry05:23
*** julim has joined #openstack-telemetry05:24
*** thorst has joined #openstack-telemetry05:34
*** yprokule has joined #openstack-telemetry05:40
*** jwcroppe has quit IRC05:42
*** thorst has quit IRC05:42
*** Liuqing has quit IRC05:51
*** yarkot has joined #openstack-telemetry05:55
*** prashantD has quit IRC06:01
*** ddieterly has joined #openstack-telemetry06:02
*** prashantD has joined #openstack-telemetry06:06
*** ddieterly has quit IRC06:07
*** prashantD has quit IRC06:19
*** yarkot has quit IRC06:20
*** ildikov_afk is now known as ildikov06:22
*** thorst has joined #openstack-telemetry06:39
*** Pandy has joined #openstack-telemetry06:42
*** jwcroppe has joined #openstack-telemetry06:43
*** r-mibu has quit IRC06:44
*** thorst has quit IRC06:47
*** jwcroppe has quit IRC06:47
openstackgerritapril proposed openstack/python-ceilometerclient: Improve ceilometer alarm enabled input parameter validation  https://review.openstack.org/26353006:54
*** Pandy has quit IRC06:59
*** maestro1 has joined #openstack-telemetry07:01
*** ddieterly has joined #openstack-telemetry07:04
*** ddieterly has quit IRC07:09
openstackgerritapril proposed openstack/python-ceilometerclient: Improve ceilometer alarm enabled input parameter validation  https://review.openstack.org/26353007:27
openstackgerritapril proposed openstack/python-ceilometerclient: Improve ceilometer alarm enabled input parameter validation  https://review.openstack.org/26353007:29
*** belmoreira has joined #openstack-telemetry07:30
*** maestro1 has quit IRC07:48
*** _nadya_ has joined #openstack-telemetry07:52
*** jwcroppe has joined #openstack-telemetry07:52
*** _nadya_ has quit IRC07:53
openstackgerritliusheng proposed openstack/aodh: Add composite rule rule API support  https://review.openstack.org/25772207:56
*** safchain has joined #openstack-telemetry07:58
*** ddieterly has joined #openstack-telemetry08:04
openstackgerritJulien Danjou proposed openstack/gnocchi: swift: fix typo in unprocessed measures deletion  https://review.openstack.org/26362108:08
*** ddieterly has quit IRC08:09
openstackgerritZi Lian Ji proposed openstack/python-gnocchiclient: Supported resources list cli support  https://review.openstack.org/26362308:11
*** r-mibu has joined #openstack-telemetry08:14
openstackgerritChaozhe Chen proposed openstack/ceilometer: Replace LOG.warn with LOG.warning  https://review.openstack.org/26244208:15
*** jwcroppe has quit IRC08:22
*** maestro has joined #openstack-telemetry08:30
*** shardy has joined #openstack-telemetry08:33
*** maestro has left #openstack-telemetry08:35
*** maestro has joined #openstack-telemetry08:35
openstackgerritliusheng proposed openstack/aodh: Add composite rule rule API support  https://review.openstack.org/25772208:45
*** idegtiarov_ has joined #openstack-telemetry08:48
*** thorst has joined #openstack-telemetry08:49
*** _nadya_ has joined #openstack-telemetry08:53
*** thorst has quit IRC08:56
*** _nadya_ has quit IRC08:58
openstackgerritMerged openstack/ceilometer: [refactor] remove redundant import of options  https://review.openstack.org/25778508:59
*** ddieterly has joined #openstack-telemetry09:05
*** _nadya_ has joined #openstack-telemetry09:06
*** _nadya_ has quit IRC09:08
*** ddieterly has quit IRC09:09
*** achatterjee has joined #openstack-telemetry09:11
openstackgerritZi Lian Ji proposed openstack/python-gnocchiclient: Supported resources list cli support  https://review.openstack.org/26362309:13
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: collector: Use oslo.messaging batch listener  https://review.openstack.org/23483109:13
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: notification: Use oslo.messaging batch listener  https://review.openstack.org/25081409:13
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: remove useless notification listener helper  https://review.openstack.org/25081509:13
*** mattyw has joined #openstack-telemetry09:14
*** cheneydc has quit IRC09:17
*** cheneydc has joined #openstack-telemetry09:18
openstackgerritSwapnil Kulkarni (coolsvap) proposed openstack/gnocchi: Replace deprecated LOG.warn with LOG.warning  https://review.openstack.org/26337309:18
*** yassine__ has joined #openstack-telemetry09:19
openstackgerritSwapnil Kulkarni (coolsvap) proposed openstack/aodh: Replace deprecated LOG.warn with LOG.warning  https://review.openstack.org/26331909:19
*** achatterjee has quit IRC09:19
*** achatterjee has joined #openstack-telemetry09:19
*** eglynn has joined #openstack-telemetry09:25
*** eglynn has quit IRC09:25
*** eglynn has joined #openstack-telemetry09:26
*** liamji has quit IRC09:42
*** thorst has joined #openstack-telemetry09:54
*** cheneydc has quit IRC10:00
*** thorst has quit IRC10:01
*** boris-42 has quit IRC10:03
*** ddieterly has joined #openstack-telemetry10:06
*** _nadya_ has joined #openstack-telemetry10:09
*** ddieterly has quit IRC10:10
*** _nadya_ has quit IRC10:14
*** mattyw has quit IRC10:22
*** mattyw has joined #openstack-telemetry10:22
openstackgerritOpenStack Proposal Bot proposed openstack/ceilometer: Updated from global requirements  https://review.openstack.org/26024910:25
*** thorst has joined #openstack-telemetry10:59
*** cdent has joined #openstack-telemetry11:02
jd__so we really are getting spammed by newbie commiters sending random cleanup patches11:05
jd__be careful when reviewing11:05
jd__not everything is… worth it11:05
*** thorst has quit IRC11:06
cdentDo you have a particular place where you draw the line? Many tiny improvements are a net positive if the revew load isn't too much of a bear11:06
*** ddieterly has joined #openstack-telemetry11:07
*** _nadya_ has joined #openstack-telemetry11:10
*** ddieterly has quit IRC11:11
*** _nadya_ has quit IRC11:15
*** ljxiash has quit IRC11:32
*** ljxiash has joined #openstack-telemetry11:32
*** ljxiash has quit IRC11:32
*** ljxiash has joined #openstack-telemetry11:33
*** ljxiash has quit IRC11:37
cdentI can't figure out why, upstream, here in the future, we are so concerned with testing against ancient stuff and things that are in distro defaults. Especially given the release latency. We should be testing against the future so by the time stuff is out it is aligned with the present...11:58
*** mattyw has quit IRC12:02
*** thorst has joined #openstack-telemetry12:04
*** ddieterly has joined #openstack-telemetry12:07
*** thorst has quit IRC12:11
*** ddieterly has quit IRC12:12
*** jwcroppe has joined #openstack-telemetry12:19
*** jwcroppe has quit IRC12:24
*** belmoreira has quit IRC12:42
*** ljxiash has joined #openstack-telemetry12:47
*** thorst has joined #openstack-telemetry12:47
*** cheneydc has joined #openstack-telemetry12:47
*** ddieterly has joined #openstack-telemetry13:08
*** links has quit IRC13:10
*** _nadya_ has joined #openstack-telemetry13:12
*** gordc has joined #openstack-telemetry13:12
*** ddieterly has quit IRC13:12
*** _nadya_ has quit IRC13:16
jd__cdent: some of the changes are just 'wrong' and duplicates13:17
jd__other than that, I take any patch that improves or cleans the code13:17
jd__cdent: I guess the problem is that we don't do *both* :)13:18
jd__(re: testing the future)13:18
cdenttesting against things like LTS versions of distros should be the distros' problem13:19
*** pradk has joined #openstack-telemetry13:27
*** pradk has quit IRC13:27
gordccdent: any chance you working on nova scheduler?13:29
cdentgordc: yes, but it is a very slow process, what's up?13:29
gordcyou have any docs on it? or know of any related bps?13:30
gordccdent: or can you write a report on it for me :)13:30
cdentI sort of already did there's three of these starting at: https://anticdent.org/unpacking-the-nova-scheduler-part-1-of.html13:31
gordcpreferably the latter. i'll remove you name but cite you as a ref13:31
gordc... this work out better than i expected.13:31
cdentI also recently edited: https://github.com/openstack/nova/blob/master/doc/source/filter_scheduler.rst13:32
cdentYou may owe me some kind of tasty snack now.13:33
cdenta pending bp of interest: https://review.openstack.org/#/c/256323/13:34
cdents/bp/backlog spec/13:34
gordci'll get you a coffee at timmys.13:34
*** renatoarmani has joined #openstack-telemetry13:34
gordctim hortons is going to benefit from openstack13:34
cdentquite13:35
gordccdent: i don't know if this is mentioned anywhere in docs but did we start unifying scheduler from nova/cinder/neutron? or is that a few cycles from reality (if ever)13:36
cdentThat's an ongoing notion that has stalled out several times.13:37
cdentThe current iteration is that in order for it to happen the way resource tracking is done needs to be adjusted13:37
cdentso that it is not entirely based on compute nodes13:37
cdentThere was a project called Gantt which was going to extract the scheduler but it died on the vine so the new plan is to make the scheduler in nova more bounded so that extraction can happen as more of a lift and shift, rather than make-something-new-over-here13:38
gordccool cool. so at least a year away13:40
cdentSeems that way, as hard as that is to believe13:40
gordcthis is awesome info. i was completely guessing at what you were working on.13:41
*** ddieterly has joined #openstack-telemetry13:41
gordcneed to make a note to bug you on everything13:41
* cdent needs to learn to keep his mouth shut13:42
gordctoo late13:42
*** mattyw has joined #openstack-telemetry13:44
*** shardy has quit IRC13:47
*** shardy has joined #openstack-telemetry13:49
gordcjd__: you have thoughts on how to implement that 'unit' bug in gnocchi?13:59
gordcshould we make it more generic and have some sort of tag support?13:59
jd__gordc: I don't have any particular idea14:02
jd__I think have a unit make sense and can be 'structured' by the API14:03
jd__so I would not see any objection to add an attribute to the metric itself14:03
gordcyeah. it's definitely going to be bigger change with generic tags.14:04
gordcmy concern is that we'll keep adding more and end up at same place as ceilometer model where 'meter' is really overloaded.14:05
gordci'll add some comments14:05
*** ddieterly has quit IRC14:07
*** maestro has quit IRC14:19
*** jwcroppe has joined #openstack-telemetry14:20
*** maestro has joined #openstack-telemetry14:21
*** links has joined #openstack-telemetry14:24
*** jwcroppe has quit IRC14:25
*** maestro has quit IRC14:26
*** _nadya_ has joined #openstack-telemetry14:29
*** kbyrne has quit IRC14:33
*** kbyrne has joined #openstack-telemetry14:40
*** ddieterly has joined #openstack-telemetry14:43
*** diogogmt has quit IRC14:43
*** links has quit IRC14:49
*** jwcroppe has joined #openstack-telemetry14:51
*** kbyrne has quit IRC14:52
*** kbyrne has joined #openstack-telemetry14:53
*** kbyrne has quit IRC14:55
jd__gordc: we have the type (cumulative, gauge, etc) and the unit that are missing for exploiting the data14:55
jd__over than that, I'm not sure we need more tags stuff14:55
jd__we do need something like that on resources though14:55
*** rbak has joined #openstack-telemetry14:57
*** ddieterl_ has joined #openstack-telemetry14:58
*** kbyrne has joined #openstack-telemetry15:00
gordcjd__: yeah, i was debating whether type and unit could exist just as docco...15:00
gordcbut i guess we need to consider for when machines take over.15:01
*** kbyrne has quit IRC15:01
jd__we should15:01
*** ddieterly has quit IRC15:01
gordcjd__: you mean resource tags so we can stop creating a new table per type?15:02
*** kbyrne has joined #openstack-telemetry15:02
*** renatoarmani has quit IRC15:04
*** sbadia has left #openstack-telemetry15:07
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: collector: Use oslo.messaging batch listener  https://review.openstack.org/23483115:13
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: notification: Use oslo.messaging batch listener  https://review.openstack.org/25081415:13
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: remove useless notification listener helper  https://review.openstack.org/25081515:13
jd__gordc: yeah, though I don't think not having a table per type is a good path15:14
jd__there's a set of trade-off to do, not sure right now what we should do15:15
*** ddieterl_ has quit IRC15:18
*** renatoarmani has joined #openstack-telemetry15:18
gordcwhy do we have multiple tables? because of the metadata or for 'sharded' tables?15:20
*** changbl has quit IRC15:27
*** cheneydc has quit IRC15:27
*** yprokule has quit IRC15:31
*** shardy has quit IRC15:35
*** yprokule has joined #openstack-telemetry15:36
*** ddaskal has joined #openstack-telemetry15:37
*** cdent has quit IRC15:42
*** shardy has joined #openstack-telemetry15:44
*** yarkot has joined #openstack-telemetry15:49
*** cdent has joined #openstack-telemetry15:53
*** renatoarmani has quit IRC16:04
*** cdent has quit IRC16:09
*** shakamunyi has joined #openstack-telemetry16:14
*** yprokule has quit IRC16:14
*** dave-mccowan has joined #openstack-telemetry16:15
*** barra204 has quit IRC16:15
*** diogogmt has joined #openstack-telemetry16:17
openstackgerritSwapnil Kulkarni (coolsvap) proposed openstack/gnocchi: Replace deprecated LOG.warn with LOG.warning  https://review.openstack.org/26337316:17
*** yprokule has joined #openstack-telemetry16:19
*** diazjf has joined #openstack-telemetry16:21
*** PsionTheory has joined #openstack-telemetry16:25
*** mattyw has quit IRC16:26
*** pradk has joined #openstack-telemetry16:26
*** jwcroppe has quit IRC16:31
*** jwcroppe has joined #openstack-telemetry16:32
*** cdent has joined #openstack-telemetry16:32
*** ddieterly has joined #openstack-telemetry16:33
*** yprokule has quit IRC16:35
*** idegtiarov_ has quit IRC16:39
*** renatoarmani has joined #openstack-telemetry16:48
*** mattyw has joined #openstack-telemetry16:56
*** diazjf has quit IRC16:56
dan-tHi, I'm trying to understand how coordination works between the notification agents.  Is there a write-up of that somewhere? Thanks16:59
*** diazjf has joined #openstack-telemetry16:59
gordcdan-t: how it logically works or how to configure it?17:12
*** safchain has quit IRC17:14
dan-tgordc: I'm looking for logically17:20
gordcdan-t: i don't know if this chart is clear but you can look at slide 2: https://docs.google.com/presentation/d/1QgjDOLRnKDboqP8P1LvV0kR5aQEv_VJsDtMlh6u7tIY/edit?usp=sharing17:22
gordcdan-t: feel free to ask me questions (i might be delayed, going to grab lunch sometime soon)17:23
dan-tsounds good, thanks!17:23
*** sudorandom has joined #openstack-telemetry17:23
*** ddieterly has quit IRC17:25
*** yarkot has quit IRC17:30
*** shardy has quit IRC17:34
*** shardy has joined #openstack-telemetry17:36
openstackgerritLiuNanke proposed openstack/gnocchi: Test: make enforce_type=True in CONF.set_override  https://review.openstack.org/26382017:37
*** mattyw has quit IRC17:45
cdentgordc: I could do with that nourishing snack or coffee now17:51
*** ddieterly has joined #openstack-telemetry17:51
gordccdent: it'll take a few days to ship. i'm shipping with 'cheapest and slowest damn option'17:56
gordci'm sure timmys can survive the trip17:56
_nadya_I see you're talking about coordination... I'm testing it in various configurations now and cannot process 100 000 samples. agents becomes core dumped :(18:00
*** ddaskal has quit IRC18:00
cdent_nadya_: 100,000 over what time period?18:00
_nadya_as fast as possible. I'm generating it using our test tool18:01
gordcwhat do you mean by 'core dumped'18:01
_nadya_Segmentation fault (core dumped)18:02
_nadya_ceilometer-anotification failed to start18:02
_nadya_but actually they start, work about a minute and fail18:02
gordchow do they work by 'failed to start'?18:03
gordchow many agents do you have? and how many queue sets?18:03
_nadya_let me prepare some logs for you18:04
gordckk, drop them in a bug18:04
_nadya_gordc: this is several lines from the end http://paste.openstack.org/show/483055/18:05
_nadya_gordc: queues looks good http://paste.openstack.org/show/483056/18:06
_nadya_I run several agents (2,3,4) but after a minute everything fails18:06
gordci'd include # agents, # of queue_sets, oslo.messaging version, and distro18:06
gordcwhat does 2,3,4 mean? you are constantly spawning/killing agents?18:07
* cdent is pretty sure it's sileht's fault ;)18:07
gordcyeah, well it's definitely his fault. i'm being a good samaritan.18:07
_nadya_gordc: I wanted to run 7 agents initially :) but after several of them stop, I decided to run 3. The latest run was with one but in coordination mode18:10
_nadya_I'm just curious actually, probably my devstack just cannot manage the load.18:11
gordcdo you have heartbeat_timeout_threshold enabled?18:11
*** changbl has joined #openstack-telemetry18:12
_nadya_gordc: I see the following18:13
_nadya_2016-01-05 17:22:56.761 15119 WARNING oslo.service.loopingcall [-] Function 'ceilometer.coordination.PartitionCoordinator.heartbeat' run outlasted interval by 3.23 sec18:13
gordci'd turn that off https://bugs.launchpad.net/ceilometer/+bug/147813518:13
openstackLaunchpad bug 1478135 in oslo.messaging "notification agent never idles" [Undecided,Confirmed]18:13
_nadya_gordc: I'll check that18:13
gordcit defaults to 60 in liberty. i change it to 018:14
gordcbut yeah, i don't think you need 7 agents. i'd probably just try 3 and maybe have 6-9 pipeline queues sets18:15
gordcalso, if you're dumping 100k messages on queue and then starting agents, you are going to have a bad time. the bigger queue is, the slower the reading (just how mq work)18:16
gordcbut yeah, i'd open a bug with info regardless (i haven't tested it this cycle)18:17
_nadya_gordc: yep, I'm trying to see how delta transformers work. How precisely it will transform messages18:18
_nadya_gordc: I'm trying to create good pictures for that to show you :)18:19
_nadya_gordc: I was testing it with Redis also, it works rather good. We have almost the same results for transformers as with ipc queues18:19
gordccool cool18:21
*** yarkot has joined #openstack-telemetry18:21
*** _nadya_ has quit IRC18:23
*** prashantD has joined #openstack-telemetry18:24
*** _nadya_ has joined #openstack-telemetry18:30
*** terriyu has joined #openstack-telemetry18:40
*** ljxiash has quit IRC18:48
*** prashantD has quit IRC18:56
*** ddaskal has joined #openstack-telemetry19:01
*** _nadya_ has quit IRC19:02
*** r-mibu has left #openstack-telemetry19:03
*** yarkot has quit IRC19:05
*** ddaskal has quit IRC19:05
*** eglynn has quit IRC19:09
*** yarkot has joined #openstack-telemetry19:12
dan-tgordc: when enabling multiple notification agents, should one set workload_partitioning to true?19:17
dan-tby "enabling multiple notification agents" what I mean is setting the number of workers19:18
*** prashantD has joined #openstack-telemetry19:18
dan-tto something greater than 119:18
gordcdan-t: you don't necessarily need to.19:19
gordcif you have no transformers in your pipeline, you can deploy as many agents as you need without coordinations.19:19
gordcbut if you do, yes, you should have workload_partitioning enabled to ensure transformations are done correctly.19:20
*** prashantD has quit IRC19:22
dan-thow is the data partitioned in that case? Based on the code, it looks like possibly by resource_id?19:28
dan-tin the case where workload_paritioning is on (sorry)19:28
*** prashantD has joined #openstack-telemetry19:29
gordcdan-t: that's correct, by resource_id. basically main listener greedily grab from external queues and then sorts them into buckets19:32
gordcthen one of the queue listeners will process it19:33
*** ddaskal has joined #openstack-telemetry19:45
alextricity25Hello! Are there any good blog/tutorials on how to write an external system that ceilometer can publish to?19:52
gordcalextricity25: what type of systems? there's this https://developer.ibm.com/opentech/2015/07/06/viewing-keystone-cadf-notifications-with-ceilometer-and-rabbitmq/19:55
gordcalthough that may be using ceilometer event storage.19:56
gordci know when i was at ibm we use http dispatcher to send data to a separate service rather than use ceilometer storage.19:56
alextricity25I guess now the best thing to do would be to use the UDP publisher, right? I'm looking for something that will help me get started on utilizing that feature19:57
alextricity25So i can write my own system that will do things with that data19:58
gordcdon't think there's a doc for it. i'd assume main usages i know are people using kafka publisher to push data to some kafka queue and have something else ingest it19:58
gordcoh the udp publisher? um, i don't know of anyone using udp and not sending it to collector but that should be possible19:59
alextricity25gordc: What would be the best way to  get samples/events from ceilometer and send them to an external system(one that i'm looking to write)?20:02
gordcyou could republish them to queue (to a new topic if you want to still use ceilometer storage) if you want to guarantee delivery.20:05
gordcudp or http might be easiest if you don't have any way to consume from queue20:06
alextricity25Do you know of any good docs out there that might say a little more on using the httpd dispatcher? :)20:07
alextricity25That might be the best option for me. I just don't know how complicated it is.20:07
gordchttp://www-01.ibm.com/support/knowledgecenter/SS42VS_7.2.4/com.ibm.dsm.doc/t_dsm_guide_openstack_enable_comm.html20:09
gordcyou probably just need to do steps 8 onwards20:09
gordcand ignore the cadf_only part20:09
gordchmmm... actually step 11 onwards (since it's in upstream code)20:11
openstackgerritgordon chung proposed openstack/python-aodhclient: add alarm interface  https://review.openstack.org/26388720:12
openstackgerritRohit Jaiswal proposed openstack/ceilometer: Enhances get_meters to return unique meters  https://review.openstack.org/25962620:14
*** yassine__ has quit IRC20:15
alextricity25gordc: Cool! What if I wanted to write a database dispatcher to write to my application's database directly? Would that be fairly involved?20:16
gordcalextricity25: depends, if you ignore the ceilometer api (which you should) then you really just need to inherit the base connection class and implement the record_metering_data aspect of it.20:20
gordchttps://github.com/openstack/ceilometer/blob/master/ceilometer/storage/base.py#L11020:20
gordcand create a connection to your db in init function... not sure what you are planning specifically, writing your own dispatcher wouldn't be hard either.20:22
gordc(might be a bit easier since you'll need to add your new db as an entry_point to get it recognised20:23
alextricity25Thanks gordc! We are looking for a way for ceilometer to send certain samples/events to our application that we are going to write. I'm still unsure whether it will be easier for us to write a dispatcher to make a connection to our database, or use the httpd dispatcher. I'm going to have to do more brain storming20:26
gordcsounds good. play around with different publishers and dispatchers and see what works best i guess.20:27
alextricity25gordc: Do you know if the httpd dispatcher can send filtered samples/events?20:28
gordcyou could filter them from pipeline. not explicitly at http though20:29
alextricity25hmm...maybe that would be configured through the pipeline configs20:29
gordcyep :)20:29
*** terriyu has quit IRC20:40
*** yarkot has quit IRC20:41
*** kelv has quit IRC20:46
dan-tgordc: When setting workload_partitioning to true for the notification agent, it seems to produce a number of "ceilometer-pipe" queues in rabbitmq.  Then, it appears that each worker connects to each of those queues.  For example, if I have 3 workers, each of those workers will connect to all of those queues, and each queue will have 3 consumers.  Is that expected?20:47
gordcdan-t: hm.. no it should have only one each.20:48
gordcmaybe try setting heartbeat_timeout_threshold=0 in oslo.messaging20:48
gordcif that doesn't work. can you create a bug with your code verison, oslo.messaging version and maybe your partitioning settings20:50
dan-tYea, that didn't resolve it. I can create a bug.  I think I'm running ceilometer 5.0.1 and oslo.messaging 3.0.0.  Is there a recommended version of oslo.messaging to run with liberty ceilometer?20:53
gordcnot entirely sure. i'm trying to trace which versions are broken20:57
gordci recall one of the 3.x builds being broken20:57
gordci'll try testing this tomorrow. 3.0.0 seems fine based on logs20:59
*** ljxiash has joined #openstack-telemetry21:00
dan-twell, what I saw was all notification workers appeared to connect to all "ceilometer-pipe" queues, and that was impacting "rate_of_change" transformations -- as each worker appeared to opportunistically grab messages from each of those queues.21:01
gordcyeah, that makes sense. it should only have 1 consumer per pipeline queue (occassionally 0 or >1  when new agents are added)21:03
gordcif there's 3 on all the queues, something is up21:03
gordcit also could be tooz, which handles group membership. it looks like the agents think they are the only agent alive21:04
*** ljxiash has quit IRC21:05
dan-tah, kk21:05
dan-tI think this is a misconfiguration on my part21:20
dan-tas I have no [coordination] section in ceilometer.conf21:20
gordcoh. yeah. you need that.21:23
gordcstrange it didn't warn you. i guess that can be a bug. i'm not sure there's a case for enabling workload_partitioning but not coordination21:23
openstackgerritgordon chung proposed openstack/python-aodhclient: fix test debug  https://review.openstack.org/26391621:25
openstackgerritgordon chung proposed openstack/python-gnocchiclient: fix test debug  https://review.openstack.org/26391721:27
*** renatoarmani has quit IRC21:29
*** yarkot has joined #openstack-telemetry21:41
*** harlowja has quit IRC22:09
*** harlowja has joined #openstack-telemetry22:10
*** boris-42 has joined #openstack-telemetry22:20
*** thorst has quit IRC22:24
*** thorst has joined #openstack-telemetry22:25
*** thorst has quit IRC22:30
*** dave-mccowan has quit IRC22:37
*** cdent has quit IRC22:41
*** thorst has joined #openstack-telemetry22:49
*** thorst has quit IRC22:53
*** zqfan has quit IRC23:01
*** ddaskal has quit IRC23:08
*** ddaskal has joined #openstack-telemetry23:09
*** diazjf has quit IRC23:12
*** ddaskal has quit IRC23:14
*** shardy has quit IRC23:30
*** gordc has quit IRC23:33
*** thorst has joined #openstack-telemetry23:42
*** diogogmt has quit IRC23:54

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