Friday, 2016-05-13

Eva-iflwang: should I approve this patch even if tests still fail with falcon in python 3 environment and create a additional patch?00:00
flwangwait a moment00:00
flwangEva-i: i didn't notice the ascii failures00:00
Eva-iflwang: it's in zaqar.tests.unit.transport.wsgi.v2_0.test_messages.TestMessagesMongoDB test class00:01
Eva-iflwang: sorry, I just provided  test case name instead of test class name. Please look again00:02
flwangEva-i: and more zaqar.tests.unit.transport.wsgi.v1_1.test_queue_lifecycle.TestQueueLifecycleMongoDB00:03
Eva-iflwang: yes00:03
flwangkgriffs: around?00:03
Eva-iflwang: will we backport this patch?00:03
Eva-iflwang: if yes, then it's better to solve all compatibility problem in single patch00:04
Eva-iflwang: I think00:04
flwangEva-i: i don't think we should backport this, personally, i prefer to bump the falcon version for mitaka and previous00:04
Eva-iflwang: you mean to limit falcon version in requirements.txt?00:05
Eva-iflwang: for old Zaqar releases00:05
flwangEva-i: yes, thought it may be a little bit hard00:06
flwangEva-i: pls help take a look at the ascii issue, i will be back after lunch00:07
flwangthanks00:07
Eva-iflwang: oki, sure =)00:08
flwangttyl00:08
tqtranflwang: is there a way to add metadata to a queue using openstack cli?00:11
tqtranor would i have to use curl to achieve that?00:11
Eva-itqtran: hello. If it's Zaqar API v2 I think first we should merge this patch to python-zaqarclient once it's ready: https://review.openstack.org/#/c/294368/. Then setting metadata to queue using API v2 and python-zaqarclient will work. I'm not sure, now curl requests might be the only option.00:14
Eva-itqtran: but we will fix it soon in python-zaqarclient00:15
tqtranah i see, and im assuming that we will have to update openstack client too?00:15
Eva-itqtran: maybe if you instantiate the client with api v1 specified, setting metadata will work00:15
tqtranright now, the only options i see are create, delete, list and stats00:16
Eva-itqtran: yes00:17
*** amitgandhinz has joined #openstack-zaqar00:19
Eva-itqtran: so for now for working with queue metadata, maybe try to use api v1 in openstack CLI (with python-zaqarclient plugin) or in python-zaqarclient as lib.00:20
Eva-iuntil the patch will be merged00:20
*** tqtran has quit IRC00:22
Eva-itqtran: also we don't have to update openstack client, we just have to update our python-zaqarcleint which is used as plugin in openstack client.00:22
*** rcernin has quit IRC00:24
*** shu-mutou has joined #openstack-zaqar00:54
Eva-iflwang: okay, I found this: https://www.diffchecker.com/x7guc75k00:56
Eva-iflwang: I'm don't know now how to fix it and I'm going to sleep soon. I'm reading PEP 3333 now.00:57
Eva-iflwang: sorry for my english today, I make too many mistakes00:58
*** openstackgerrit has quit IRC01:02
*** openstackgerrit has joined #openstack-zaqar01:03
Eva-iflwang: here's an updated diff for better clarity: https://www.diffchecker.com/qe5tzftr01:09
flwangEva-i: cool, thanks01:09
Eva-iflwang: I think we should catch this exception somewhere to send 400 error request as usual in this case01:17
flwangEva-i: yep, it's a bigger change than current patch01:18
flwangand your investigation is valuable01:18
flwangthanks a lot01:18
Eva-iflwang: thank you too for today. I'm going to sleep now.01:21
wxyflwang: Eva-i: tqtran: the patch https://review.openstack.org/#/c/294368/. has be ready for review for some time.01:21
Eva-iwxy: yes01:22
flwangEva-i: good night01:23
flwangwxy: since the summit, patches are delayed01:24
flwangwxy: i will review it today and sorry the delay, pls blame me01:25
wxyflwang: It doesn't matter.01:28
*** david_c__ has joined #openstack-zaqar01:32
*** david_cu_ has quit IRC01:35
*** amitgandhinz has quit IRC02:43
*** tqtran has joined #openstack-zaqar03:47
*** tqtran has quit IRC03:48
openstackgerritZhiQiang Fan proposed openstack/zaqar: remove verbose option in devstack plugin  https://review.openstack.org/31587504:30
*** amitgandhinz has joined #openstack-zaqar04:44
*** amitgandhinz has quit IRC04:49
*** amitgandhinz has joined #openstack-zaqar05:45
*** eliqiao has quit IRC05:45
*** amitgandhinz has quit IRC05:49
*** rcernin has joined #openstack-zaqar05:50
*** eliqiao has joined #openstack-zaqar05:52
*** flwang1 has joined #openstack-zaqar06:40
flwang1Eva-i: wxy: wanghao: around?06:40
*** amitgandhinz has joined #openstack-zaqar06:46
*** amitgandhinz has quit IRC06:50
*** tesseract has joined #openstack-zaqar06:56
openstackgerritFei Long Wang proposed openstack/zaqar: Move to falcon middleware  https://review.openstack.org/31573707:37
*** mdnadeem has joined #openstack-zaqar07:40
therveflwang, Hey there. So what's going on with that patch?07:41
*** mdnadeem_ has quit IRC07:43
*** flwang1 has quit IRC07:46
*** amitgandhinz has joined #openstack-zaqar07:46
*** amitgandhinz has quit IRC07:52
therve:/07:55
Eva-itherve: hello07:56
therveHey07:56
Eva-itherve: there are two problems with compatibility with the new falcon version, this patch only solves one of these problems07:57
therveEva-i, What's the other one?07:57
Eva-itherve: will it be okay if I approve this patch and add additional patch later?07:57
therveWell I don't really care, I need zaqar to start :)07:58
therveIt's blocking heat gate07:58
Eva-itherve: okay, I'll approve your patch. I think heat gate will work after that.07:58
Eva-itherve: the other problem is wrong ascii test failing, see ascii-related tests here: http://logs.openstack.org/37/315737/1/check/gate-zaqar-python34/7d38be0/testr_results.html.gz07:59
therveThat'd be cool07:59
therveEva-i, Isn't that fixed by latest flwang change?07:59
therveIf the tests are failing it's not like you'll be able to land it anyway :)08:00
Eva-itherve: okay, let me see if flwang fixed it08:00
Eva-itherve: I just got up and only saw chat08:00
Eva-itherve: aha, he didn't fixed the problem, just made ascii tests pass temporarly.08:05
therveAh okay :)08:05
Eva-itherve: I don't like it much, but will still approve.08:06
therveEva-i, Is it only a py3 issue?08:06
Eva-itherve: yes08:06
therveSo yeah I think we can live with that for a bit :)08:06
Eva-itherve: falcon lib changed in this way: https://www.diffchecker.com/qe5tzftr08:07
Eva-itherve: sure08:07
therveEva-i, Seems to pass, can you approve it?08:12
Eva-itherve: oki, done08:16
therveThanks a ton!08:17
therveAh hum08:17
therveEva-i, Maybe I'm asking a lot, but can you actually approve it :)08:17
therveUnless flaper87 roams around08:17
Eva-itherve: you mean do workflow +1?08:17
therveYes08:18
Eva-itherve: okay08:18
*** flwang1 has joined #openstack-zaqar08:28
flwang1therve: Eva-i has merged it08:30
*** Kevin_Zheng has quit IRC08:31
flwang1therve: thanks again for the quick fix08:32
*** eliqiao has quit IRC08:32
Eva-itherve: yes, thank you!08:33
openstackgerritMerged openstack/zaqar: Move to falcon middleware  https://review.openstack.org/31573708:33
*** eliqiao has joined #openstack-zaqar08:33
flwang1Eva-i: thanks for the approval08:34
Eva-iflwang1: sure, no problem08:39
*** flwang1 has quit IRC08:46
therveSweet08:47
*** amitgandhinz has joined #openstack-zaqar08:49
*** flwang1 has joined #openstack-zaqar08:50
*** amitgandhinz has quit IRC08:53
flwang1Eva-i: any suggestion for the fix the ascii issue?09:00
flwang1in my test, if there is unicode words in path, user will get 404 instead of 400, can you confirm that?09:07
*** Kevin_Zheng has joined #openstack-zaqar09:20
Kevin_Zhengflwang1: do we have an IRC channel for distil?09:21
wxyflwang1: what's up? Just be online from a meeting.09:47
*** amitgandhinz has joined #openstack-zaqar09:49
Eva-iflwang1: I send request with unicode characters via curl to Zaqar on python 3 and get 400 error.09:49
Eva-iflwang1: maybe I'm doing something wrong09:50
Eva-iflwang1: how do you test it?09:50
*** amitgandhinz has quit IRC09:54
flwang1Eva-i: have you upgrade to falcon 1.0?10:02
Eva-iflwang1: yes10:02
flwang1weird10:02
flwang1i just try to PUT to create a queue10:03
Eva-iflwang1: http://paste.openstack.org/show/Dih7gCxtbSwgthV4zr2C/10:04
Eva-iflwang1: me too as you see10:05
flwang1Eva-i: ok, cool, i will try it again10:14
flwang1Eva-i: so what's your concern about current fix?10:14
Eva-iflwang1: can you please tell me exact path you use in curl request10:14
flwang1127.0.0.1:8888/v2/queues/non-ascii-n\u0153me10:14
Eva-iflwang1: strange, I get this: http://paste.openstack.org/show/bcXeUy9wAPjMwXhNnvz1/10:16
Eva-iflwang1: maybe curl performs some conversion...10:18
flwang1Eva-i: try a pure http client10:20
Eva-iflwang1: which for example?10:20
flwang1DHC on chrome10:20
Eva-iflwang1: okay10:21
Eva-iflwang1: aha, I see 404 error with your request. It's because either DHC or Zaqar interpreter "\" as "/" for some reason.10:28
Eva-iflwang1: and curl just ignores "\" sign, like it doesn't exist10:30
flwang1Eva-i: ah, right10:31
flwang1maybe it's related to DHC10:31
Eva-iflwang1: Zaqar returns nicely 400 error, when I add snail (🐌) to path. In both DHC and curl.10:32
flwang1Eva-i: ok, cool10:32
Eva-iflwang1: So I can't reproduce the problem manually. So maybe Zaqar is working fine.10:33
flwang1Eva-i: yep10:33
flwang1Eva-i: "And by Fei Long's added patch set it basically turns off tests related to the problem two.10:33
flwang1Personally I don't like this approach. The patch would still be good without turning off ascii-related tests. But I still approve it, because there's a block in heat gate currently."10:33
flwang1can you explain more about this?10:33
Eva-iflwang1: yes. I thought you only made tests related to non-ascii characters pass and Zaqar code is still wrong.10:34
Eva-iflwang1: but maybe just our tests were not good. And Zaqar is working fine actually10:35
Eva-iwith the new version of falcon10:35
Eva-iflwang1: so I guess I was wrong in my comment10:35
Eva-iflwang1: I'll add additional note to merged patch that I was wrong, all right?10:36
flwang1i see10:36
flwang1thanks :)10:36
Eva-i=)10:41
therveEva-i, Are you trying with python3 though?10:49
Eva-itherve: yes10:49
therveOK cool10:49
Eva-itherve: and with updated falcon10:49
Eva-itherve: everything seems fine now10:49
Eva-itherve: I just was wrong10:50
therveThat happens to the best of us10:50
*** amitgandhinz has joined #openstack-zaqar10:50
*** amitgandhinz has quit IRC10:54
*** wanghao has quit IRC11:10
*** wanghao has joined #openstack-zaqar11:12
*** amitgandhinz has joined #openstack-zaqar11:51
*** amitgandhinz has quit IRC11:55
*** shu-mutou is now known as shu-mutou-AFK12:19
*** rcernin_ has joined #openstack-zaqar12:42
*** rcernin has quit IRC12:42
*** amitgandhinz has joined #openstack-zaqar12:51
*** amitgandhinz has quit IRC12:57
*** amitgandhinz has joined #openstack-zaqar12:57
*** rcernin_ has quit IRC13:16
*** odyssey4me has quit IRC13:21
*** odyssey4me has joined #openstack-zaqar13:21
*** rcernin has joined #openstack-zaqar13:27
*** openstack has joined #openstack-zaqar13:45
*** openstack has joined #openstack-zaqar13:53
*** ametts has joined #openstack-zaqar14:04
*** njohnston_afk is now known as njohnston__14:05
*** dynarro has joined #openstack-zaqar14:27
*** openstackgerrit has quit IRC15:17
*** openstackgerrit has joined #openstack-zaqar15:18
*** GB21 has joined #openstack-zaqar15:55
*** tesseract has quit IRC15:56
*** rcernin has quit IRC16:02
*** mpanetta has joined #openstack-zaqar16:04
openstackgerritOpenStack Proposal Bot proposed openstack/zaqar: Updated from global requirements  https://review.openstack.org/31438316:08
*** GB21 has quit IRC16:15
*** mpanetta_ has joined #openstack-zaqar16:31
*** mpanetta_ has quit IRC16:32
*** mpanetta_ has joined #openstack-zaqar16:33
*** mpanetta has quit IRC16:33
*** david_c__ has quit IRC16:38
*** david_cu_ has joined #openstack-zaqar16:38
*** david_cu_ has quit IRC16:42
*** dynarro has quit IRC17:07
*** david_cu_ has joined #openstack-zaqar17:39
*** david_cu_ has quit IRC17:44
*** david_cu_ has joined #openstack-zaqar18:15
*** amitgandhinz has left #openstack-zaqar18:36
*** khushbu_ has joined #openstack-zaqar18:57
*** ri0 has joined #openstack-zaqar19:49
*** ri0 has quit IRC20:01
*** khushbu_ has quit IRC20:19
*** ametts has quit IRC20:36
*** david_c__ has joined #openstack-zaqar21:01
*** david_cu_ has quit IRC21:04
*** david_c__ has quit IRC21:12
*** david_cu_ has joined #openstack-zaqar21:12
*** david_cu_ has quit IRC21:17
*** mpanetta_ has quit IRC23:11

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