*** kgriffs is now known as kgriffs|afk | 00:00 | |
*** kgriffs|afk is now known as kgriffs | 00:01 | |
*** kgriffs is now known as kgriffs|afk | 00:11 | |
Eva-i | flwang: can you please confirm this nasty bug: https://bugs.launchpad.net/zaqar/+bug/1531671 ? | 00:41 |
---|---|---|
openstack | Launchpad bug 1531671 in zaqar "Websocket html client example can't process notifications" [Undecided,New] - Assigned to Eva Balycheva (ubershy) | 00:41 |
*** boris-42 has quit IRC | 01:13 | |
flwang | Eva-i: nice catch | 01:14 |
Eva-i | flwang: thanks =) | 01:18 |
flwang | Eva-i: i'm really happy to have you in the team, i couldn't help tell you the secret | 01:27 |
Eva-i | flwang: oh | 01:40 |
Eva-i | flwang: I feel the same about you. I think you are wise and kind to me. I never had a team leader before, but I think other team leaders don't use virtual hugs to motivate team members, so I'm lucky | 01:50 |
Eva-i | =) | 01:50 |
flwang | :D | 01:51 |
*** flwang1 has quit IRC | 01:58 | |
*** flwang1 has joined #openstack-zaqar | 01:58 | |
openstackgerrit | Eva Balycheva proposed openstack/zaqar: Make websocket.html process notifications https://review.openstack.org/264513 | 02:01 |
*** davideagnello has quit IRC | 02:07 | |
*** agileclipse has joined #openstack-zaqar | 02:54 | |
*** boris-42 has joined #openstack-zaqar | 03:02 | |
*** agileclipse has quit IRC | 03:09 | |
*** mdnadeem has joined #openstack-zaqar | 03:16 | |
*** mdnadeem has quit IRC | 03:20 | |
*** mdnadeem has joined #openstack-zaqar | 03:21 | |
*** agileclipse has joined #openstack-zaqar | 03:21 | |
openstackgerrit | LiuNanke proposed openstack/zaqar: Make enforce_type=True in CONF.set_override https://review.openstack.org/263359 | 03:59 |
*** agileclipse has quit IRC | 04:05 | |
*** flwang1 has quit IRC | 04:06 | |
*** flwang1 has joined #openstack-zaqar | 04:08 | |
*** flwang1 has quit IRC | 04:16 | |
*** flwang1 has joined #openstack-zaqar | 04:30 | |
*** mdnadeem has quit IRC | 05:00 | |
*** stanchan has joined #openstack-zaqar | 05:07 | |
*** GB21 has joined #openstack-zaqar | 05:38 | |
*** mdnadeem_ has joined #openstack-zaqar | 06:12 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/zaqar: Updated from global requirements https://review.openstack.org/264472 | 06:58 |
*** GB21 has quit IRC | 08:01 | |
*** dynarro has joined #openstack-zaqar | 08:41 | |
*** GB21 has joined #openstack-zaqar | 08:59 | |
*** GB21 has quit IRC | 09:30 | |
*** GB21 has joined #openstack-zaqar | 09:31 | |
*** stanchan has quit IRC | 09:45 | |
openstackgerrit | MD NADEEM proposed openstack/python-zaqarclient: Flavor create CLI support for v2 https://review.openstack.org/250248 | 09:49 |
*** GB21 has quit IRC | 09:54 | |
*** GB21 has joined #openstack-zaqar | 09:57 | |
openstackgerrit | MD NADEEM proposed openstack/python-zaqarclient: Query claim CLI support for v1 https://review.openstack.org/258801 | 09:58 |
openstackgerrit | MD NADEEM proposed openstack/python-zaqarclient: Claim renew CLI support for v1 https://review.openstack.org/260927 | 10:01 |
openstackgerrit | MD NADEEM proposed openstack/python-zaqarclient: Query claim CLI support for v1 https://review.openstack.org/258801 | 10:05 |
*** mdnadeem_ has quit IRC | 10:09 | |
*** mdnadeem has joined #openstack-zaqar | 10:19 | |
*** GB21 has quit IRC | 10:50 | |
*** GB21 has joined #openstack-zaqar | 10:53 | |
*** dynarro has quit IRC | 10:53 | |
*** GB21 has quit IRC | 11:00 | |
*** GB21 has joined #openstack-zaqar | 11:02 | |
*** GB21 has quit IRC | 11:10 | |
*** GB21 has joined #openstack-zaqar | 11:12 | |
*** GB21 has quit IRC | 11:16 | |
mdnadeem | flwang, flwang1: Need your help to finalyzed it >> https://review.openstack.org/#/c/246147/6 | 11:31 |
mdnadeem | Please have a look ^^ | 11:31 |
*** GB21 has joined #openstack-zaqar | 11:35 | |
*** GB21 has quit IRC | 12:15 | |
*** godlike has quit IRC | 13:19 | |
*** godlike has joined #openstack-zaqar | 13:21 | |
*** godlike has quit IRC | 13:21 | |
*** godlike has joined #openstack-zaqar | 13:21 | |
therve | mdnadeem, ryansb: Around? I have a question about https://review.openstack.org/#/c/245526/ | 13:48 |
therve | It seems that it breaks compatibility (os_auth_token changed to auth_token), am I missing something? | 13:48 |
ryansb | therve: looking | 14:01 |
*** njohnsto_ has joined #openstack-zaqar | 14:03 | |
*** GB21 has joined #openstack-zaqar | 14:04 | |
openstackgerrit | Eva Balycheva proposed openstack/zaqar: Refactoring of docs during Mitaka cycle https://review.openstack.org/250582 | 14:05 |
*** njohnsto_ has quit IRC | 14:13 | |
*** njohnsto_ has joined #openstack-zaqar | 14:14 | |
*** njohnsto_ has quit IRC | 14:16 | |
*** njohnsto_ has joined #openstack-zaqar | 14:16 | |
*** amitgandhinz has joined #openstack-zaqar | 14:17 | |
*** sriram has joined #openstack-zaqar | 14:27 | |
*** amitgandhinz has quit IRC | 14:29 | |
*** amitgandhinz has joined #openstack-zaqar | 14:29 | |
openstackgerrit | Eva Balycheva proposed openstack/zaqar: Make websocket.html process notifications https://review.openstack.org/264513 | 14:41 |
therve | ryansb, So wdyt? | 14:52 |
*** GB21 has quit IRC | 15:01 | |
*** malini has joined #openstack-zaqar | 15:01 | |
*** pradk has joined #openstack-zaqar | 15:01 | |
*** GB21 has joined #openstack-zaqar | 15:01 | |
ryansb | hm, you're right that is likely to be a compatibility problem | 15:03 |
ryansb | (assuming your refer to openstack/python-zaqarclient/zaqarclient/auth/keystone.py L65) | 15:03 |
ryansb | s/your/you/ | 15:03 |
*** ametts has joined #openstack-zaqar | 15:06 | |
therve | ryansb, Yeah I do | 15:07 |
therve | That's okay, I'll submit a little patch | 15:07 |
therve | It should be in before the next release | 15:07 |
ryansb | yeah, we're not even in M2 until next Monday I think | 15:08 |
ryansb | err, I mean we don't finish M2 | 15:08 |
openstackgerrit | Thomas Herve proposed openstack/python-zaqarclient: Handle os_auth_token option in keystone config https://review.openstack.org/264827 | 15:13 |
therve | client release are somewhat independent anyway | 15:13 |
Eva-i | ryansb: therve: hello | 15:17 |
therve | Eva-i, Hi | 15:17 |
ryansb | morning folks | 15:18 |
ryansb | therve: how would you feel about: return self.conf.get(k, self.conf.get("os_%s" % k)) | 15:20 |
Eva-i | ryansb: therve: how do you think, is it okay that subscription notifications are so concise, i.e. are lacking some important info (IMO), for example. name of the queue or subscription id/message id. Now notifications look kind of like this: {"body": "some message", "ttl": 300} | 15:20 |
ryansb | instead of the oneline if | 15:20 |
therve | ryansb, Shrugs, I just modified the existing code | 15:21 |
therve | Eva-i, It's okay that they are concise. It doesn't mean they could contain more info | 15:23 |
therve | *couldn't* | 15:24 |
ryansb | IMO a message ID would be a really good idea to include | 15:25 |
ryansb | the queue name less so, since consumers know what they're suscribed to | 15:26 |
Eva-i | therve: imagine a use case, when the user want to subscribe to few queues. Zaqar server will send notifications and it would be impossible to figure out from which queue the message came. | 15:26 |
Eva-i | therve: of course the user can subscribe to different listening ports, but it's not very convenient | 15:27 |
therve | Eva-i, Feel free to improve them | 15:28 |
therve | My point is that it's a missing feature, not a bug | 15:28 |
Eva-i | oh, my speech is not very good now, but I hope you understood what I said | 15:29 |
Eva-i | therve: okay | 15:29 |
ryansb | compare to http://docs.aws.amazon.com/sns/latest/dg/json-formats.html#http-notification-json which includes both topic and message ID | 15:29 |
ryansb | Eva-i: IMO it would be good to add them | 15:29 |
ryansb | fortunately, that's not a breaking change since it would just be adding JSON keys | 15:30 |
therve | Yeah it's easy to do it in a compatible way | 15:30 |
Eva-i | ryansb: it's not a breaking change also according to the fact that api v2 is not stable, we can do many things we want | 15:30 |
Eva-i | Should I propose a spec? | 15:31 |
*** dynarro has joined #openstack-zaqar | 15:31 | |
openstackgerrit | Thomas Herve proposed openstack/python-zaqarclient: Handle os_auth_token option in keystone config https://review.openstack.org/264827 | 15:32 |
*** kgriffs|afk is now known as kgriffs | 15:33 | |
ryansb | Eva-i: well that's true too. You can propose a spec. IMO you don't have to make a huge one since the spec will basically just need to say | 15:33 |
ryansb | 1) SNS includes ID and topic in notification | 15:34 |
ryansb | 2) subscribers are likely to want queue information if they subscribe to multiple queues | 15:34 |
ryansb | 3) subscribers that want to ack/delete/claim messages they are notified of will need the message ID | 15:34 |
ryansb | please add me as a reviewer whenever you propose it, or I can write it up if you're short on time | 15:35 |
Eva-i | ryansb: oh, Ryan, you wrapped my thoughts into nice words, thank you. =) | 15:37 |
Eva-i | ryansb: okay, I'll add you as a reviewer when I propose a spec/patch. But before I think I should ask also flwang. He's not very enthusiastic on adding many features during this cycle. | 15:38 |
Eva-i | therve: thank you too for your opinion | 15:39 |
therve | Sure | 15:40 |
ryansb | kk - we'll see how it works out | 15:40 |
Eva-i | I have a newbie problem. This bug is assigned to me https://bugs.launchpad.net/python-zaqarclient/+bug/1529846, I proposed a change and it was merged. But I forgot to add "Closes-Bug:" tag to the commit message. Should I manually close this bug? | 15:47 |
openstack | Launchpad bug 1529846 in Python client library for Zaqar "CLI fails to parse v2 pool list entry point" [High,Confirmed] - Assigned to Eva Balycheva (ubershy) | 15:47 |
ryansb | Eva-i: yep | 15:48 |
Eva-i | ryansb: oki | 15:52 |
*** csoukup has joined #openstack-zaqar | 16:18 | |
*** Eva-i has quit IRC | 16:32 | |
*** Eva-i has joined #openstack-zaqar | 16:33 | |
*** mdnadeem has quit IRC | 17:02 | |
*** GB21 has quit IRC | 17:11 | |
*** davideagnello has joined #openstack-zaqar | 17:15 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/zaqar: Updated from global requirements https://review.openstack.org/264472 | 17:19 |
*** kgriffs is now known as kgriffs|afk | 17:59 | |
*** dynarro has quit IRC | 18:16 | |
*** malini has quit IRC | 18:40 | |
*** pradk has quit IRC | 18:47 | |
*** malini has joined #openstack-zaqar | 19:09 | |
*** pradk has joined #openstack-zaqar | 19:14 | |
*** kgriffs|afk is now known as kgriffs | 19:16 | |
*** c_soukup has joined #openstack-zaqar | 19:29 | |
*** ameade_ has joined #openstack-zaqar | 19:35 | |
openstackgerrit | Merged openstack/python-zaqarclient: Claim create CLI support for v1 https://review.openstack.org/258381 | 19:36 |
*** cpallare- has joined #openstack-zaqar | 19:37 | |
*** bradjones_ has joined #openstack-zaqar | 19:37 | |
*** bradjones_ has joined #openstack-zaqar | 19:37 | |
*** pradk has quit IRC | 19:38 | |
*** csoukup has quit IRC | 19:38 | |
*** bradjones has quit IRC | 19:38 | |
*** ameade has quit IRC | 19:38 | |
*** cpallares has quit IRC | 19:38 | |
*** cpallare- is now known as cpallares | 19:38 | |
*** bradjones_ is now known as bradjones | 19:38 | |
*** pradk has joined #openstack-zaqar | 19:40 | |
*** ameade_ is now known as ameade | 19:40 | |
*** c_soukup has quit IRC | 20:12 | |
*** openstackgerrit has quit IRC | 20:23 | |
*** openstackgerrit has joined #openstack-zaqar | 20:24 | |
openstackgerrit | Merged openstack/zaqar: Move subscription test from v1_1 to v2 https://review.openstack.org/263920 | 20:33 |
*** malini has left #openstack-zaqar | 20:41 | |
*** c_soukup has joined #openstack-zaqar | 20:50 | |
Eva-i | Am only I facing a problem when most of the zaqar client functional tests are failing? | 20:51 |
Eva-i | flwang: flwang1: ping | 20:55 |
vkmc | Eva-i, hey there! | 20:56 |
vkmc | the functional tests in the gate are working AFAIK | 20:56 |
Eva-i | vkmc: Hello, Vic | 20:56 |
vkmc | Eva-i, except flwang latest patches | 20:57 |
Eva-i | I try to run functional tests on master branch, but there is failing | 20:57 |
*** kgriffs is now known as kgriffs|afk | 21:00 | |
*** kgriffs|afk is now known as kgriffs | 21:02 | |
*** kgriffs is now known as kgriffs|afk | 21:02 | |
Eva-i | vkmc: thanks for reviews =) | 21:04 |
vkmc | Eva-i, np :) sorry those were not done earlier | 21:05 |
vkmc | Eva-i, btw, I also had to mention that the spec for the websocket binary support looked awesome | 21:06 |
vkmc | s/looked/looks | 21:06 |
Eva-i | vkmc: hehe. I think now this spec is too big, especially "alternatives" section. =) Also ryansb asked me to make my next upcoming Spec smaller, I think it's not a coincidence. =) | 21:10 |
Eva-i | vkmc: thanks | 21:10 |
*** kgriffs|afk is now known as kgriffs | 21:11 | |
ryansb | Eva-i: it actually was - when we were talking I meant "the subscription format change is small, and we've discussed it pretty thoroughly, so no need to spend loads of time on a spec" | 21:11 |
ryansb | the binary spec is great :) | 21:12 |
vkmc | Eva-i, haha I think it's good to have all the information you need... more if you thought about that and you feel it is worth to mention it | 21:12 |
ryansb | vkmc: have a stroupwaffle (#) you've merged a ton of changes today :) | 21:12 |
Eva-i | ryansb: alright | 21:13 |
* vkmc gets the stroopwafel (#) :D | 21:15 | |
vkmc | thanks ryansb | 21:15 |
*** njohnsto_ has quit IRC | 21:29 | |
*** mdnadeem has joined #openstack-zaqar | 21:30 | |
*** njohnsto_ has joined #openstack-zaqar | 21:30 | |
openstackgerrit | Merged openstack/zaqar: Make websocket.html process notifications https://review.openstack.org/264513 | 21:31 |
openstackgerrit | Merged openstack/zaqar: Refactoring of docs during Mitaka cycle https://review.openstack.org/250582 | 21:32 |
*** JAHoagie has joined #openstack-zaqar | 21:32 | |
openstackgerrit | Merged openstack/zaqar: Updated from global requirements https://review.openstack.org/264472 | 21:32 |
openstackgerrit | Merged openstack/zaqar: delete python bytecode before every test run https://review.openstack.org/252185 | 21:32 |
ryansb | merge festival! | 21:36 |
*** njohnsto_ has quit IRC | 21:37 | |
*** njohnsto_ has joined #openstack-zaqar | 21:38 | |
*** njohnsto_ has quit IRC | 21:40 | |
*** njohnsto_ has joined #openstack-zaqar | 21:40 | |
*** mdnadeem has quit IRC | 21:43 | |
*** godlike has quit IRC | 21:50 | |
*** boris-42 has quit IRC | 21:50 | |
*** godlike has joined #openstack-zaqar | 21:51 | |
*** boris-42 has joined #openstack-zaqar | 21:51 | |
*** amitgandhinz has quit IRC | 21:53 | |
*** pradk has quit IRC | 22:24 | |
flwang | ryansb: vkmc: Eva-i: ping | 22:33 |
vkmc | flwang, pong | 22:33 |
ryansb | whassup? | 22:33 |
flwang | i'm thinking the comment at https://review.openstack.org/#/c/249395/19/zaqarclient/queues/v2/subscription.py about the TTL value of subscription | 22:34 |
flwang | now the min TTL value for msg and claim is 60 secs | 22:34 |
flwang | and I would like to use it for subscription as well. but that needs a change for zaqar server side | 22:34 |
flwang | so i would like to know if you guys are happy if i just give the default value as 60 sec | 22:35 |
flwang | for the client patch and work out another patch for the server side | 22:35 |
flwang | i'm keen to get the subscription patch in since it's blocking the ceilometer notifier integration | 22:36 |
*** njohnsto_ has quit IRC | 22:36 | |
flwang | and the ceilometer patch is on the way actually, see https://review.openstack.org/#/c/264309 | 22:37 |
*** njohnsto_ has joined #openstack-zaqar | 22:37 | |
flwang | any comments? | 22:39 |
*** sriram has quit IRC | 22:40 | |
vkmc | ++ | 22:40 |
vkmc | so... as the min ttl for claims and messages | 22:40 |
vkmc | we should set a configuration | 22:40 |
vkmc | and a default value | 22:41 |
vkmc | and use that value | 22:41 |
flwang | the TTL default value will be added with the fix of https://bugs.launchpad.net/zaqar/+bug/1529168 | 22:41 |
openstack | Launchpad bug 1529168 in zaqar "Zaqar should ensure deletion of expired subscriptions" [High,Confirmed] - Assigned to Fei Long Wang (flwang) | 22:41 |
vkmc | in here I mean https://github.com/openstack/zaqar/blob/master/zaqar/transport/base.py#L30-L37 | 22:41 |
flwang | https://github.com/openstack/zaqar/blob/master/zaqar/transport/validation.py#L24 | 22:42 |
flwang | currently, it's hard code :( | 22:42 |
vkmc | ok, we could add it in a follow up | 22:42 |
vkmc | and yeah, and I'll make them live longer than the messages and queues | 22:42 |
vkmc | since the subscriptions are expected to be used by several clients | 22:42 |
vkmc | what do you guys thinks about that? | 22:43 |
flwang | vkmc: i have figured out a way to get a permanent subscription | 22:43 |
flwang | but i haven't try it | 22:43 |
vkmc | flwang, which way? | 22:43 |
flwang | set the expires with a non-date format | 22:44 |
flwang | see https://github.com/openstack/zaqar/blob/master/zaqar/storage/mongodb/subscriptions.py#L96 | 22:44 |
flwang | by default, the 'expires' is a date format + TTL | 22:45 |
flwang | i think we can do something like, 1. check if the TTL is -1 (if we use -1 as infinite), 2. if it's -1, then set the expires as None or anything else, but not a date format | 22:46 |
vkmc | makes sense | 22:46 |
vkmc | now + ttl expires | 22:46 |
vkmc | -1 not expires | 22:46 |
flwang | 3. if TTL is int and > the min value(which has been verified by validation), then do it normally | 22:46 |
flwang | but as for redis, i haven't investigate how to achieve that | 22:47 |
vkmc | why is it different for redis? | 22:47 |
vkmc | oh, wait a minute | 22:47 |
vkmc | let me check the code first | 22:47 |
vkmc | :) | 22:47 |
vkmc | k, not easily visible | 22:48 |
vkmc | now yes | 22:48 |
vkmc | why is it different? | 22:48 |
flwang | we're using a lua script to collect the expired ones, IIRC | 22:49 |
flwang | i haven't reviewed the code, so i'm not sure if we can get a permanent subscription | 22:49 |
flwang | for redis | 22:50 |
flwang | so are you guys ok for the client patch if we just use 60 as a default value and fix the TTL in a separate patch on the server side? | 22:53 |
vkmc | I'm ok with that :) | 22:53 |
ryansb | +1 | 22:53 |
flwang | vkmc: is there any other concern for the subscription create patch? | 22:54 |
flwang | i know the functional test failed, but it works on my local and Eva-i confirmed that | 22:54 |
vkmc | flwang, I saw that the functional tests were failing | 22:54 |
vkmc | not sure if you check that out | 22:54 |
vkmc | oh | 22:54 |
vkmc | good | 22:54 |
*** ametts has quit IRC | 22:55 | |
flwang | vkmc: yep, it's a little bit weird, i will investigate it later | 22:56 |
flwang | and btw, if you guys are interested in, pls help review the aodh patch | 22:56 |
openstackgerrit | Fei Long Wang proposed openstack/python-zaqarclient: Add support for subscription update v2 https://review.openstack.org/261303 | 22:57 |
vkmc | aodh? | 22:57 |
flwang | it's the alarm project splitted from ceilometer :) | 22:58 |
flwang | big tent :D | 22:58 |
*** c_soukup has quit IRC | 22:58 | |
openstackgerrit | Fei Long Wang proposed openstack/python-zaqarclient: Add support for subscription create v2 https://review.openstack.org/249395 | 22:58 |
flwang | vkmc: ryansb: pls feel free bless it https://review.openstack.org/#/c/249395/ :) | 23:00 |
vkmc | nice! | 23:00 |
vkmc | yes yes | 23:00 |
vkmc | let's wait for the gate | 23:00 |
vkmc | and then move it fwd | 23:00 |
flwang | vkmc: coooooooool | 23:00 |
flwang | vkmc: ryansb: and there is another i would like to get your comments | 23:01 |
flwang | as for the zaqar UI, i was trying to use anjular JS, you know | 23:01 |
flwang | but i just found it's hard to use atm | 23:01 |
flwang | so i'm wondering if we can use django just like most of the current panels didi | 23:02 |
flwang | and migrate to anjular js later when most of the others panels migrated | 23:02 |
flwang | does that make sense :) | 23:02 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!