Thursday, 2016-03-17

*** achanda has joined #openstack-zaqar00:03
*** flwang has quit IRC00:07
*** flwang1 has joined #openstack-zaqar00:09
*** achanda has quit IRC00:15
*** flwang1 has quit IRC00:23
*** flwang1 has joined #openstack-zaqar00:26
flwang1wxy: ping re queue's metadata update client patch00:37
*** JAHoagie has joined #openstack-zaqar00:49
*** shu-mutou-AFK is now known as shu-mutou00:58
wxyflwang1: pong, just start work.:)01:00
*** JAHoagie has quit IRC01:00
flwang1wxy: ok, the server side patch https://review.openstack.org/292843 is there, need some polish, but you got the idea01:01
flwang1i will upload a new patch set soon01:01
wxyflwang1: got it , I'll read and review it at once.01:02
flwang1wxy: cheers01:02
*** odyssey4me has quit IRC01:04
*** odyssey4me has joined #openstack-zaqar01:06
*** achanda has joined #openstack-zaqar01:26
openstackgerritFei Long Wang proposed openstack/zaqar: Fix PATCH queue's metadata  https://review.openstack.org/29284301:28
*** eliqiao_ has joined #openstack-zaqar01:40
*** kgriffs|afk is now known as kgriffs01:42
*** eliqiao has quit IRC01:43
*** tqtran-afk has quit IRC01:48
*** kgriffs is now known as kgriffs|afk01:51
*** kgriffs|afk is now known as kgriffs01:51
*** wanghao has quit IRC02:12
*** wanghao has joined #openstack-zaqar02:12
*** eliqiao_ is now known as eliqiao02:14
*** odyssey4me has quit IRC02:19
*** AAzza has quit IRC02:19
*** Qiming has joined #openstack-zaqar02:23
*** odyssey4me has joined #openstack-zaqar02:25
*** AAzza has joined #openstack-zaqar02:25
openstackgerritFei Long Wang proposed openstack/zaqar: Fix PATCH queue's metadata  https://review.openstack.org/29284302:32
*** achanda has quit IRC02:48
*** achanda has joined #openstack-zaqar02:50
*** achanda has quit IRC02:52
*** achanda has joined #openstack-zaqar02:55
*** Qiming has quit IRC02:57
*** GB21 has joined #openstack-zaqar03:09
*** GB21 has quit IRC03:15
flwang1wxy: ping03:49
openstackgerritFei Long Wang proposed openstack/zaqar: Remove unnecessary assert  https://review.openstack.org/29381003:51
wxyflwang1: hey04:07
Eva-iflwang1: hello05:06
Eva-iflwang1: are you still here?05:06
*** GB21 has joined #openstack-zaqar05:22
*** GB21 has quit IRC05:31
*** mdnadeem has quit IRC05:33
*** GB21 has joined #openstack-zaqar05:33
*** achanda has quit IRC05:37
*** GB21 has quit IRC05:51
*** GB21 has joined #openstack-zaqar05:51
*** GB21 has quit IRC05:57
*** GB21 has joined #openstack-zaqar05:59
*** itisha has quit IRC06:19
*** GB21 has quit IRC06:19
*** GB21 has joined #openstack-zaqar06:21
*** mdnadeem has joined #openstack-zaqar06:35
*** kgriffs is now known as kgriffs|afk06:44
*** GB21 has quit IRC06:49
*** GB21 has joined #openstack-zaqar06:49
*** kgriffs|afk is now known as kgriffs06:53
*** GB21 has quit IRC07:13
*** GB21 has joined #openstack-zaqar07:13
Eva-ihello wxy07:14
wxyEva-i: :)07:14
*** tesseract has joined #openstack-zaqar07:15
*** tesseract is now known as Guest5718207:15
Eva-iwxy: recheck will probably do nothing to Fei Long's patch. Tests now fail because websocket library which Zaqar uses updated in incompatible way. See this bug: https://bugs.launchpad.net/zaqar/+bug/1558062. I recommended Fei Long to rebase his change to my patch (https://review.openstack.org/293413) so the tests will pass, but for some reason he don't want to. :o07:17
openstackLaunchpad bug 1558062 in zaqar "Zaqar shouldn't instantiate websocket protocol with 'debug' option" [Undecided,In progress] - Assigned to Eva Balycheva (ubershy)07:17
*** shakamunyi has quit IRC07:18
wxyEva-i: I noticed that he added "depends-on" in the commit message.07:18
Eva-iwxy: oh, you're right!07:20
wxyEva-i: And the jenkins only failed with python34. I don't know why, but it always happens. :(07:20
Eva-iwxy: I thought depends-on is for cross-project patches07:20
Eva-iwxy: don't worry, I know why jenkins fails with python34. I'm going to fix it after RC1.07:21
wxyEva-i: That's a great news.07:22
*** shakamunyi has joined #openstack-zaqar07:23
*** GB21 has quit IRC07:24
openstackgerritNeerja Narayan proposed openstack/zaqar: Adding Negative tests cases to Zaqar v1.0  https://review.openstack.org/29164307:27
*** rcernin has joined #openstack-zaqar07:39
*** wanghao has quit IRC07:56
*** wanghao has joined #openstack-zaqar07:57
*** GB21 has joined #openstack-zaqar08:00
*** GB21 has quit IRC08:15
*** GB21 has joined #openstack-zaqar08:15
*** pcaruana has joined #openstack-zaqar08:24
*** GB21 has quit IRC08:28
*** GB21 has joined #openstack-zaqar08:30
*** barra204 has joined #openstack-zaqar08:42
*** shakamunyi has quit IRC08:44
*** GB21 has quit IRC09:04
*** GB21 has joined #openstack-zaqar09:28
*** GB21 has quit IRC09:44
*** achanda has joined #openstack-zaqar09:44
*** achanda has quit IRC09:45
*** achanda has joined #openstack-zaqar09:46
*** achanda has quit IRC09:46
odyssey4meo/09:51
*** GB21 has joined #openstack-zaqar10:11
*** bradjones has quit IRC10:27
*** bradjones has joined #openstack-zaqar10:36
*** bradjones has joined #openstack-zaqar10:36
*** shu-mutou is now known as shu-mutou-AFK10:36
*** GB21 has quit IRC10:52
*** GB21 has joined #openstack-zaqar10:52
*** GB21 has quit IRC10:58
*** GB21 has joined #openstack-zaqar10:58
*** GB21 has quit IRC11:07
*** GB21 has joined #openstack-zaqar11:08
*** boris-42 has joined #openstack-zaqar11:14
*** shu-mutou-AFK has quit IRC11:20
*** wxy has quit IRC11:40
*** GB21 has quit IRC11:47
*** openstackgerrit has quit IRC11:48
*** openstackgerrit has joined #openstack-zaqar11:48
*** GB21 has joined #openstack-zaqar11:48
*** GB21 has quit IRC11:53
*** GB21 has joined #openstack-zaqar11:55
*** GB21 has quit IRC12:01
*** GB21 has joined #openstack-zaqar12:03
*** GB21 has quit IRC12:24
*** venkat_ has joined #openstack-zaqar13:05
*** mpanetta has joined #openstack-zaqar13:07
*** mpanetta has quit IRC13:12
*** mpanetta has joined #openstack-zaqar13:12
*** amitgandhinz has joined #openstack-zaqar13:19
*** ametts has joined #openstack-zaqar13:37
*** venkat_ has quit IRC13:51
*** venkat_ has joined #openstack-zaqar14:01
*** GB21 has joined #openstack-zaqar14:25
*** pcaruana has quit IRC14:28
*** achanda has joined #openstack-zaqar14:29
*** achanda has quit IRC14:40
*** csoukup has joined #openstack-zaqar14:54
*** amitgandhinz has quit IRC14:58
*** amitgandhinz has joined #openstack-zaqar14:58
*** achanda has joined #openstack-zaqar15:03
*** achanda has quit IRC15:08
*** GB21 has quit IRC15:15
*** JAHoagie has joined #openstack-zaqar15:47
*** khushbu has joined #openstack-zaqar15:56
*** flwang has joined #openstack-zaqar16:01
*** khushbu has quit IRC16:02
*** venkat_ has quit IRC16:04
*** khushbu has joined #openstack-zaqar16:14
*** pcaruana has joined #openstack-zaqar16:22
*** itisha has joined #openstack-zaqar16:33
*** khushbu has quit IRC16:33
flwangflaper87: ping16:33
openstackgerritFei Long Wang proposed openstack/zaqar: Fix PATCH queue's metadata  https://review.openstack.org/29284316:39
flwangryansb: vkmc: flaper87:anybody around?16:40
flwangwe need to discuss https://review.openstack.org/#/c/293413/16:40
flaper87flwang: pong16:42
flaper87actually, 2mins16:43
flaper87brbr16:43
flaper87brb, even16:43
flwangflaper87: ok, i will wait for you :)16:43
flaper87here now16:47
flaper87flwang: sup?16:47
flwanghttps://review.openstack.org/#/c/293413/16:47
flwangfor this one, should we bump the lib version?16:48
flaper87what does `fresh 'autobahn'` mean?16:48
flaper87latest?16:48
flaper87Did they break us ?16:48
flwangyes, since they removed a param of __init__16:48
flaper87we can't bump the version now16:48
flaper87Is there any other way to enable debug ?16:49
flwangthe 'debug' removal won't impact anything16:49
flaper87I don't understand why they wouldn't allow people to enable debug16:49
flwangit's a deprecated param and the logging won't be impacted based on the patch said16:50
flaper87Anyway, we can avoid passing debug to autobhan altogether16:50
flaper87ok16:50
flaper87Let's remove it in Zaqar16:50
flaper87bump the minor version in requirements16:50
flaper87and that will land probably in newton and we can backport it to Mitaka16:51
flwangit's breaking our gate16:51
flwangwe can't merge the queue's PATCH fix before this one16:51
flaper87+2'd16:52
flaper87go, merge it16:52
flaper87flwang: ^16:52
flwangflaper87: and this one, when you have a moment https://review.openstack.org/29284316:52
flwangPATCH support for queue's metadata16:53
flwangi grab some code from glance16:53
flwangflaper87: and i would like to see your opinion on this one https://review.openstack.org/#/c/292702/  which is adding some check in v1 for metadata's value, because we have a new feature in v2's queue metadata thanks16:58
flaper87flwang: will check16:59
flwangreally appreciate16:59
*** mpanetta has quit IRC17:07
*** david_cu has joined #openstack-zaqar17:16
*** david_cu_ has joined #openstack-zaqar17:17
*** david_cu has quit IRC17:20
*** david_cu_ has quit IRC17:25
*** Guest57182 has quit IRC17:36
*** flwang has quit IRC17:48
*** rcernin has quit IRC17:55
*** tqtran-afk has joined #openstack-zaqar17:56
*** tqtran-afk is now known as tqtran18:13
*** pcaruana has quit IRC18:18
*** pcaruana has joined #openstack-zaqar18:30
*** wanghao has quit IRC18:35
*** wanghao has joined #openstack-zaqar18:35
*** amitgandhinz has quit IRC19:20
*** ametts has quit IRC19:29
Eva-iflwang1: good morning20:07
flwang1morning20:07
*** kgriffs is now known as kgriffs|afk20:07
flwang1Eva-i: can you pls revisit https://review.openstack.org/#/c/292843/ ?20:11
Eva-iflwang1: sure, already20:11
Eva-irevisiting20:11
flwang1thanks20:12
*** flwang has joined #openstack-zaqar20:12
* ryansb also visiting20:13
flwang1ryansb: really appreciate it20:15
flwang1we need to get it in today20:15
ryansbooh, JSON PATCH20:15
flwang1if possible20:15
ryansbyay20:15
flwang1ryansb: i know i know20:15
flwang1it's rush to get this in at this moment, but seems there is no good way unless we want to release the ugly PATCH in mitaka :)20:16
ryansbyup20:16
Eva-iI want beautiful PATCH20:16
flwang1ryansb: Eva-i: by many code from glance, so should be ok20:16
*** pcaruana has quit IRC20:17
ryansbEva-i: you don't seem to test updating one key then confirming others are unchanged20:17
ryansbwould it be possible to add one?20:17
flwang1ryansb: ?20:17
ryansbin https://review.openstack.org/#/c/292843/8/zaqar/tests/unit/transport/wsgi/v2_0/test_queue_lifecycle.py20:17
ryansbit would be good to do a test like20:17
ryansb[{"op":"add", "path": "/metadata/key", "value": 1}]20:18
ryansb[{"op":"add", "path": "/metadata/key2", "value": 1}]20:18
ryansb[{"op":"modify", "path": "/metadata/key", "value": 5}]20:18
ryansbthen test that key == 5 and key2 == 1 still20:18
flwang1ryansb: oh, no problem, i can do that20:18
ryansband s/modify/replace/ oops20:19
flwang1and i'm going to add a test for queue_patching of validation20:19
ryansbkk20:20
Eva-iflwang1: ryansb: should we send 404 responses to user, on replace and delete operations with metadata, when keys are not found?20:21
ryansbI don't think so20:21
ryansbit's an idempotency concern20:21
ryansbso e.g. if user sends `remove` then gets no response, then resends, they should not get an error20:22
Eva-iryansb: patch is not idempotent as I see: http://restcookbook.com/HTTP%20Methods/idempotency/20:22
ryansboh, it isn't?20:22
Eva-iryansb: there is also this opinion: http://programmers.stackexchange.com/a/26082820:23
flwang1ryansb: patch is not20:23
ryansbI stand corrected then20:23
flwang1IMHO, we're playing with key of metadata20:24
flwang1not the core/key attributes of a queue20:24
Eva-iRFC says things about "unsuccessful operation" in this case. 200 OK response seems successful20:24
flwang1for example, take glance image as an example20:24
flwang1if the patch is against a core attribute, like image disk_format20:24
flwang1then maybe we should throw error, but for a key in metadata, i don't really think it's a good idea to throw errors20:25
flwang1Eva-i: can you paste the link/sentence?20:25
Eva-iflwang1: what link?20:26
flwang1RFC says things about "unsuccessful operation" in this case20:27
Eva-iflwang1: ryansb: http://tools.ietf.org/html/rfc6902#section-4.220:27
Eva-isame is for replace20:27
Eva-iflwang1: ryansb: "The target location MUST exist for the operation to be successful."20:28
ryansbthere you have it20:28
Eva-iWe can vote. I'm for RFC way. But I'm not 100% against a way without showing errors when keys don't exist.20:30
*** pcaruana has joined #openstack-zaqar20:30
flwang1Eva-i: we can do that20:34
flwang1then the question is what's the error we should use20:34
flwang1404 or 40920:34
flwang1or 40020:34
Eva-iflwang1: I think definitely 404.20:34
Eva-ifits best20:34
flwang1glance is using 40920:35
flwang1https://github.com/openstack/glance/blob/master/glance/api/v2/images.py#L19220:35
Eva-iflwang1: thanks for information. I think glance is wrong =)20:36
flwang1Eva-i: haha20:37
flwang1https://github.com/stefankoegl/python-json-patch/blob/master/jsonpatch.py#L40220:39
flwang1i would say glance is correct20:39
Eva-iflwang1: oh, that's good argument. Now I'm starting to think I'm wrong.20:41
Eva-iflwang1: okay, I wouldn't mind 409 if you use it.20:42
flwang1im going to use 409 unless if there is another object :)20:42
*** ametts has joined #openstack-zaqar20:42
ryansb++20:53
Eva-iflwang1: oki20:54
flwang1Eva-i: for this line metadata.pop(path_child)21:02
flwang1you said it may cause 500 error, why?21:02
Eva-iit will throw KeyError in case key does not exist, no?21:03
flwang1if path_child in metadata:21:03
Eva-iflwang1: ah yes, it's my mistake21:04
flwang1Eva-i: ryansb: vkmc: flaper87: any other comments for the patch before i uploading another patchset?21:11
ryansbno, lookks ok21:11
Eva-iflwang1: no comments from me21:12
openstackgerritMerged openstack/zaqar: Don't pass debug option to websocket constructor  https://review.openstack.org/29341321:14
openstackgerritFei Long Wang proposed openstack/zaqar: Remove unnecessary assert  https://review.openstack.org/29381021:20
*** Eva-i has quit IRC21:23
*** Eva-i has joined #openstack-zaqar21:25
*** csoukup has quit IRC22:08
*** csoukup has joined #openstack-zaqar22:10
*** ametts has quit IRC22:14
Eva-iflwang: flwang1: let's resume this patch and make it work with our new queue PATCH method in v2 https://review.openstack.org/#/c/289179/ ?22:44
*** tqtran is now known as tqtran-afk22:54
*** csoukup has quit IRC22:57
*** tqtran-afk has quit IRC23:01
*** eliqiao has quit IRC23:43
*** eliqiao has joined #openstack-zaqar23:45
flwang1yep, i mentioned that with wxy23:49
flwang1but i'm not sure what's the progress23:49
*** davideagnello has quit IRC23:53
*** davideagnello has joined #openstack-zaqar23:54
*** davideagnello has quit IRC23:59

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