Tuesday, 2015-02-03

*** vkmc has quit IRC00:00
*** kgriffs is now known as kgriffs|afk00:07
*** vkmc has joined #openstack-zaqar00:08
*** cpallares has quit IRC00:39
*** wpf1 has quit IRC01:00
*** zhiyan has quit IRC01:10
*** wpf1 has joined #openstack-zaqar01:17
*** zhiyan has joined #openstack-zaqar01:21
*** davideagnello has quit IRC01:24
*** achanda has quit IRC01:31
*** kgriffs|afk is now known as kgriffs01:46
*** kgriffs is now known as kgriffs|afk01:55
*** davideagnello has joined #openstack-zaqar01:56
*** davideagnello has quit IRC01:56
*** davideagnello has joined #openstack-zaqar02:51
*** flwang has quit IRC03:24
*** kgriffs|afk is now known as kgriffs03:35
*** flwang has joined #openstack-zaqar03:35
*** kgriffs is now known as kgriffs|afk03:44
*** sebasmagri has quit IRC03:50
*** sebasmagri has joined #openstack-zaqar03:50
*** davideagnello has quit IRC04:02
*** davideagnello has joined #openstack-zaqar04:03
*** davideagnello has quit IRC04:03
*** flwang has quit IRC04:09
*** jdaggett_ has quit IRC04:11
*** jdaggett_ has joined #openstack-zaqar04:11
*** achanda has joined #openstack-zaqar04:12
*** amalagon has quit IRC04:12
*** amalagon has joined #openstack-zaqar04:12
*** amalagon has quit IRC04:17
*** kgriffs|afk is now known as kgriffs04:35
*** kgriffs is now known as kgriffs|afk04:45
*** achanda has quit IRC04:55
openstackgerritZhi Yan Liu proposed openstack/zaqar: Integrate OSprofiler with Zaqar  https://review.openstack.org/14135605:07
*** achanda has joined #openstack-zaqar05:16
*** echevemaster has quit IRC05:27
openstackgerritZhi Yan Liu proposed openstack/zaqar: Integrate OSprofiler with Zaqar  https://review.openstack.org/14135605:38
*** davideagnello has joined #openstack-zaqar05:51
*** davideagnello has quit IRC05:56
openstackgerritOpenStack Proposal Bot proposed openstack/zaqar: Imported Translations from Transifex  https://review.openstack.org/15154906:03
*** kgriffs|afk is now known as kgriffs06:24
*** kgriffs is now known as kgriffs|afk06:34
*** miqui has quit IRC06:35
*** achanda has quit IRC07:04
*** exploreshaifali has joined #openstack-zaqar07:22
exploreshaifaliflaper87, ping07:25
*** achanda has joined #openstack-zaqar07:29
*** achanda has quit IRC07:54
*** achanda has joined #openstack-zaqar08:01
*** kgriffs|afk is now known as kgriffs08:13
exploreshaifaliflaper87, if you have a bit of time please can we discuss about message_controller and pipeling ?08:22
*** kgriffs is now known as kgriffs|afk08:22
flaper87exploreshaifali: hey hey08:23
flaper87exploreshaifali: shoot08:23
flaper87It may take me a bit to answer, this week is quite busy for me08:23
exploreshaifaliflaper87, so we decided to add new class MessageQueueHandler kinda in storage/mongodb/messages and connect it with pipeline08:24
*** wpf1 has quit IRC08:25
exploreshaifaliflaper87, so that ControlDriver or QueueController can fetch the stuff from pipeline08:25
exploreshaifaliflaper87, but the pipeline have only DataDriver class08:25
exploreshaifaliflaper87, logically it should also have ControlDriver class08:26
exploreshaifalihttps://github.com/openstack/zaqar/blob/master/zaqar/storage/pipeline.py#L8408:26
exploreshaifaliand whatever we need to hack with pipeline should come from pipeline.ControlDriver08:26
*** wpf1 has joined #openstack-zaqar08:26
exploreshaifalithis is the issue08:27
exploreshaifaliflaper87, no problem, take your time to answer :P08:27
*** flwang has joined #openstack-zaqar08:29
flaper87exploreshaifali: why does it have to have the control driver?08:29
exploreshaifaliflaper87, we need message_controller access to QueueController, and we decided following steps to get it -- 1. create in mongodb.messages a `QueueMessageHandlerThingy`2. then add that to the entry-points and let the pipeline do its job08:31
exploreshaifaliflaper87, so for second step08:31
exploreshaifaliwe need to add that to entry point, if we will add it to pipeline.DataDriver it will be again of no use08:31
exploreshaifalias we need to add QueueMessageHandler to entry point such that it could be used by QueueController08:32
*** achanda has quit IRC08:32
exploreshaifaliQueueController cannot access anything from DataDriver08:33
exploreshaifaliit have access of ControlDriver08:33
flaper87exploreshaifali: but you have a control instance in the data driver already08:42
flaper87and you can access the data driver from the message controller08:42
exploreshaifaliflaper87, but we need to access message_controller access in QueueController, may be I am not getting exactly what was your thought08:44
exploreshaifaliflaper87, should I start everything from scratch ?08:44
flaper87I don't think we need to access the message controller from the queue controller. The point of using the pipeline is to just put the message handler in the queue's ops pipeline and have some things triggered08:46
flaper87do you have a review of the current state?08:46
exploreshaifaliflaper87, I am reading https://review.openstack.org/#/c/51049/ to understand how stuff moves from pipeling to further steps08:49
flwangflaper87: ping09:30
*** kgriffs|afk is now known as kgriffs10:02
*** davideagnello has joined #openstack-zaqar10:07
flaper87q/bu1710:10
flaper87ops10:10
*** kgriffs is now known as kgriffs|afk10:11
openstackgerritFei Long Wang proposed openstack/zaqar: Implement webhook notifier driver  https://review.openstack.org/15152910:24
openstackgerritMerged openstack/zaqar: Imported Translations from Transifex  https://review.openstack.org/15154910:55
openstackgerritFei Long Wang proposed openstack/zaqar: Implement webhook notifier driver  https://review.openstack.org/15152911:13
flwangflaper87: ping11:13
flwangflaper87: ^11:14
flwangpls take a look at the notifier patch11:14
flwangi'd like to discuss with you about the notifier driver, I have some concerns for current design11:15
flaper87flwang: pong11:18
flaper87flwang: I'm about to go afk11:18
flaper87but I'll take a look11:18
vkmcflwang, hi!11:27
flwangvkmc: hi11:27
vkmcflwang, what is your concern with the design?11:27
flwangvkmc: i will review your patch11:27
vkmcflwang, np11:28
flwangvkmc: ah, the concern is the way retrieving the subscriptions for notifier11:28
flwangmy initial thought is implementing different driver for different subscriber types, like email, webhook, sms, etc11:29
flwangbut when I implementing it, i just realized that most of the code of sending notification(leveraging taskflow) is common11:30
flwangonly the task of taskflow is different11:30
vkmcwell, that's good11:30
flwangso i'm going to implement one notifier(no driver anymore) and many tasks11:30
*** exploreshaifali has quit IRC11:31
flwanghttps://review.openstack.org/#/c/151529/3/zaqar/notifier/webhook.py11:31
flwangin other words, most of the code in post() is common11:31
flwangwe just need different task types for different subscribers11:32
vkmcyeah, only the nested for loop is for webhook, right?11:32
flwanghope my explanation make some sense11:32
vkmcso you could add in the same class some private methods and call them whatever the suscriber you have?11:32
flwangi think so11:33
vkmcneat11:33
vkmcand what was your perf concern?11:34
flwangotherwise, even i can extract the common code, there is another issue we can not avoid11:34
flwangif we keep current way, we have to talk with database many times to get the different subscriptions with different types11:34
flwangif we take above way I just explained, we only need one11:35
vkmcfor what I understand in webhook.py11:36
vkmcyou only have one connection with the db to retrieve the list of subscriptions11:36
flwangfor now yes, since we only support webhook11:36
vkmcthen you delegate all the work to taskflow11:36
flwangand it's a work in progress ;)11:37
flwangvkmc: right11:37
vkmcand how do you retrieve the subscriptions when they are... for instance, sms?11:37
vkmcflwang, sure, I'm curious about it :)11:37
flwangvkmc: that's what i'm talking about11:37
flwangwe may need a query to get the subscriptions with specific subscriber type11:38
vkmcoh... hmm11:38
vkmcmakes sense now11:38
flwangthere are some work for current patch11:39
flwangbut you got my point i hope ;)11:39
vkmcyeah totally11:39
flwangbtw, I'm sure current patch is workable11:39
vkmcso... hmm... subscriber type is a key in the current implementation?11:39
vkmcprobably that's the case11:40
flwangyep11:40
flwangok, pls feel free leave your comments on the patch11:40
vkmcsure11:40
flwangi have to drop off now11:40
flwangit's late at here11:41
vkmcok, thanks flwang11:41
vkmcoh yes, time to head out11:41
flwangvkmc: i will eat your patch tomorrow as my breakfast11:41
vkmctake care flwang!11:41
flwangttyl11:41
vkmcw000t :D ttyl11:41
*** kgriffs|afk is now known as kgriffs11:50
*** kgriffs is now known as kgriffs|afk12:00
*** boris-42 has quit IRC12:22
*** boris-42 has joined #openstack-zaqar12:22
*** cpallares has joined #openstack-zaqar12:30
*** davideagnello has quit IRC12:36
*** exploreshaifali has joined #openstack-zaqar12:46
exploreshaifalivkmc, \o/12:48
exploreshaifalikragniz, \o/12:48
kragnizexploreshaifali: o/ o/ o/ o/ o/ o/ o/12:49
vkmcheeeeeeey exploreshaifali!12:49
vkmcmorning kragniz12:50
vkmc:)12:50
exploreshaifaliwhat's going on ?12:50
kragnizgood morning vkmc12:50
*** diga has quit IRC12:52
kragnizexploreshaifali: I'm having a "lovely time" with a glance spec12:53
kragnizI'd like it to be in k2 ;_;12:53
exploreshaifalikragniz, cool, which spec btw ?12:54
kragnizexploreshaifali: a spec of sadness12:54
kragnizexploreshaifali: https://review.openstack.org/#/c/146437/12:54
exploreshaifalikragniz, lovely time with sadness12:56
exploreshaifali:P12:56
exploreshaifalibut there are loads of comments, sign of your hard work12:56
*** g4rg4m3|_ has joined #openstack-zaqar12:57
cpallareskragniz: I would approve this spec of sadness.12:57
*** flwang has quit IRC12:57
*** jasondotstar has quit IRC12:57
*** flwang has joined #openstack-zaqar12:57
cpallares(which is probably why I'm not core)12:57
exploreshaifalicpallares, lol12:58
kragnizcpallares: you just understand it well enough!13:00
*** jasondotstar has joined #openstack-zaqar13:28
*** exploreshaifali has quit IRC13:37
*** jasondotstar has quit IRC14:08
*** sriram has joined #openstack-zaqar14:13
*** jasondotstar has joined #openstack-zaqar14:20
*** mpanetta has joined #openstack-zaqar14:29
*** boris-42 has quit IRC14:32
*** davideagnello has joined #openstack-zaqar14:36
*** malini has joined #openstack-zaqar14:59
*** amitgandhinz has joined #openstack-zaqar15:30
*** kgriffs|afk is now known as kgriffs15:31
*** diga has joined #openstack-zaqar15:31
*** kgriffs is now known as kgriffs|afk15:32
*** kgriffs|afk is now known as kgriffs15:32
*** achanda has joined #openstack-zaqar15:32
*** achanda has quit IRC15:40
*** diga has quit IRC16:01
*** diga has joined #openstack-zaqar16:02
*** exploreshaifali has joined #openstack-zaqar16:38
*** boris-42 has joined #openstack-zaqar17:02
*** amalagon has joined #openstack-zaqar17:17
*** flwang has quit IRC18:04
*** kgriffs is now known as kgriffs|afk18:18
*** achanda has joined #openstack-zaqar18:18
*** kgriffs|afk is now known as kgriffs19:28
*** jasondotstar has quit IRC19:30
*** bradjones has quit IRC20:10
*** boris-42 has quit IRC20:12
*** bradjones has joined #openstack-zaqar20:14
*** flwang has joined #openstack-zaqar20:16
*** jasondotstar has joined #openstack-zaqar20:25
*** flwang2 has joined #openstack-zaqar20:27
*** flwang has quit IRC20:27
*** kgriffs is now known as kgriffs|afk20:35
*** malini has quit IRC20:37
*** openstackgerrit has quit IRC20:50
*** jasondotstar has quit IRC20:50
*** openstackgerrit has joined #openstack-zaqar20:50
*** exploreshaifali has quit IRC20:52
*** kgriffs|afk is now known as kgriffs21:01
*** achanda has quit IRC21:03
*** achanda has joined #openstack-zaqar21:21
*** mpanetta has quit IRC21:40
*** exploreshaifali has joined #openstack-zaqar21:49
*** kgriffs is now known as kgriffs|afk21:53
*** kgriffs|afk is now known as kgriffs21:54
*** kgriffs is now known as kgriffs|afk22:03
*** kgriffs|afk is now known as kgriffs22:19
*** jasondotstar has joined #openstack-zaqar22:20
*** sriram has quit IRC22:21
*** cpallares has quit IRC22:27
*** diga has quit IRC22:28
*** davideagnello has quit IRC22:36
*** jasondotstar has quit IRC22:46
*** kgriffs is now known as kgriffs|afk23:07
*** zhiyan has quit IRC23:08
*** kgriffs|afk is now known as kgriffs23:10
*** jasondotstar has joined #openstack-zaqar23:15
*** zhiyan has joined #openstack-zaqar23:21
*** amitgandhinz has quit IRC23:21
*** kgriffs is now known as kgriffs|afk23:22
*** kgriffs|afk is now known as kgriffs23:23
*** jasondotstar has quit IRC23:45
*** kgriffs is now known as kgriffs|afk23:55

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