Wednesday, 2014-10-29

*** jeffrey4l has quit IRC00:16
*** jeffrey4l has joined #openstack-zaqar00:26
*** flwang has quit IRC00:33
*** cpallares has quit IRC00:41
*** flwang has joined #openstack-zaqar00:52
*** jeffrey4l has quit IRC01:40
*** jeffrey4l has joined #openstack-zaqar01:53
openstackgerritJeffrey Zhang proposed a change to openstack/python-zaqarclient: CLI support for message CRUD operations  https://review.openstack.org/12096601:54
openstackgerritJeffrey Zhang proposed a change to openstack/python-zaqarclient: CLI support for claim CRUD operations  https://review.openstack.org/12261102:40
*** vkmc has quit IRC02:41
openstackgerritA change was merged to openstack/python-zaqarclient: Adds encapsulation control to the client  https://review.openstack.org/12998803:18
*** flwang has quit IRC03:37
*** flwang has joined #openstack-zaqar03:53
*** flwang has quit IRC04:26
*** sgotliv has joined #openstack-zaqar05:02
*** reed has quit IRC05:33
*** flwang has joined #openstack-zaqar05:46
*** sgotliv has quit IRC05:55
*** flwang has quit IRC05:55
*** sgotliv has joined #openstack-zaqar06:08
*** yfujioka_ is now known as yfujioka06:27
*** yfujioka has quit IRC07:28
*** yfujioka has joined #openstack-zaqar07:41
*** exploreshaifali has joined #openstack-zaqar08:10
*** X019 has joined #openstack-zaqar08:46
*** X019 has quit IRC08:52
*** flwang has joined #openstack-zaqar08:58
flwangflaper87: ping08:59
flaper87flwang: pong09:00
flwangdo you have  a few minutes to discuss the notification service?09:00
flaper87flwang: yes sir09:04
flaper87flwang: well, actually09:04
flaper87flwang: just if you promise you'll be at the summit09:04
flaper87:P09:04
flwangflaper87: haha, I will be there if you promise a beer :)09:05
flaper87flwang: Sold!09:05
flwangas for the protocol, any priority in your mind?09:05
flwangI mean which one is the first we should focus? webhook, email, etc ?09:05
flaper87flwang: I'd say email09:06
flaper87erm09:06
flaper87sorry09:06
flaper87I meant, webhook09:06
flwangreason?09:07
flwangi was thinking email09:09
flwangso I would like to get some insight about why webhook09:09
*** jeffrey4l has quit IRC09:51
flaper87flwang: ops, just saw this10:05
flaper87flwang: you should really mention me10:05
flaper87:P10:05
flaper87otherwise I'll just forget about conversations10:05
flaper87flwang: the reason is that it's useful for more projects right now10:06
* flwang is sleeping. Zzzzz....10:06
flaper87I think getting emails done after the webhooks are done would be really easy10:06
flaper87flwang: wake up10:06
flaper87>.>10:06
flwangflaper87: IMUC, a simple webhook is most like a URL which can be triggered with a POST action, is it?10:07
flwangs/IMUC/IIUC10:08
*** jeffrey4l has joined #openstack-zaqar10:08
*** malini has joined #openstack-zaqar10:18
*** malini has quit IRC10:18
*** malini has joined #openstack-zaqar10:19
*** sgotliv has quit IRC10:22
flaper87flwang: right10:30
flaper87flwang: that's the simpliest way to describe it10:30
flaper87the implementation is not that easy, though10:31
flwangflaper87: got, I'm reading the api doc of SNS to get some inspirations10:31
flaper87flwang: awesome, did you read the spec I wrote ?10:37
flaper87flwang: let me know what you think10:37
flaper87I'd really really like to get this done in Juno10:37
flaper87flwang: how much time do you think you'll be able to put on this?10:37
flwangflaper87: I have read that10:40
flwangI will put my comments on that in/after the summit :)10:40
flwangdid you mean Kilo?10:40
flwangI think that's my focus in Kilo among all my community work10:41
flaper87flwang: awesome, good to know10:41
flwangI think I can put 15-20 hours per week, if that's you're asking for10:41
flwangyou know, there is not too much interesting stuff in Glance, IMHO10:42
flwangso I need some fun at here :)10:42
flaper87flwang: looooooooooooool, I'll save this log for later :P10:44
flaper87flwang: 20h per week sounds great10:44
flaper87I'm looking forward to help with as much as I can if you are willing to take the lead on that work10:44
flwangdon't tell the secret to those glance guys :)10:45
flwangflaper87: i'm happy to take it and I will cry aloud at the channel if I need some help10:46
flaper87flwang: there are things missing in that spec. For example, how are we going to call the subscribed webhooks concurrently?10:48
flaper87flwang: I dropped a comment about this in the review10:50
flwangit may deserve a dedicated daemon service to do that10:51
flwangtaskflow is most like a workflow management lib, I'm not really sure if it's good at parallel running something.10:53
flwangwill talk with Joshua H to get some insight10:53
openstackgerritFlavio Percoco proposed a change to openstack/zaqar: Document mongodb's driver deployments  https://review.openstack.org/12593810:59
flaper87flwang: I'm not sure about adding extra workers11:01
flaper87to have separate workers you need to rely on a messaging service to talk to them11:01
flaper87that'd be weird11:01
flaper87with taskflow we could use the parallel executor which should be based on eventlet11:02
flaper87after all, talking to the subscribers will be all about IO11:02
*** flwang has quit IRC11:02
*** flwang has joined #openstack-zaqar11:03
*** boris-42 has quit IRC11:11
*** vkmc has joined #openstack-zaqar11:22
vkmcmorning!11:27
exploreshaifaliGood morning vkmc11:29
exploreshaifaliplease can you give any thoughts for bug https://bugs.launchpad.net/zaqar/+bug/137346411:30
vkmchey exploreshaifali!11:32
vkmcthat is a complex one11:32
exploreshaifalivkmc: yeah, but there is no other bug which is easy yet unassigned11:33
vkmcwe use a function to set some configs at runtime11:33
vkmcI see11:33
vkmchave you checked the client?11:33
exploreshaifalivkmc: client?11:34
vkmchttps://bugs.launchpad.net/python-zaqarclient/11:36
exploreshaifalivkmc okay, let me see there too :) Thanks!11:36
vkmcnp11:39
*** exploreshaifali has quit IRC11:45
*** X019 has joined #openstack-zaqar11:47
vkmcflaper87, hey d000d11:47
vkmcdid you see the websockets-amqp bindings I shared yesterday?11:48
vkmcwanna know your comments on that11:48
*** X019 has quit IRC11:58
*** sgotliv has joined #openstack-zaqar12:00
*** X019 has joined #openstack-zaqar12:00
flaper87o/12:07
flaper87GOOOOOOOOOOOOOOOOD MORNING12:07
flaper87vkmc: ah yeah, I saw it12:07
flaper87I actually had seen it before and then completely forgot12:07
flaper87that'd be *very* interesting to explore12:08
flaper87vkmc: great finding12:08
flaper87too bad it's still a draft, though.12:08
vkmcflaper87, yeah I saw it yesterday night and it was like finding a gummybear12:08
vkmcyeah, its fairly new12:08
vkmcbut there is some work on that direction12:08
vkmcand it would make things easier for us!12:08
flaper87vkmc: I'm asking the experts as we speak12:09
flaper87lets see if I can get more info about it12:09
vkmcflaper87, you rock!12:09
vkmcit would be cool to have more info about it before the persistent transport session12:10
flaper87vkmc: indeed12:10
vkmcso we can give some extra points to adding a websocket driver :D12:10
flaper87somehow, I keep missing exploreshaifali lately12:10
vkmcflaper87, ok you know you rock... but you can be more humble about it12:10
flaper87vkmc: LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOL12:11
flaper87ROFL12:11
vkmc'you rock' -> 'indeed'12:11
vkmclol12:11
flaper87That was obviously meant for your last message12:11
vkmcI know, I'm messing with ya12:11
flaper87ROFL12:11
vkmcah well12:11
vkmcthere is also some work with mqtt and stomp12:11
vkmcwhich may not be our target now... buuuuuut12:12
flaper87vkmc:  I know sebasmagri was interested in doing something with mqtt but he keeps bailing on us12:12
flaper87;)12:12
vkmcoh cool, didn't know about it12:13
vkmchey another thing12:14
vkmcwhat's the deal with this change? https://review.openstack.org/#/c/122591/12:14
vkmcflaper87, ^12:14
vkmcshould we remove grace update from the API as well?12:15
*** flwang has quit IRC12:15
flaper87vkmc: mmmh12:19
flaper87vkmc: I gotta take a better look at that but I think the change is correct12:19
flaper87we don't allow updating the grace in the claims update12:20
flaper87AFAIK12:20
vkmcwe kinda do12:21
vkmcI dunno if we should12:21
vkmcbut we do12:21
vkmchaha12:21
flaper87LOL12:22
flaper87sounds consistent /sarcasm12:22
vkmcof course, we produce the finest software12:23
vkmcsince 201312:23
vkmcor 2012_12:23
vkmc?*12:23
flaper87vkmc: 198412:24
vkmcah well, Zaqar was there even before you born?12:24
flaper87vkmc: Nope, I was there before I was born12:26
vkmcok NO, I don't need another ride across your brain internals12:27
vkmclol12:27
*** jeffrey4l has quit IRC12:32
*** jeffrey4l has joined #openstack-zaqar12:53
*** X019 has quit IRC12:54
vkmcok, brb13:02
*** sriram has joined #openstack-zaqar13:03
*** malini has quit IRC13:04
flaper87vkmc: http://svn.apache.org/viewvc/qpid/proton/branches/fadams-javascript-binding/proton-c/bindings/javascript/13:28
flaper87vkmc: I was told the ws support in proton is going to land soon13:29
flaper87I guess we can't depend on it just yet13:29
flaper87but we should totally keep an eye on that13:29
*** jchai has joined #openstack-zaqar13:29
*** jeffrey4l has quit IRC13:33
flaper87kgriffs|afk: ping when you're around13:35
flaper87kgriffs|afk: I'd like to discuss something w.r.t mongodb's FIFO support13:35
*** sgotliv has quit IRC13:48
*** sgotliv has joined #openstack-zaqar13:48
flaper87kgriffs|afk: vkmc malini|afk https://review.openstack.org/#/c/125938/13:53
flaper87pls13:53
*** malini has joined #openstack-zaqar13:53
*** cpallares has joined #openstack-zaqar13:58
*** amitgandhinz has joined #openstack-zaqar13:59
openstackgerritA change was merged to openstack/zaqar: Updated from global requirements  https://review.openstack.org/13112614:15
*** jeffrey4l has joined #openstack-zaqar14:19
*** jchai is now known as jchai_afk14:40
jeffrey4lflaper87, What's the requirement to add storage backend at the running time( i.e. The register pool interface, which will connect a backend storage at the running time). Why not configuring it through the config file? Then restart/reload the service.14:53
*** jchai_afk is now known as jchai14:58
jeffrey4lI think there should be also bug/issue in there. if the storage driver already created, it will be never updated when updating the pool's option.14:59
flaper87jeffrey4l: operators hate restarting services ;)14:59
jeffrey4lflaper87, ^14:59
flaper87jeffrey4l: I'm not sure I understand what you're referring to14:59
flaper87is it about the pool stuff ?14:59
jeffrey4lyup.14:59
jeffrey4li can describe it more detail.15:00
jeffrey4l1. Register a pool ( for example named p1)15:00
jeffrey4l2. When user create queue, it may use the p1 pool.15:01
jeffrey4l3. Then the user can do what ever he want. But remember the backend driver in the p1 pool is created.15:02
jeffrey4l4. The admin want to re-config the options of p1 pool. Then he can update the pool.15:03
jeffrey4l5. Bug is here. The created backend driver in step 3 will never be updated by using the latest option configured in step 4.15:04
jeffrey4lflaper87, clearly?15:04
flaper87jeffrey4l: what options do you think the operator would change? connection uri?15:10
flaper87I don't think the operator should be allowed to do that, not if there are queues assigned to that pool15:10
flaper87instead, the operator should create a different pool and then migrate the queue15:10
flaper87Queue's migrations were discussed at the ATL summit and we were waiting for flavors to land to start working on that15:10
jeffrey4lI think the operator may change any options. Because there are many option existence in mongo/redis connection param.15:15
*** sgotliv has quit IRC15:15
flaper87jeffrey4l: oh, you mean just the uri options15:16
jeffrey4lyep15:16
flaper87jeffrey4l: mmh, I'm torn there, though. I mean, on whether that's a good thing to allow or not15:17
flaper87I think I'd lean towards letting the operator update the URI and just have a way to refresh the connection of the already loaded driver15:17
flaper87It should be pretty trivial15:18
flaper87jeffrey4l: could you create a bug issue for that15:18
flaper87?15:18
jeffrey4lflaper87, ok.15:18
jeffrey4lI just hate to change the system config through the api. :p15:25
*** jeffrey4l_ has joined #openstack-zaqar15:27
jeffrey4l_I just hate to change the system config through the api. :p15:27
flaper87It's not really a system config. FWIW, the system config is where the pool's config are stored15:27
jeffrey4l_ok.15:30
jeffrey4l_flaper87, so what's the right direction for this bug?15:31
*** jeffrey4l has quit IRC15:31
*** reed has joined #openstack-zaqar15:33
jeffrey4l_1) stop the operator to update the options if the queue is using. OR 2) reload the driver after the options is updated.15:35
jeffrey4l_flaper87, ^15:38
flaper87jeffrey4l_: I'm leaning towards 215:39
flaper87lets discuss this with other folks too15:39
flaper87kgriffs|afk: vkmc malini ^15:39
*** jchai is now known as jchai_afk15:40
*** jeffrey4l_ has quit IRC16:04
*** jchai_afk is now known as jchai16:05
*** reed has quit IRC16:15
*** mpanetta has joined #openstack-zaqar16:31
*** mpanetta has joined #openstack-zaqar16:32
*** zhiyan has quit IRC16:36
*** reed has joined #openstack-zaqar16:43
AAzzaflaper87: hi16:56
AAzzaflaper87: yes, the only thing left is decide to what to visit on the conference and in Paris)16:58
*** mpanetta has quit IRC17:20
*** mpanetta has joined #openstack-zaqar17:21
*** amitgandhinz has quit IRC17:25
*** exploreshaifali has joined #openstack-zaqar17:27
*** fifieldt has quit IRC17:43
*** zhiyan has joined #openstack-zaqar17:59
*** mpanetta has quit IRC18:02
*** mpanetta has joined #openstack-zaqar18:03
*** jchai is now known as jchai_afk18:09
*** amitgandhinz has joined #openstack-zaqar18:16
*** jchai_afk is now known as jchai18:24
*** exploreshaifali has quit IRC18:31
*** jchai is now known as jchai_afk18:39
*** kgriffs|afk is now known as kgriffs18:50
*** jchai_afk is now known as jchai18:50
flaper87AAzza: I'm pretty sure you have Tuesday packed :P19:00
flaper87AAzza: Tuesday is Zaqar all day long19:00
* flaper87 is so exited, we'll all be there19:01
*** flwang has joined #openstack-zaqar19:05
*** jchai is now known as jchai_afk19:08
kgriffsflaper87: regarding jeffrey41's question19:12
kgriffsI think it makes sense to let the operator update some options, say retry timeouts, ssl options, etc.19:13
kgriffstoday you would do that by updating the pool catalog19:13
kgriffsand then HUP your web heads19:14
kgriffssomething we should document in any case (add to your documentation TODO list)19:14
flaper87mmh, I'm not a fan of HUP when we can invalidate the loaded driver19:34
flaper87I mean, I think updating options is find19:34
*** malini has quit IRC19:34
flaper87kgriffs: while I have you here: Was there any reason not to increment the counter right away? https://github.com/openstack/zaqar/blob/master/zaqar/queues/storage/mongodb/messages.py#L51719:35
*** exploreshaifali has joined #openstack-zaqar19:35
flaper87I don't remember19:36
* kgriffs looking19:36
kgriffsflaper87: I remember thinking about it a lot but can't remember the exact "why". :p19:37
kgriffsi.e., it wasn't an arbitrary decision19:37
kgriffsnot saying it can't be revisited, but needs to be thought through carefully if we do19:37
kgriffslet me see19:38
kgriffssuppose we increment it right away19:38
kgriffsI remember19:38
flaper87by N where N is the number of messages to insert19:38
kgriffsthen you have two parallel requests, say19:38
kgriffsthey won't collide19:38
kgriffshowever if the one with the larger basis marker inserts first (wins the race)19:39
kgriffsthen a client lists messages19:39
kgriffsit gets the higher marker value19:39
kgriffsthen the other request to post messages completes19:39
flaper87ah right19:39
kgriffsnow the client won't see the last batch19:39
flaper87now I remember, I should probably write that down19:39
kgriffsd00d, some days I am tempted to saw "forget the extra messaging patterns" and just do claim-based message retrieval only. it would be soooo much simpler. :p19:40
*** AAzza is now known as AAzza_afk19:40
kgriffsless useful, but a lot easier.19:41
kgriffss/saw/say19:41
kgriffsthing is, there is still a need for stuff like pub-sub, and once you do that you have solved most of the implementation and adding on claims is a fairly straightforward extension. but I digress...19:42
*** flwang has quit IRC19:43
kgriffsflaper87: re updating options - yeah, it would be nice if Zaqar would periodically check last update time for a given pool and reload the driver automagically.19:44
*** jchai_afk is now known as jchai19:53
*** cpallares has quit IRC20:04
*** flwang has joined #openstack-zaqar20:16
flaper87kgriffs: I think we can do that during the update20:51
flaper87Update the pool -> reload the driver20:52
kgriffson all the web heads?20:52
flaper87kgriffs: oh, mmh. that's a very good point20:52
* flaper87 slaps himself with the "distributed" guide20:52
kgriffs:)20:52
kgriffsI was thinking we could just cache the "last update" timestamp as well as a "last checked"20:53
flaper87kgriffs: right, and we go back to our last discussion re Redis. Is it fair to ask for it to *always* be installed ?20:53
kgriffsif it is just for caching, I don't think we have to require it assuming we are using a pluggable caching library20:54
*** jchai is now known as jchai_afk20:54
kgriffsspeaking of which20:55
kgriffsoslo cache library - what's the status?20:55
kgriffsbecause right now20:55
kgriffszaqar only supports in-process (memory) cache20:56
flaper87kgriffs: http://doughellmann.com/2014/10/26/oslo-goals-for-kilo-cycle.html#cache-configuration-library20:56
flaper87kgriffs: yeah20:56
kgriffsflaper87: I think this is actually somthing that fell through the cracks for us20:58
kgriffsby the end of kilo we really need to support memcached and/or redis for caching20:59
kgriffsthat means either migrating to use dogpile directly, or getting that cache spec done20:59
*** jchai_afk is now known as jchai21:01
*** sriram has quit IRC21:02
*** jchai has quit IRC21:15
*** amitgandhinz has quit IRC21:41
*** exploreshaifali has quit IRC21:43
*** openstackgerrit has quit IRC21:50
*** cpallares has joined #openstack-zaqar21:53
*** cpallares has quit IRC21:53
*** kgriffs is now known as kgriffs|afk22:45
*** mpanetta has quit IRC23:23
*** jeffrey4l_ has joined #openstack-zaqar23:52

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