21:00:48 #startmeeting zaqar 21:00:48 Meeting started Mon Jan 25 21:00:48 2016 UTC and is due to finish in 60 minutes. The chair is flwang. Information about MeetBot at http://wiki.debian.org/MeetBot. 21:00:49 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 21:00:51 The meeting name has been set to 'zaqar' 21:00:59 #topic roll call 21:01:02 o/ 21:01:12 o/ 21:01:17 hello everyone 21:01:19 o/ 21:02:03 Eva-i: hi there 21:02:11 \o zaqarians 21:03:04 ok, let's start :) 21:03:20 #topic zaqar client 21:03:30 #topic zaqarclient 21:03:57 o/ 21:04:14 for now, the only functional gap for our client, is the pre-signed url, IIRC 21:04:41 oh, and the claim support for v2 21:04:48 https://review.openstack.org/253731 21:04:54 https://review.openstack.org/265663 21:05:11 i will give it a try for the pre-signed url today 21:05:36 guys, pls add them on your list :) 21:05:41 I think the test "test_signed_url" in the client needs to be fixed 21:05:53 I'll try 21:06:06 added 21:06:28 Eva-i: cool, just add your comments 21:06:32 on the patch ;) 21:06:52 yes 21:06:59 anything else we need to discuss for the client side? 21:07:35 no 21:07:57 not from me 21:08:06 we do have some other patches for client side, but i won't highlight them here, pls go through the list and review them, thanks 21:08:17 #topic zaqar-ui 21:09:05 we have merged two patches of zaqar ui to get a workable panel for queues 21:09:12 now, you can list queues 21:09:14 \o/ 21:09:24 ryansb: yep :) 21:09:25 I tried zaqar-ui, it doesn't work for me 21:09:42 Eva-i: i can help you offline 21:09:52 oki 21:10:04 since it's plugin mode, so TBH, it's not easy to deploy 21:10:38 flwang: one guy visited us today and here's the paste for you: http://paste.openstack.org/show/hbvsnhNNFTxfMDkZIJku/ 21:10:39 for more functions, like create, delete, update, we have a horizon core member who will help us to get some samples 21:10:51 Eva-i: AJ? yep, i saw that 21:11:00 oki, good 21:11:06 Eva-i: i will ping him to get more details, thanks for the heads up 21:12:05 personally, i would like to complete the client work asap and focus on the zaqar UI 21:12:26 my goal is complete the queues and subscriptions work in Mitaka 21:12:44 and leave the pool and flavor a while, maybe in Newton 21:13:08 so remember, we have a new zaqar-ui repo now, don't miss it :) 21:13:11 ah, can we have https://review.openstack.org/270464 as a topic, btw? 21:13:25 ryansb: definately 21:13:32 ryansb: it's on my topic list 21:13:42 (cool, sorry to interject) 21:15:08 ryansb: thanks for the reminder :) 21:15:14 anything else? 21:15:30 otherwise, let's move to the server side 21:15:31 yes 21:15:38 Eva-i: yes? 21:15:39 let's move to the server side 21:15:53 flwang: I mean no, go on 21:15:59 #topic the TTL of subscription 21:16:16 ryansb: i saw your comments 21:16:51 I think permanent subscriptions are dangerous thing 21:17:08 i don't mind removing the default permanent setting for subscription TTL, but i would like to support it 21:17:33 ryansb: i can see your point for the keystone token example 21:17:43 but i think they're different scenarios 21:18:01 1. login/token is a very frequent action 21:18:16 so would subscribe, in cloud-y contexts 21:18:19 that's why admin always run into the problem, have to clean up the token table 21:19:08 topic/queue subscription is not a very frequent action, there shouldn't be too much records in db 21:19:31 I disagree - for things like worker pools & user-facing notifications it would be 21:19:44 say, for example, a web app opens a websocket to zaqar for updates 21:19:56 every new instance of that page would get a subscription 21:20:07 ryansb: why? 21:20:29 why every new instance of the page will get a new subscription? 21:21:07 because websockets wouldn't be able to share one, would they? They'd have different client IDs 21:21:50 and even if they could, you wouldn't share a subscription between users 21:22:04 yeah, agree with ryansb there 21:22:14 websocket open a new connection on every refresh 21:22:26 what I'm saying isn't "the default can't be a long time," I'm saying "we can't honestly tell users that subscriptions last forever" 21:22:33 especially not by default 21:23:03 I don't see the point of having forever lived subscriptions 21:24:42 vkmc: for wsgi(not websocket) case, i think most of the subscription is aim to forever/permanent 21:24:44 for example 21:25:03 the new integration of ceilometer/aodh 21:25:19 when user create an alarm, and using zaqar as the notifier 21:25:27 flwang: I think websocket subscriptions should live only during connection time. 21:25:43 do you think the user would like to use a TTL for the alarm? 21:26:02 ceilometer should update subscriptions then 21:26:19 Eva-i: sorry? 21:26:21 I think subscriptions should have to be renewed 21:26:35 ryansb: Eva-i: who? 21:26:45 flwang: for example, ceilometer would say "subscribe me for 3 days" 21:26:47 let the user manually update the alarm again and again? 21:27:01 and then after 2 days, ceilo would say "Give me another 3 days" 21:27:03 and so on 21:27:13 ryansb: that's really weird for me 21:27:48 let's make the topic clear 21:27:51 perhaps we could get some feedback from ceilo guys about that 21:28:35 i don't mind making an explicit TTL and removing the default permanent subscription 21:28:57 the thing we're discussing is if we should support the permanent TTL 21:29:52 vkmc: we could 21:30:35 ok, let me ask, what's the bad thing if we have a permanent subscription support? 21:30:50 and given it's not a default setting 21:33:14 I think it'd still be disingenuous, because nothing is really "forever" 21:33:44 so... I'd say it potentially leads to wasted resources 21:33:52 ryansb: user can delete them if they want to 21:34:54 ryansb: i can't follow, sorry 21:35:23 flwang: so when a user says "subscribe me forever" 21:35:34 we can't guarantee the thing they subscribe will never fail 21:35:37 I guess my concern could be solved with some sort of garbage collector 21:35:43 or we leave that to the clients 21:35:49 or that they will remember to unsubscribe 21:35:55 ryansb: no, it's different concept 21:36:19 I'd be ok with something like "you can ask for "forever" but if you aren't around for a month we're deleting the subscription" 21:36:36 I really don't want to make a situation where dead subs can live forever easily 21:36:39 subscription fail is different' from the concept subscription removal 21:36:56 I mean *subscriber* fail 21:37:12 so if my app subscribes "forever" then the machine dies, it will never unsubscribe 21:37:14 leaving cruft 21:37:27 let's think about newsletter subscriptions, as an example 21:37:34 when you subscribe you don't define a TTL 21:37:39 it's ... permanent, right? 21:37:49 ryansb: did you see the TTL concept on SNS? 21:38:06 but there is a cron job that sends you a reminder everytime in a while 21:38:30 looking at it that way this kinda starts making sense to me 21:39:05 vkmc: i would say yep 21:39:17 flwang: maybe you're right 21:39:24 cron job is a 'permanent'/forever job, isn't it? 21:39:43 it's a scheduled job 21:40:00 vkmc: that's not wrong either 21:41:28 ok, I guess we need to discuss this a bit further and make sure we are clear on what this constitutes 21:41:52 vkmc: okay 21:42:01 there are use cases in which makes sense, as you pointed out flwang 21:42:09 I will have a talk with ceilometer team and the searchlight team 21:42:50 vkmc: i can see your guys concern, but I'm trying to get some balance 21:43:00 flwang++ sounds good to me 21:43:24 i think the key of the software is to make user happy :) 21:43:44 truth 21:43:48 if there will be no pernanent subscriptions in Zaqar, ceilometer should update subscriptions for the user, it the user wants pernanent subscription, so no manual updating 21:44:46 Eva-i: let ceilometer update it? 21:44:48 how? 21:45:33 by some kind of daemon 21:45:40 it's just an assumption 21:45:52 Eva-i: it's impossible unfortunately 21:45:59 from the ceiloemter PoV 21:46:11 could they use trusts like heat? 21:46:39 see http://paste.openstack.org/show/484932/ 21:46:48 just get the feedback from ceilometer team 21:47:13 that was quick! 21:47:41 ryansb: can the trusts resolve the TTL update issue? 21:48:17 basically it would be a delegated token with the perms to update the subscription, which they would use to keep extending the TTL 21:49:24 that's an implementation detail 21:49:48 but it's how heat deals with the delegation problem (where heat needs to do things in a user's stead) 21:49:50 ryansb: yep, my point is user has the requirement to get a permanent subscription 21:51:09 no matter the implementation details 21:51:15 fair enough 21:51:32 could we have some kind of TTL for *unused* subscriptions? 21:51:33 so if we could have a built-in support, why not? 21:51:50 e.g. if a client doesn't call in to get its messages for X days/months/whatever we delete the sub? 21:53:18 ryansb: hmm... if there isn't messages for a queue for X days/months/whatever, should we delete the queue? 21:53:38 you cannot predict that the queue has not been used because it's really not being used 21:54:02 I don't know about autodeleting queues 21:54:02 vkmc: same 21:54:08 if zaqar wipes it out and then the client needs to use it... the queue will be created but the subscription no 21:54:09 Or for example, the subscriber is not listening for a long time on the specified port in subscription. Or subscription email is not existing. 21:54:33 But it's dangerous too to do it, the behavior of Zaqar would be less predictable in this case. 21:54:41 yeap 21:55:05 ok, we're running out of time 21:55:18 let's discuss it offline 21:55:26 #topic open discussion 21:55:43 should we propose some topics for summit? 21:55:53 design session? or pres? :) 21:56:06 pres, i think, the deadline is 1 Feb 21:57:01 I haven't implemented anything this cycle in order to give a presentation 21:57:11 but I'd like to help 21:57:20 the horizon guys just ping me to have a joint pres for horizon plugin, but i'm not sure if i can make it 21:57:24 have you already made a pres for Zaqar's subscriptions? 21:57:38 if i can't, hopefully you guys can help deliver it 21:57:55 Eva-i, nope 21:58:00 it's the coolest feature of Zaqar 21:58:01 not on the summits at least 21:58:31 I see 21:58:45 vkmc: i would like to see a pres like micro service + container + zaqar 21:59:03 let's take this offline 21:59:08 and work on those ideas 21:59:09 ryansb: you're the heavy user of SQS/SNS, do you think that's reasonble? 21:59:24 vkmc: ok, cool 21:59:36 let's end this meeting and rock on zaqar channel 21:59:40 what is, the subscriptions preso? 21:59:40 thank you, guys 21:59:47 yeah, move to zaqar 21:59:49 thanks! 21:59:50 #endmeeting