Tuesday, 2017-11-21

*** edmondsw has joined #openstack-telemetry00:05
*** edmondsw has quit IRC00:10
*** AlexeyAbashkin has joined #openstack-telemetry00:13
*** AlexeyAbashkin has quit IRC00:17
*** itlinux has quit IRC00:26
*** edmondsw has joined #openstack-telemetry00:49
*** edmondsw has quit IRC00:52
*** edmondsw has joined #openstack-telemetry00:52
*** tovin07_ has joined #openstack-telemetry00:55
*** Guest18917 has quit IRC01:11
*** yassine has joined #openstack-telemetry01:11
*** yassine has quit IRC01:11
*** yassine has joined #openstack-telemetry01:12
*** AlexeyAbashkin has joined #openstack-telemetry01:12
*** yassine is now known as Guest2544201:12
*** AlexeyAbashkin has quit IRC01:16
*** daidv has quit IRC01:18
*** daidv has joined #openstack-telemetry01:19
*** edmondsw has quit IRC01:20
*** edmondsw has joined #openstack-telemetry01:20
*** edmondsw has quit IRC01:25
*** dave-mccowan has joined #openstack-telemetry01:31
openstackgerritMerged openstack/ceilometer master: pluggable notification agent  https://review.openstack.org/51771501:33
*** rwsu has joined #openstack-telemetry02:06
*** gmann_afk is now known as gmann02:25
*** itlinux has joined #openstack-telemetry02:38
*** edmondsw has joined #openstack-telemetry02:55
*** edmondsw has quit IRC03:00
*** dave-mccowan has quit IRC03:10
*** links has joined #openstack-telemetry03:19
*** harlowja has quit IRC03:22
openstackgerritMerged openstack/ceilometer master: queues per manager rather than per pipeline  https://review.openstack.org/51773403:57
*** itlinux has quit IRC03:58
*** harlowja has joined #openstack-telemetry04:01
*** psachin has joined #openstack-telemetry04:11
*** itlinux has joined #openstack-telemetry04:12
openstackgerritMerged openstack/ceilometer master: always declare partitioning variables  https://review.openstack.org/51940104:12
*** edmondsw has joined #openstack-telemetry04:44
*** itlinux has quit IRC04:44
*** gkadam has joined #openstack-telemetry04:46
*** itlinux has joined #openstack-telemetry04:47
*** edmondsw has quit IRC04:48
*** maestropandy has joined #openstack-telemetry05:03
*** edmondsw has joined #openstack-telemetry05:29
*** itlinux has quit IRC05:31
*** edmondsw has quit IRC05:33
*** pcaruana has joined #openstack-telemetry05:39
*** edmondsw has joined #openstack-telemetry05:48
*** harlowja has quit IRC05:52
*** edmondsw has quit IRC05:52
*** pcaruana has quit IRC06:13
*** maestropandy has quit IRC06:19
openstackgerritOpenStack Proposal Bot proposed openstack/aodh master: Imported Translations from Zanata  https://review.openstack.org/52172206:21
*** maestropandy has joined #openstack-telemetry06:23
*** edmondsw has joined #openstack-telemetry06:29
*** edmondsw has quit IRC06:33
openstackgerritOpenStack Proposal Bot proposed openstack/ceilometer master: Imported Translations from Zanata  https://review.openstack.org/52172606:35
*** tianqing has joined #openstack-telemetry06:40
tianqinghello..06:41
tianqingdoes gnocchi supports udp?06:41
tianqingthen ceilometer notification agent -> udp - gnocchi -> gnocchi backend...06:41
tianqingI think we should add udp supports....06:42
tianqingany one ideas?06:42
*** edmondsw has joined #openstack-telemetry06:48
*** edmondsw has quit IRC06:53
*** lhx_ has joined #openstack-telemetry06:54
*** rcernin has quit IRC06:59
*** iranzo has joined #openstack-telemetry07:03
*** edmondsw has joined #openstack-telemetry07:08
tianqing????07:10
tianqingany one?07:10
*** spectr has joined #openstack-telemetry07:11
*** spectr has quit IRC07:12
*** edmondsw has quit IRC07:12
tianqingany one?07:17
*** gkadam has quit IRC07:20
*** edmondsw has joined #openstack-telemetry07:23
*** sanchitmalhotra has joined #openstack-telemetry07:27
*** pcaruana has joined #openstack-telemetry07:30
*** edmondsw has quit IRC07:33
*** edmondsw has joined #openstack-telemetry07:48
*** shardy has joined #openstack-telemetry07:49
*** maestropandy has quit IRC07:50
*** edmondsw has quit IRC07:52
*** yprokule has joined #openstack-telemetry08:07
*** edmondsw has joined #openstack-telemetry08:08
*** edmondsw has quit IRC08:13
*** hoonetorg has quit IRC08:18
*** tesseract has joined #openstack-telemetry08:23
tianqingdoes gnocchi support udp to get measures from ceilometer?08:25
tianqinghow?08:25
*** edmondsw has joined #openstack-telemetry08:28
*** edmondsw has quit IRC08:33
*** hoonetorg has joined #openstack-telemetry08:34
jd_tianqing: everybody's sleeping you know at that time :)08:35
tianqing....08:42
tianqingoh...08:42
tianqinghello jd...08:42
tianqingceilometer sends measures to gnocchi use http...08:43
tianqinggnocchi has statd dameon..08:43
tianqingbut it must be in statd protocol...08:43
tianqingDoes the ceilometer can direct send to statd daemon of gnocchi?08:43
*** edmondsw has joined #openstack-telemetry08:49
*** maestropandy has joined #openstack-telemetry08:49
*** edmondsw has quit IRC08:53
*** gkadam has joined #openstack-telemetry09:01
*** maestropandy has quit IRC09:26
*** maestropandy has joined #openstack-telemetry09:27
*** zhangguoqing has joined #openstack-telemetry09:46
*** rcernin has joined #openstack-telemetry10:01
*** maestropandy has quit IRC10:04
*** daidv has quit IRC10:05
*** maestropandy has joined #openstack-telemetry10:16
*** tovin07_ has quit IRC10:23
*** gmann is now known as gmann_afk10:34
*** edmondsw has joined #openstack-telemetry10:48
*** maestropandy has quit IRC10:50
*** edmondsw has quit IRC10:52
*** maestropandy has joined #openstack-telemetry10:59
*** maestropandy1 has joined #openstack-telemetry11:03
*** maestropandy2 has joined #openstack-telemetry11:04
*** maestropandy has quit IRC11:05
*** tianqing has quit IRC11:06
*** maestropandy1 has quit IRC11:07
*** sanchitmalhotra has quit IRC11:08
*** edmondsw has joined #openstack-telemetry11:08
*** edmondsw has quit IRC11:12
*** gokhan has quit IRC11:15
*** AlexeyAbashkin has joined #openstack-telemetry11:24
*** edmondsw has joined #openstack-telemetry11:28
*** gokhan has joined #openstack-telemetry11:29
*** edmondsw has quit IRC11:32
*** edmondsw has joined #openstack-telemetry11:48
openstackgerritJulien Danjou proposed openstack/ceilometer master: fix ceilometer-compute invoke libvirt exception error  https://review.openstack.org/51758811:48
*** edmondsw has quit IRC11:52
openstackgerritMerged openstack/aodh master: Replace jsonutils by ujson  https://review.openstack.org/51621212:20
*** gordc has joined #openstack-telemetry12:38
*** edmondsw has joined #openstack-telemetry12:48
*** pradk has joined #openstack-telemetry12:53
openstackgerritgordon chung proposed openstack/ceilometer stable/pike: always declare partitioning variables  https://review.openstack.org/52184212:57
*** lhx_ has quit IRC13:01
*** dave-mccowan has joined #openstack-telemetry13:11
*** zhangguoqing has quit IRC13:13
gordcif anyone wants to tackle a (possible) threading issue: https://bugs.launchpad.net/ceilometer/+bug/172986513:14
openstackLaunchpad bug 1729865 in Ceilometer "partitioning queues not cleared" [Critical,Triaged] - Assigned to gordon chung (chungg)13:14
*** dave-mcc_ has joined #openstack-telemetry13:17
jd_this seems scary13:17
*** dave-mccowan has quit IRC13:17
jd_gordc: any chance to simplify the spaghetti?13:17
gordcjd_: what's the spaghetti?13:17
gordci should mention, all my debugging is on oslo.messaging side right now.13:18
jd_all the code around this in Ceilometer makes me think of spaghetti code13:18
jd_whaaat a bug in oslo.messaging13:18
* jd_ stares at sileht 13:18
gordc(i think)13:18
gordci can make the random gate failures disappear by dropping the batch_timeout down... but that's just hiding the issue.13:19
silehtgordc, the patch you send to oslo.messaging haven't fix the issue ?13:21
gordcsileht: no :( i hoped it would13:21
gordci think it just ended up being a refactor.lol13:21
*** shardy is now known as shardy_lunch13:22
gordci imagine it has to do with with the batch_timeout. i often see the 'idle' time ~= a multiple of batch_timeout.13:23
sileht oslo.messaging gates have 43 jobs only two passes pep8 and docs ...13:24
silehtgordc, how did you test you oslo.msg patch ?13:25
gordclol. my test patch? yeah i never understood why my log messages would break oslo.messaging check.13:25
*** maestropandy2 has quit IRC13:26
gordcsileht: i basically added logging to where oslo.messaging submits messages to be dispatched (after 'consume' has batched messages from queue)13:27
gordcand then i added logging to when it's actually handled by dispatch code (dispatched to endpoints)13:27
gordcusually it gets submited to be dispatched and then dispatched relatively quickly.13:28
gordcbut on random runs, it'll pause for 5-6s before dispatch code triggers... but nothing is happening/logged in those 6s (according to notification-agent).13:29
*** zhangguoqing has joined #openstack-telemetry13:29
*** lhx_ has joined #openstack-telemetry13:30
*** rcernin has quit IRC13:30
gordcthe ordering is what confuses me to. it submits batchA to empty executor, waits, and then when it starts, the executor works on batchB, batchC, ...(batches just submitted) then batchA.13:37
silehtgordc, looks like the issue is how concurrent.futures schedule jobs, no ?13:41
silehtgordc, for whatever reason it decides to do batchA last even it submitted first13:42
gordcsileht: i think so? although we're using futurist in oslo.messaging. i tried switching to concurrent.futures but it did the same thing13:42
silehtgordc, futurist use futures underthehodd13:43
gordcsileht: yeah... if you look at log, i have WHHHHHHAT(executor queue size) as the log for when it gets submitted13:43
gordcbut when batchB get submitted 6s later, it shows the queue is empty even though batchA hasn't triggered dispatch code yet13:44
gordcoh. i thought futurist was some custom thing we were doing.13:45
*** shardy_lunch is now known as shardy13:45
jd_no it's just a layer above which adds a few nifty features13:45
jd_I don't think there is any ordering promise done by concurrent.futures13:46
gordcwell there is a queue... so i would hope a queue maintains order.13:49
silehtWe use threads so we can't promise order too13:50
jd_if you have multiple threads pulling from the queue, yeah13:53
gordci should mention notification agent sets oslo.messaging to 1 thread. but it's really only 1 thread to guarantee it recovers from scenario where all notification agents go down.13:53
gordcso i guess in theory, we could change that as it's only single threaded to handle scenario where you didn't do HA properly or something catastrophic happened13:54
silehtgordc, ordering in onlyuseful  for transformation, if you just want to do rate13:56
silehtgordc, we can now use Gnocchi to do this, and it doesn't have this issue if points are received within the backwindow13:56
gordcsileht: yeah. the pipeline partitioning stuff is really only for transform... but i don't think we can tell everyone to use gnocchi :(13:58
silehtpreserving ordering is something to think end-to-end13:59
silehtthe dump way is you consume samples with one worker/thread14:00
silehtthe complicate way, you make the system aware of timestamps attached to samples14:00
gordcwell we have dumb way right now. :)14:00
jd_gordc: we can14:00
jd_we already kinda do anyway :)14:01
gordcbut multithreading isn't a big deal because all our metrics happen on specific cadence so there's always a gap between matching samples14:02
gordcthe only time they are batched near each other is if the notification agent died.14:03
gordcstill don't understand why we see what we see in gate, but we could make it multithreaded14:04
silehtgordc, I don't known if that the issue, but I found, in batch mode, we ack message one by one, and wait between 0.01 seconds to 1 seconds between each14:17
silehthere we loop to ack messages: https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/notify/listener.py#L203-L21014:17
silehtack are done like this: https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/amqpdriver.py#L18814:17
silehtthen we block here: https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/amqpdriver.py#L10414:18
silehtbecause only the main thread is allowed to ack messages14:18
silehtnow we have to way process() to be trigger here: https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/amqpdriver.py#L286-L30314:19
silehtway/wait14:19
gordcsileht: yeah i noticed that too. rabbitmq would say i have items on queue but notification agent would be idle because i think the ack never used rabbitmq14:19
silehtgordc, by default list_queues don't show messages taken by oslo.messaging but don't yet ack14:20
silehtgordc, I have make a comment in one of your patch to show up this information14:20
gordcin a patch that was merged?14:21
gordcnever realised only main thread could ack. all the threads created made me confused.lol14:22
*** zhangguoqing has quit IRC14:24
silehtgordc, neither kombu or py-amqp are thread-safe14:26
silehtgordc, so oslo.messaging have to deal with that, but because the lib have been built on top of eventlet, and people working with eventlet have no idea of "concurrency" mean14:27
silehtgordc, we just add tape to make oslo.messaging thread-safe14:27
silehtinfortunatly, this have been done with queue and lock14:28
silehtmaking all threads competing each others14:28
silehtthe funny thing is that ack message are small enough, that's submitting them in incorrect order work without ssl enabled14:29
silehtgordc, if I could rewrite oslo.messaging I will just creates a pool of connection and attach a thread to a pool14:30
silehtgordc, like sqlalchemy does ...14:30
gordcjust create olso.messaging.good.14:31
gordclet all the eventlet projects use this hacky one14:31
silehthonestly I would just use one of the rabbitmq python driver in the project directly14:32
jd_[15:31:08]  <gordc>just create olso.messaging.good.14:33
jd_lol gordc14:33
jd_let's do also.messaging14:33
gordcbetter.simpler.messaging? :)14:34
silehtdamn, no more battery I have to get out of my sofa14:34
silehtbrb14:34
jd_life is a bitch14:36
jd_you need a 220V sofa sileht14:36
*** larainema has quit IRC14:39
*** iranzo has quit IRC14:40
*** iranzo has joined #openstack-telemetry14:41
*** iranzo has quit IRC14:41
*** iranzo has joined #openstack-telemetry14:41
*** links has quit IRC14:47
*** weshay is now known as weshay_pto14:55
openstackgerritJulien Danjou proposed openstack/ceilometer stable/pike: fix ceilometer-compute invoke libvirt exception error  https://review.openstack.org/52187214:58
openstackgerritMerged openstack/ceilometer master: fix ceilometer-compute invoke libvirt exception error  https://review.openstack.org/51758815:46
openstackgerritgordon chung proposed openstack/ceilometer stable/ocata: update install docs  https://review.openstack.org/51873115:55
*** links has joined #openstack-telemetry16:04
openstackgerritJulien Danjou proposed openstack/ceilometer stable/pike: fix ceilometer-compute invoke libvirt exception error  https://review.openstack.org/52187216:05
*** itlinux has joined #openstack-telemetry16:10
*** links has quit IRC16:12
*** edmondsw has quit IRC16:24
*** edmondsw has joined #openstack-telemetry16:25
*** AlexeyAbashkin has quit IRC16:28
*** edmondsw has quit IRC16:29
*** psachin has quit IRC16:29
*** iranzo has quit IRC16:44
openstackgerritJulien Danjou proposed openstack/ceilometer master: polling: run polling tasks immediately on start  https://review.openstack.org/52193016:46
*** openstackstatus has quit IRC16:58
*** openstackstatus has joined #openstack-telemetry16:59
*** ChanServ sets mode: +v openstackstatus16:59
*** flwang1 has joined #openstack-telemetry17:09
*** tesseract has quit IRC17:09
*** purplerbot has quit IRC17:18
*** purplerbot has joined #openstack-telemetry17:18
*** gkadam has quit IRC17:26
*** vint_bra has joined #openstack-telemetry17:39
*** pcaruana has quit IRC17:48
*** yprokule has quit IRC18:13
*** flwang1 has quit IRC18:24
*** shardy has quit IRC18:26
*** AlexeyAbashkin has joined #openstack-telemetry18:40
*** AlexeyAbashkin has quit IRC18:44
*** lhx_ has quit IRC18:47
*** itlinux has quit IRC18:57
*** itlinux has joined #openstack-telemetry19:03
EmilienMjd_: hey, can you please approve https://review.openstack.org/#/c/521284/ ?19:06
gordcdone.19:09
*** hoonetorg has quit IRC19:09
EmilienMgordc: thx19:09
*** hoonetorg has joined #openstack-telemetry19:10
jd_EmilienM: you're welcome19:11
EmilienMjd_: you're too slow.19:11
*** AlexeyAbashkin has joined #openstack-telemetry19:11
jd_blame RATP19:12
EmilienMjd_: gordc is faster, admit it19:15
*** AlexeyAbashkin has quit IRC19:16
jd_EmilienM: ok :(19:17
openstackgerritgordon chung proposed openstack/ceilometer master: test why pipeline queues filling  https://review.openstack.org/51706619:54
*** AlexeyAbashkin has joined #openstack-telemetry20:11
*** AlexeyAbashkin has quit IRC20:15
*** flwang1 has joined #openstack-telemetry20:39
*** sbezverk has quit IRC20:42
*** Guest25442 has quit IRC21:01
openstackgerritMerged openstack/ceilometer master: Imported Translations from Zanata  https://review.openstack.org/52172621:03
*** sbezverk has joined #openstack-telemetry21:11
*** vishwanathj has joined #openstack-telemetry21:23
*** gordc has quit IRC21:38
*** dave-mcc_ has quit IRC21:47
*** threestrands has joined #openstack-telemetry21:48
*** rcernin has joined #openstack-telemetry21:50
*** vint_bra has quit IRC22:40
*** itlinux has quit IRC23:05
*** AlexeyAbashkin has joined #openstack-telemetry23:12
*** AlexeyAbashkin has quit IRC23:16
*** gmann_afk is now known as gmann23:28

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