Wednesday, 2016-11-02

*** mpanetta has joined #openstack-zaqar01:32
*** yanyanhu has joined #openstack-zaqar01:34
*** mpanetta has quit IRC01:37
*** wxy__ has quit IRC05:50
*** wxy__ has joined #openstack-zaqar05:51
openstackgerritOpenStack Proposal Bot proposed openstack/zaqar-ui: Imported Translations from Zanata  https://review.openstack.org/39243106:44
*** rcernin has joined #openstack-zaqar06:50
*** tesseract has joined #openstack-zaqar07:17
*** tesseract is now known as Guest4871207:17
*** openstackgerrit has quit IRC07:48
*** openstackgerrit has joined #openstack-zaqar07:48
*** pcaruana has joined #openstack-zaqar08:09
*** yanyanhu has quit IRC08:13
*** GB21 has joined #openstack-zaqar08:55
*** GB21 has quit IRC09:15
*** exploreshaifali has joined #openstack-zaqar09:52
*** exploreshaifali has quit IRC10:22
*** exploreshaifali has joined #openstack-zaqar10:25
*** exploreshaifali has quit IRC10:43
*** exploreshaifali has joined #openstack-zaqar10:57
*** GB21 has joined #openstack-zaqar11:15
*** GB21 has quit IRC11:33
*** jasond has joined #openstack-zaqar14:00
*** GB21 has joined #openstack-zaqar14:01
*** mpanetta has joined #openstack-zaqar14:20
*** dynarro has joined #openstack-zaqar14:52
*** dynarro has quit IRC15:07
*** dynarro has joined #openstack-zaqar15:08
*** exploreshaifali has quit IRC15:22
*** dynarro has quit IRC15:22
*** dynarro has joined #openstack-zaqar15:28
*** pcaruana has quit IRC16:06
*** rcernin has quit IRC16:09
*** Guest48712 has quit IRC16:34
*** dynarro has quit IRC16:45
*** harlowja has quit IRC17:21
*** harlowja has joined #openstack-zaqar17:44
*** mpanetta has quit IRC17:51
*** mpanetta has joined #openstack-zaqar17:51
*** dynarro has joined #openstack-zaqar18:05
*** openstackgerrit has quit IRC18:18
*** openstackgerrit has joined #openstack-zaqar18:18
*** exploreshaifali has joined #openstack-zaqar18:19
*** GB21 has quit IRC18:24
*** exploreshaifali has quit IRC19:28
*** rcernin has joined #openstack-zaqar19:45
*** openstack has joined #openstack-zaqar19:58
*** jtomasek has quit IRC20:17
*** openstackgerrit has quit IRC20:18
*** openstackgerrit has joined #openstack-zaqar20:18
*** dynarro has quit IRC21:11
*** exploreshaifali has joined #openstack-zaqar21:25
flwangjasond: pong. still around?21:26
jasondflwang: hey21:26
flwangjasond: how can i help?21:26
flwangi missed your last ping, since i just back to NZ21:26
jasondflwang: trying to remember.. i think it was about https://bugs.launchpad.net/heat/+bug/163730421:27
openstackLaunchpad bug 1637304 in heat "Zaqar queue can be inadvertently deleted" [Low,Triaged] - Assigned to Jason Dunsmore (jasondunsmore)21:27
jasondflwang: but it's pretty much settled, we can handle it on the Heat side21:27
jasondflwang: oh BTW, if subscriptions have unique IDs, then why is it that Subscriptions are unique by project + queue/topic + subscriber?21:28
jasondflwang: seems like we might have the same issue with lazily-created subscriptions21:29
flwangsince if we just use subscriber to distinguish a subscription, it's not easy to manage21:30
flwangcan you see my point?21:30
flwangfirstly, a subscription must be associated with a queue/topic21:30
jasondflwang: sure21:30
flwangthough we can use queue+subscriber to distinguish a subscription, but21:31
flwangit could be something like: myqueye+https://myverylong_webhook:8080/aaaa/bbb/ccc/queuue.aspx?xx=11321:32
flwangor something like that21:32
jasondflwang: on second thought, if two stacks never share the same queue, then i don't think we'll have a problem with subscriptions21:32
flwangthe subscription id is mainly used to do the update/delete/get a particular subscription21:32
flwangyes21:32
jasondflwang: ok, got it.  thanks21:33
flwanghence why i asked in the bug, why does heat need to share a same queue for different stack creations?21:33
flwangi think that's the root cause21:33
jasondflwang: actually, we're trying to avoid that, but it might happen accidentally21:33
flwangbecause for any other similar scenarios, if you want to share same object between two cases, and try to delete the object separately, you will run into problem for sure, right?21:34
jasondflwang: eg. if someone chooses a very simple queue name21:34
flwangi see21:34
flwangthen why don't you just give the queue with a default name -- using stack's name21:34
flwangunless user want to specify a customized name21:35
jasondflwang: yeah, i think that will work21:35
flwangand IIRC, the main purpose of the queue, is to saving the status change event/notification, right?21:35
jasondflwang: the part i'm working on is the template resource, so the end user could create it for any number of purposes21:36
flwangi see21:36
flwanganyway, "sharing" the same queue is not a best practice :)21:38
jasondflwang: ok, thanks, good tip :)21:38
flwangfeel free let me know if there is anything i can do from our side21:39
jasondflwang: and deleting a shared queue is even worse practice21:39
flwanghah, true21:39
jasondflwang: ok, will do21:39
flwangactually, like therve said in the comments, it's not really necessary to delete the queue for most of the cases because it's lazy21:39
flwangall the messages have TTl21:40
flwangso technically, there is nothing left21:40
flwangonly the queue/topic, which is a logic concept and it won't occupy your much resource21:40
jasondflwang: ah, so maybe we shouldn't delete the queue, in case the user decides to specify the optional subscription queue name (which defaults to stack name)21:41
jasondflwang: nevermind the last half of that sentence :)21:42
flwanghah21:43
flwangyep21:43
jasondflwang: one more thing.  is there a way to make a subscription never expire?21:46
flwangtechnically yes21:46
flwangwait a sec21:46
flwangsee https://github.com/openstack/zaqar/blob/master/zaqar/transport/validation.py#L52921:48
flwangif the TTL + current time is a valid time in Python, then it's ok21:48
flwangthe max year in python is 999921:49
jasondflwang: ok, great21:49
flwangso, you got the point21:51
flwangi tried to support permanent subscription, but it's objected by the other core developers21:51
flwangso that's the middle point21:52
jasondflwang: yeah, that will work fine21:53
flwangcool21:53
*** harlowja has quit IRC22:02
*** jasond has quit IRC22:17
*** flaper87 has quit IRC22:29
*** exploreshaifali has quit IRC22:31
openstackgerritMerged openstack/zaqar-ui: Change "Openstack" to "OpenStack"  https://review.openstack.org/39056722:34
openstackgerritMerged openstack/python-zaqarclient: Files with no code must be left completely empty  https://review.openstack.org/37845222:48
*** mpanetta has quit IRC23:02
*** david-lyle has quit IRC23:04
*** harlowja has joined #openstack-zaqar23:08
*** david-lyle has joined #openstack-zaqar23:30
*** rcernin has quit IRC23:31

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