Tuesday, 2016-01-05

*** stanchan has quit IRC00:42
openstackgerritMerged openstack/zaqar: Deprecated tox -downloadcache option removed  https://review.openstack.org/25673300:43
openstackgerritMerged openstack/zaqar: Changing LOG.warn to LOG.warning  https://review.openstack.org/26316901:03
*** eliqiao has quit IRC01:12
*** eliqiao has joined #openstack-zaqar01:13
*** kgriffs is now known as kgriffs|afk01:51
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Add support for subscription list v2  https://review.openstack.org/26353102:32
openstackgerritOpenStack Proposal Bot proposed openstack/zaqar: Updated from global requirements  https://review.openstack.org/25807602:46
*** dmowrer has joined #openstack-zaqar03:42
*** dmowrer has quit IRC03:46
*** dmowrer has joined #openstack-zaqar07:42
*** dmowrer has quit IRC07:46
openstackgerritwangxiyuan proposed openstack/zaqar: Fix the docs link  https://review.openstack.org/26363408:46
openstackgerritSwapnil Kulkarni (coolsvap) proposed openstack/zaqar: Replace deprecated LOG.warn with LOG.warning  https://review.openstack.org/26332309:21
*** dynarro has joined #openstack-zaqar09:33
*** boris-42 has quit IRC10:03
*** dynarro has quit IRC11:14
*** bradjones has joined #openstack-zaqar11:44
*** bradjones has joined #openstack-zaqar11:44
*** dmowrer has joined #openstack-zaqar12:05
*** chestack has joined #openstack-zaqar12:50
*** mdnadeem has joined #openstack-zaqar13:38
*** sriram has quit IRC13:42
*** chestack has quit IRC13:46
*** dmowrer has quit IRC13:54
*** dmowrer has joined #openstack-zaqar13:55
*** dmowrer has quit IRC13:59
*** mdnadeem has quit IRC14:12
*** dmowrer has joined #openstack-zaqar14:17
*** mpanetta has joined #openstack-zaqar14:17
*** malini has joined #openstack-zaqar14:49
*** dynarro has joined #openstack-zaqar14:50
*** ametts has joined #openstack-zaqar14:54
*** amitgandhinz has joined #openstack-zaqar14:58
openstackgerritMerged openstack/zaqar: Trival: Remove unused logging import In some files  https://review.openstack.org/26189515:38
*** csoukup has joined #openstack-zaqar15:49
*** kgriffs|afk is now known as kgriffs15:49
*** sriram has joined #openstack-zaqar15:52
*** shakamunyi has joined #openstack-zaqar16:14
*** barra204 has quit IRC16:15
*** pradk has joined #openstack-zaqar16:26
*** dynarro has quit IRC16:35
openstackgerritRyan Brown proposed openstack/python-zaqarclient: First pass at CLI for signed URLs  https://review.openstack.org/25373116:40
*** kgriffs is now known as kgriffs|afk16:42
*** kgriffs|afk is now known as kgriffs16:42
*** kgriffs is now known as kgriffs|afk16:43
*** kgriffs|afk is now known as kgriffs16:55
*** kgriffs is now known as kgriffs|afk16:58
*** dmowrer has quit IRC17:10
*** dmowrer has joined #openstack-zaqar17:11
*** kgriffs|afk is now known as kgriffs17:13
Eva-iping flwang17:13
*** kgriffs is now known as kgriffs|afk17:15
*** dmowrer has quit IRC17:15
*** kgriffs|afk is now known as kgriffs17:22
*** kgriffs is now known as kgriffs|afk17:27
*** kgriffs|afk is now known as kgriffs17:28
*** dmowrer has joined #openstack-zaqar17:36
*** kgriffs is now known as kgriffs|afk17:37
*** kgriffs|afk is now known as kgriffs17:42
*** kgriffs is now known as kgriffs|afk17:48
*** kgriffs|afk is now known as kgriffs17:49
*** kgriffs is now known as kgriffs|afk17:49
*** kgriffs|afk is now known as kgriffs17:56
*** kgriffs is now known as kgriffs|afk18:00
*** malini has quit IRC18:27
*** dmowrer has quit IRC18:43
*** njohnsto_ has joined #openstack-zaqar18:54
*** malini has joined #openstack-zaqar18:57
*** dmowrer has joined #openstack-zaqar19:09
*** dmowrer has quit IRC19:09
*** dmowrer has joined #openstack-zaqar19:10
*** kgriffs|afk is now known as kgriffs19:13
*** davideagnello has quit IRC19:21
*** kgriffs is now known as kgriffs|afk19:28
*** kgriffs|afk is now known as kgriffs19:37
*** davideagnello has joined #openstack-zaqar19:47
flwangEva-i: pong19:49
Eva-iflwang: hello19:49
flwangEva-i: hi, what's up19:50
Eva-iflwang: look, Doc team proposed solution that might satisfy all https://review.openstack.org/#/c/263405/ (Gauvain Pocentek comment)19:50
Eva-iflwang: would you like me to add hook to openstack-doc-tools repo, that will allow extraction of config options from Zaqar?19:51
Eva-i*automatic extraction19:52
flwangEva-i: so that means we just need to add a function in https://github.com/openstack/openstack-doc-tools/blob/master/autogenerate_config_docs/hooks.py for zaqar and doesn't need to change zaqar's code, right?19:53
Eva-iflwang: absolutely19:53
Eva-iflwang: I tried it and it works19:54
flwangEva-i: that's great19:54
Eva-iflwang: I'm sending a patch then...19:55
openstackgerritMerged openstack/python-zaqarclient: Put py34 first in the env order of tox  https://review.openstack.org/26050319:56
*** dmowrer has quit IRC19:57
Eva-iflwang: here it is https://review.openstack.org/#/c/263879/19:57
flwangEva-i: cool, then we may need to remove the manual table in https://review.openstack.org/#/c/263405/, right?19:58
*** dmowrer has joined #openstack-zaqar19:59
Eva-ithat's right, I'll reply to Gauvain Pocentek and move tables out of "manual" directory19:59
*** dmowrer_ has joined #openstack-zaqar20:01
flwangEva-i: pls paste the patch link with a comment so that those reviewers can know where it's20:02
*** dmowrer has quit IRC20:04
*** Eva-i has quit IRC20:06
*** kgriffs is now known as kgriffs|afk20:07
*** Eva-i has joined #openstack-zaqar20:09
openstackgerritMerged openstack/zaqar: Drop MANIFEST.in - it's not needed with PBR  https://review.openstack.org/25219420:12
Eva-iflwang: yes, of course. Sorry for, my computer seriously glitched.20:13
Eva-i*sorry for delay20:13
flwangEva-i: awesome, thanks :)20:19
*** kgriffs|afk is now known as kgriffs20:37
*** malini has quit IRC20:54
Eva-iflwang: have you started working on this bug https://bugs.launchpad.net/zaqar/+bug/1518618 ?21:06
openstackLaunchpad bug 1518618 in zaqar "Tests from zaqar.tests.unit.transport.websocket.v1_1 do not execute(and fail if made executed)" [Low,Triaged] - Assigned to Fei Long Wang (flwang)21:06
flwangEva-i: yes, i'm21:07
flwangoh, sorry21:08
flwangi forgot it i think, patch is coming soon21:08
Eva-iflwang: oki21:09
flwangTBH, i think the test case is weird21:11
flwangthe patch is assuming using websocket v1.1 to access subscriptions which is only supported in v221:11
Eva-iflwang: you are talking about zaqar client patch? I asked about Zaqar server's one21:13
*** njohnsto_ has quit IRC21:15
flwangEva-i: i'm talking about the one you're pasting21:16
flwanghttps://bugs.launchpad.net/zaqar/+bug/151861821:16
openstackLaunchpad bug 1518618 in zaqar "Tests from zaqar.tests.unit.transport.websocket.v1_1 do not execute(and fail if made executed)" [Low,Triaged] - Assigned to Fei Long Wang (flwang)21:16
Eva-iflwang: ah, yes21:16
flwangsee https://github.com/openstack/zaqar/tree/master/zaqar/tests/unit/transport/websocket/v1_121:17
flwangthere is only one test files against subscriptions21:17
flwanghowever, it's not really make sense for me21:17
flwangsince subscription is supported since v221:17
flwangso do a test from v1.1 websocket against v2 subscriptions is weird21:17
Eva-iflwang: you're right21:17
flwangi'm going to fix it by move it to v2 folder and remove the v1.1 folder21:18
Eva-iflwang: sounds good21:18
*** amitgandhinz has quit IRC21:19
flwangEva-i: it's a nice catch, thanks21:19
Eva-iflwang: I'm still stuck with websocket subscriptions. When I'm expecting notification from Zaqar server, I see nothing in html client. This is a part of Zaqar server's log, when it must send notification: http://paste.openstack.org/show/unSFZmOYXq0juBCRi4Qc/21:19
Eva-iAs you can see there's an error related to webhook, it's strange because the notification must be websocket one, not webhook one. Have I misconfigured Zaqar, what do you think?21:19
*** amitgandhinz has joined #openstack-zaqar21:20
flwangi think i know the root cause21:21
flwangwhen you create the subscription, how did you set the body?21:22
Eva-iflwang: I use html client and it uses this body: {'queue_name': get_selected_queue(), 'ttl': 3600}21:23
Eva-iget_selected_queue() is queue name21:24
flwangEva-i: unfortunately, it's not correct for your case21:24
flwangyou need to specify the subscriber21:24
flwangotherwise, the script will use current websocket connection as the subscriber21:25
flwangotherwise, after post the request to zaqar, (IIRC), there is a refresh for the html page21:25
Eva-iThis is full websocket payload send by html client: 'subscription_create', {'queue_name': get_selected_queue(), 'ttl': 3600}21:25
flwangthen the websocket will reconnect21:25
flwangand as a result, it will generate a new connection21:26
flwangyep, i know, for some cases, it should work21:26
flwangbut for the sample html, it's not correct21:27
Eva-ibut I think I want to use current websocket connection as subscriber21:27
flwangyep, i know. but let's make sure if that's the root cause before fixing it21:27
flwangcan you try specify a subscriber21:27
Eva-iflwang: oh, I'll try to do it. Now I don't know how21:28
*** mdnadeem has joined #openstack-zaqar21:29
flwang{'queue_name': get_selected_queue(), 'ttl': 3600, 'subscriber': 'http://127.0.0.1:8080'}21:30
*** flwang1 has joined #openstack-zaqar21:31
Eva-iflwang: should I deploy mini listening server on port 8080 in this example to test it21:31
Eva-i?21:31
flwang1Eva-i: yes, use this http://paste.openstack.org/show/483075/21:31
Eva-iflwang: oki21:32
*** njohnsto_ has joined #openstack-zaqar21:34
openstackgerritFei Long Wang proposed openstack/zaqar: Move subscription test from v1_1 to v2  https://review.openstack.org/26392021:38
*** mdnadeem has quit IRC21:39
Eva-iflwang: okay, I tested it. Notification came to mini-server. But surprisingly it's webhook notification  (HTTP POST). Is there a way to receive notifications over websocket?21:53
*** mpanetta has quit IRC21:54
Eva-iflwang: btw "nc -k -l 8080" linux command seems to be alternative to mini-server python script21:55
*** stanchan has joined #openstack-zaqar22:02
*** dmowrer_ has quit IRC22:10
flwangnc command is ok for some cases, but personally i like to use my server script22:11
flwangwhy you say surprisingly?22:11
*** dmowrer has joined #openstack-zaqar22:11
flwangi think it's expected behaviour based on the test22:11
Eva-iflwang: yes, I mistaken, no surprise.22:11
flwangEva-i: so the websocket + subscription works fine when there is pre-defined 'subscriber'22:12
flwangso next we can focus on the subscriber auto-fill case22:12
Eva-iflwang: yes22:12
flwangEva-i:  see https://github.com/openstack/zaqar/blob/master/examples/websocket.html#L19222:14
Eva-iflwang: I try to run two instances of html client with different client ids to test websocket subscriptions. One client is subscribed to queue, another one sends messages. I see no updates in the subscribed client, when I send messages.22:14
flwangit's not related to client id22:14
flwangit's related to the websocket connection22:15
flwangmy suggestion is change the script and use ajax to talk with zaqar server22:15
flwangotherwise, when you click the button of the form, it will refresh the page, IIRC22:15
flwangafter the refresh, websocket will have to **reconnect** to zaqar and as a result, a **new** connection will be created22:16
Eva-iflwang: refresh behavior occurs when Subscribe button is clicked?22:17
flwangthat's why the 'subscriber' based on the previous connection can't be accessed22:17
flwangEva-i: yes22:17
flwangi noticed the issue when i do the test for horizon integration, but i don't have bandwidth to fix it22:18
Eva-iflwang: hm, I haven't noticed refresh. Do you mean whole web page refresh or message pane refresh?22:18
*** dmowrer has quit IRC22:19
*** kgriffs is now known as kgriffs|afk22:19
*** boris-42 has joined #openstack-zaqar22:20
flwangEva-i: maybe refresh is not an accurate word, you can print out the connection info for each time22:20
flwangi can't remember clearly, sorry22:21
*** kgriffs|afk is now known as kgriffs22:22
Eva-iflwang: thanks, I'll check if a new connection is opened on the client when Subscribe button is clicked22:23
flwangEva-i: yep, that's the key point22:23
*** sriram has quit IRC22:28
*** dmowrer has joined #openstack-zaqar22:33
*** dmowrer has quit IRC22:38
*** amitgandhinz has quit IRC22:47
*** amitgandhinz has joined #openstack-zaqar22:48
Eva-iflwang: no, I can't reproduce. When I hit "Subscribe" button in both Zaqar-server and the html client I don't see that the new connection is being opened. The old connection keeps being reused. Also the html client's webpage do not refresh, just the message about successful subscription creation is added to the message pane ("Logs").22:51
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Add support for subscription create v2  https://review.openstack.org/24939522:52
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Add support for subscription show v2  https://review.openstack.org/26128222:53
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Add support for subscription delete v2  https://review.openstack.org/26128022:53
*** amitgandhinz has quit IRC22:57
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Add support for subscription update v2  https://review.openstack.org/26130322:58
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Add support for subscription list v2  https://review.openstack.org/26353123:03
*** ametts has quit IRC23:12
*** csoukup has quit IRC23:12
Eva-iflwang: I'm going to bed right now, thank you for today, Fei Long. You can still leave messages for me, I'll read them by the morning.23:19
flwangEva-i: cool, thanks, have a good night23:19
*** kgriffs is now known as kgriffs|afk23:47
*** kgriffs|afk is now known as kgriffs23:49
*** kgriffs is now known as kgriffs|afk23:51

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