Thursday, 2014-10-09

*** kgriffs is now known as kgriffs|afk00:08
*** openstackstatus has quit IRC00:23
*** openstackstatus has joined #openstack-zaqar00:24
*** ChanServ sets mode: +v openstackstatus00:24
*** kgriffs|afk is now known as kgriffs01:00
*** kgriffs is now known as kgriffs|afk01:09
*** jeffrey4l has joined #openstack-zaqar01:23
*** kgriffs|afk is now known as kgriffs02:00
*** kgriffs is now known as kgriffs|afk02:10
*** jeffrey4l_ has joined #openstack-zaqar02:15
*** jeffrey4l has quit IRC02:19
*** kgriffs|afk is now known as kgriffs02:39
*** openstackgerrit has quit IRC02:45
*** jeffrey4l_ has quit IRC03:25
*** alcabrera|afk is now known as alcabrera03:33
*** jeffrey4l_ has joined #openstack-zaqar03:42
*** X019_ has quit IRC03:57
*** X019 has joined #openstack-zaqar03:58
*** kgriffs is now known as kgriffs|afk04:19
*** alcabrera is now known as alcabrera|afk04:39
*** jeffrey4l_ has quit IRC06:29
*** jeffrey4l_ has joined #openstack-zaqar06:42
*** prashanthr_ has joined #openstack-zaqar06:51
*** flaper87|afk is now known as flaper8706:58
jeffrey4l_flaper87, could check the comment make by kgriffs|afk  about list all pools ( https://review.openstack.org/#/c/123462/5/zaqar/queues/storage/pooling.py ) , I also send a email to talk about this. http://lists.openstack.org/pipermail/openstack-dev/2014-October/048140.html07:58
jeffrey4l_What's your opinion?07:58
*** prashanthr_ has quit IRC08:00
flaper87jeffrey4l_: I think it'd make more sense to use limit=None instead of 008:02
flaper87store's that doesn't support "list all" will have to implement some kind of iterator, I guess08:02
flaper87but it'd be weird to have stores implementing limit=10 and not limit=None08:03
jeffrey4l_flaper87, So lets change the limit=10 to limit=None in the storage? When call `.list()`, all the data is returned unless the limit is given.08:06
flaper87jeffrey4l_: no no, there must be a default limit.08:06
flaper87but passing `limit=None` means return everything08:06
jeffrey4l_ok.08:07
flaper87What kgriffs|afk was asking in the review is whether limit=0 is currently used by all drivers and whether it means the same to everyone08:07
flaper87I think we need to document this08:08
flaper87but don't do it in that patch, we'll have a spearate patch for this08:08
flaper87jeffrey4l_: keep your patch focused on the pool links stuff08:08
jeffrey4l_flaper87, got it. Could u check the my comment about the response status when the no queue.08:11
flaper87jeffrey4l_: I did, I think. I replied that I think 200 is correct08:11
jeffrey4l_flaper87, I make some new comment. ;p08:11
flaper87ah ok :P08:12
jeffrey4l_I have to say it is a big change to change. all( queue, flavor, message) list response is affected. Should we change it in separate patch? Or just change my patch( just pool list)?08:13
flaper87jeffrey4l_: replied08:13
jeffrey4l_flaper87, I have to say it is a big change. all( queue, flavor, message) list response is affected. Should we change it in separate patch? Or just change my patch( just pool list)?08:16
flaper87jeffrey4l_: wait, why?08:16
flaper87queue's are already like that08:16
flaper87why do you need to change messages?08:16
jeffrey4l_flaper87, I don't think the queue works like that. https://git.openstack.org/cgit/openstack/zaqar/tree/zaqar/queues/transport/wsgi/v1_1/queues.py#n14908:19
flaper87jeffrey4l_: ah you mean about the No Content thing08:20
jeffrey4l_flaper87, yes.08:21
jeffrey4l_flaper87, base on the comments in my patch, when there are no more queues/pools, it return 200 rather than 204.08:21
jeffrey4l_queues return 204 now.08:21
flaper87but messages return 20008:22
jeffrey4l_flaper87, yes. it is my mistake. I just check the message's code. It return 200 now.08:23
flaper87then there's a bug in the queue's stuff08:23
flaper87I'll fix it08:24
jeffrey4l_I think so .08:24
flaper87we need to get that fix in ASAP before RC208:24
flaper87jeffrey4l_: you do pools and flavors, I'll fix queues08:24
jeffrey4l_flaper87, kk08:24
flaper87how does that sound?08:24
flaper87and, THANKS for spotting that08:24
jeffrey4l_my pleasure ;p08:25
*** njirap has joined #openstack-zaqar08:52
*** jeffrey4l_ has quit IRC08:54
*** jeffrey4l_ has joined #openstack-zaqar08:54
jeffrey4l_flaper87, my pool and flavor patch is uploaded.09:15
flaper87jeffrey4l_: awesome, so is my fix09:18
flaper87jeffrey4l_: will review in a bit09:18
jeffrey4l_no problem.09:18
*** jeffrey4l__ has joined #openstack-zaqar09:34
*** jeffrey4l__ is now known as jeffrey4l09:35
*** jeffrey4l_ has quit IRC09:38
*** exploreshaifali is now known as xxx09:40
*** xxx has left #openstack-zaqar09:41
*** exploreshaifali has joined #openstack-zaqar09:43
*** aj9 has joined #openstack-zaqar09:47
jeffrey4lflaper87, what will the `marker` param be like when the list(queue/flavor/queue) response is empty.  1) not show? 2) empty string `markder=` 3) the request value?09:55
flaper87jeffrey4l: I was asking myself the same question09:55
flaper87it should be an empty string, I guess09:55
flaper87actually, I think it's an empty string09:56
flaper87hopefully, it's not `marker=None`09:56
flaper87otherwise we're screwed09:56
flaper87:P09:56
jeffrey4lIf it is a empty string, the next link indicate the first page actually.09:56
flaper87which is ok because nothing was returned09:59
flaper87jeffrey4l: sorry, gtg for a bit, brb09:59
jeffrey4lflaper87, so i prefer use the request value( if marker exist, i.e. not None), otherwise not show. ;p09:59
*** AAzza has quit IRC09:59
*** AAzza_afk has joined #openstack-zaqar10:00
*** AAzza_afk is now known as AAzza10:01
*** AAzza has quit IRC10:05
*** AAzza_afk has joined #openstack-zaqar10:06
*** AAzza_afk is now known as AAzza10:06
*** X019 has quit IRC10:07
*** exploreshaifali has quit IRC10:07
*** X019 has joined #openstack-zaqar10:23
*** X019 has quit IRC10:39
*** malini has joined #openstack-zaqar11:29
*** malini has quit IRC11:29
*** malini has joined #openstack-zaqar11:30
*** jeffrey4l has quit IRC11:37
*** jeffrey4l has joined #openstack-zaqar11:44
*** sgotliv has joined #openstack-zaqar11:49
*** jeffrey4l_ has joined #openstack-zaqar11:50
*** jeffrey4l has quit IRC11:50
*** jeffrey4l_ is now known as jeffrey4l11:55
*** bradjones has quit IRC11:59
*** aj9 has quit IRC12:12
*** malini has quit IRC12:15
*** malini_znc is now known as malini|afk12:15
*** openstackgerrit has joined #openstack-zaqar12:23
openstackgerritFlavio Percoco proposed a change to openstack/python-zaqarclient: Add docs for `Client` instances  https://review.openstack.org/12718212:23
openstackgerritFlavio Percoco proposed a change to openstack/python-zaqarclient: Add reference docs for latest recommended client  https://review.openstack.org/12721512:23
flaper87openstackgerrit: you asshole, where have you been?12:23
*** bradjones has joined #openstack-zaqar12:26
*** mpanetta has joined #openstack-zaqar12:51
*** amitgandhinz has joined #openstack-zaqar12:53
*** amitgandhinz has quit IRC12:53
*** amitgandhinz has joined #openstack-zaqar12:54
openstackgerritFlavio Percoco proposed a change to openstack/python-zaqarclient: Extend some docstrings with useful information  https://review.openstack.org/12722713:01
*** sriram has joined #openstack-zaqar13:04
*** jchai has joined #openstack-zaqar13:29
*** malini|afk is now known as malini_znc13:40
*** malini has joined #openstack-zaqar13:40
openstackgerritFlavio Percoco proposed a change to openstack/python-zaqarclient: Extend some docstrings with useful information  https://review.openstack.org/12722713:47
openstackgerritFlavio Percoco proposed a change to openstack/python-zaqarclient: Add docs for `Client` instances  https://review.openstack.org/12718213:47
openstackgerritFlavio Percoco proposed a change to openstack/python-zaqarclient: Add reference docs for latest recommended client  https://review.openstack.org/12721513:47
*** malini_znc is now known as malini|afk13:47
flaper87malini: kgriffs|afk I've dedicated time to write docs for the client library. if you can dedicate a couple of minutes to review those patchs, it'd be really cool13:47
flaper87https://review.openstack.org/#/q/status:open+project:openstack/python-zaqarclient+branch:master+topic:docs,n,z13:48
flaper87kgriffs|afk: malini flwang ^13:48
malinido you have anything else dedicated for it?13:48
malinilike pop-tarts?13:48
flaper87malini: I've pop-tarts, gummy bears, nutella and a full dinner paid in a very nice italian restaurant13:49
flaper87note that I said "full dinner"13:49
malinihmmm..tht sounds like a good deal13:50
malinion it now13:50
maliniflaper87: do you plan to address Jeffrey's comment https://review.openstack.org/#/c/127171/1/test-requirements.txt ?13:52
flaper87malini: oh mmh, just noticed it. yup. I'll fix that right away13:52
flaper87malini: done13:53
openstackgerritFlavio Percoco proposed a change to openstack/python-zaqarclient: Setup developer docs for zaqarclient  https://review.openstack.org/12717113:53
openstackgerritFlavio Percoco proposed a change to openstack/python-zaqarclient: Extend some docstrings with useful information  https://review.openstack.org/12722713:53
openstackgerritFlavio Percoco proposed a change to openstack/python-zaqarclient: Add docs for `Client` instances  https://review.openstack.org/12718213:53
openstackgerritFlavio Percoco proposed a change to openstack/python-zaqarclient: Add reference docs for latest recommended client  https://review.openstack.org/12721513:53
*** jeffrey4l has quit IRC14:08
maliniwe need to add a gate-docs job14:08
flaper87malini: I think it's automatic after teh `doc` folder lands14:08
flaper87malini: I had forgotten about this patch: https://review.openstack.org/#/c/127175/14:08
flaper87it's quite urgent to review that one, would you mind doing so?14:08
flaper87we need to get it merged for RC2, it fixes a critical bug14:09
malinichecking now14:10
flaper87thanks a lot14:11
*** amitgandhinz has quit IRC14:15
*** sgotliv has quit IRC14:30
*** X019 has joined #openstack-zaqar14:37
flaper87kgriffs|afk: can I get your quick review on this one? https://review.openstack.org/#/c/127175/14:46
flaper87I need to backport it14:46
flaper87ok, I backported it anyway14:47
flaper87I'll have the meeting with ttx in a bit so, I kinda need to get everything in place14:48
flaper87I'm afraid flavor's and pool's will have to wait14:48
flaper87kgriffs|afk: I added some things to the smoke test etherpad14:52
*** exploreshaifali has joined #openstack-zaqar14:54
*** njirap has quit IRC15:11
*** exploreshaifali has quit IRC15:34
*** exploreshaifali has joined #openstack-zaqar15:34
*** exploreshaifali has quit IRC15:34
*** kgriffs|afk is now known as kgriffs15:34
kgriffsflaper87: here15:35
flaper87kgriffs: sweet. Good morning15:35
flaper87I think our priority is that queue's bug and the flavor/pool stuff15:35
kgriffsok15:35
kgriffsflaper87:15:38
kgriffshttps://review.openstack.org/#/c/127175/2/zaqar/tests/queues/transport/wsgi/v1_1/test_queue_lifecycle.py15:38
kgriffsseems like we should also test that the list of queues is empty15:38
kgriffsam I understanding the purpose of this patch correctly?15:38
flaper87kgriffs: yup, can we do that in a follow-up patch?15:41
flaper87kinda sorting out rc2 with ttx now15:41
flaper87I'll rework the lifecycle test15:41
*** alcabrera|afk is now known as alcabrera15:43
*** njirap has joined #openstack-zaqar15:43
kgriffsflaper87: OK, I added a comment there.15:44
flaper87kgriffs: I think we still have time so I'll probably do it right away15:44
kgriffsok, other than that, +2 from me15:44
kgriffsflaper87: what else can I help with?15:45
flaper87those where our priorities. the rest of the reviews can be done when you've some time15:45
flaper87I worked on client docs today15:45
flaper87kgriffs: https://review.openstack.org/#/q/status:open+project:openstack/python-zaqarclient+branch:master+topic:docs,n,z15:46
flaper87kgriffs: ah and I also added stuff for the smoke test thing15:46
kgriffskk15:46
kgriffswhat do you think about positioning the v1.1 implementation in the Juno release as "beta" and we welcome SDK maintainers to add support and give us feedback? It just makes me nervous to see so much landing last-minute.15:47
flaper87mmh, my concern about that is that v1 is not consistent and it has somethings we didn't like and removed in v1.115:49
flaper87What about we dedicate tomorrow to re-review v1.115:49
flaper87?15:49
kgriffsI suppose if we do some extra careful review and testing it will be OK15:50
openstackgerritFlavio Percoco proposed a change to openstack/zaqar: Queue's empty list should return 200 and an object  https://review.openstack.org/12717515:52
flaper87kgriffs: malini ^15:52
flaper87kgriffs: btw, we still have time until tomorrow to land jeffrey's patches15:53
flaper87I think it's worth it15:53
*** prashanthr_ has joined #openstack-zaqar15:55
*** prashanthr_ has quit IRC16:00
*** exploreshaifali has joined #openstack-zaqar16:06
*** njirap has quit IRC16:19
kgriffsflaper87: what do you think about this breaking change to 1.0?16:25
kgriffshttps://review.openstack.org/#/c/123462/6/zaqar/queues/transport/wsgi/v1_0/pools.py16:25
kgriffspools were not really "officially" part of 1.016:25
flaper87yeah, I was a bit hesitant at the beginning but came to the same conclusion16:26
kgriffsand were not documented in the spec, so I doubt anyone is using them16:26
flaper87the real mistake was to include pools in 1.016:26
kgriffsyeah16:26
flaper87so, I'd prefer to fix them, although it means breaking them16:26
kgriffskk16:29
kgriffsTBH, we could probably just remove the code from the v1.0 altogether and then we no longer have to maintain it16:30
flaper87kgriffs: I'm tempted but I think, assuming the worst case scenario, that I'd rather face accusations for breaking 1 endpoint than removing a whole feature that was in-use16:32
flaper87I don't think anyone using v1.0 is using it but16:32
*** sgotliv has joined #openstack-zaqar16:44
*** bradjones has quit IRC16:46
*** amitgandhinz has joined #openstack-zaqar16:48
*** kgriffs is now known as kgriffs|afk17:08
*** alcabrera is now known as alcabrera|afk17:59
exploreshaifaliflaper87: ping18:01
exploreshaifaliflaper87: I was trying to is how configurations of datastores are defined for diff drives18:02
*** kgriffs|afk is now known as kgriffs18:02
exploreshaifaliflaper87, The config object for all Driver classes is an object of oslo.config.ConfigOpts18:03
exploreshaifali*conf object18:03
exploreshaifaliBut where is this oslo.config.ConfigOpts?18:03
exploreshaifalihi kgriffs18:09
kgriffso/18:15
*** jchai is now known as jchai_afk18:19
*** jchai_afk is now known as jchai18:19
*** aj9 has joined #openstack-zaqar18:24
exploreshaifalikgriffs: please can u help explain conf object in all Driver classes18:27
exploreshaifalikgriffs: it is object of oslo.config.ConfOpt class?18:28
*** kgriffs is now known as kgriffs|afk18:33
*** kgriffs|afk is now known as kgriffs18:37
*** sgotliv has quit IRC18:49
*** earnThis has joined #openstack-zaqar19:01
*** alcabrera|afk is now known as alcabrera19:02
*** jchai is now known as jchai_afk19:02
*** kgriffs is now known as kgriffs|afk19:15
*** jchai_afk is now known as jchai19:24
*** kgriffs|afk is now known as kgriffs19:31
*** malini has quit IRC20:00
openstackgerritA change was merged to openstack/zaqar: Queue's empty list should return 200 and an object  https://review.openstack.org/12717520:02
*** fifieldt has quit IRC20:08
openstackgerritChristian Berendt proposed a change to openstack/zaqar: Add missing \n at the end of file  https://review.openstack.org/12733220:10
*** shaifali_ has joined #openstack-zaqar20:11
*** shaifali_ has quit IRC20:12
kgriffsif anyone is around, I could use a quick review on this patch - https://review.openstack.org/#/c/126947/20:15
kgriffsthanks in advance!20:15
*** fifieldt has joined #openstack-zaqar20:21
flaper87kgriffs: looking20:22
flaper87lol, I already reviewed20:22
flaper87it20:22
kgriffsthanks, btw20:23
* flaper87 goes back to his cave20:23
kgriffs:)20:23
*** amitgandhinz has quit IRC21:06
*** mpanetta has quit IRC21:11
*** sriram has quit IRC21:18
*** amitgandhinz has joined #openstack-zaqar21:20
*** jchai has quit IRC21:25
*** earnThis has quit IRC21:36
*** sgotliv has joined #openstack-zaqar21:42
*** alcabrera is now known as alcabrera|afk21:46
*** amitgandhinz has quit IRC22:12
*** sgotliv has quit IRC22:13
*** amitgandhinz has joined #openstack-zaqar22:33
*** amitgandhinz has quit IRC22:33
*** kgriffs is now known as kgriffs|afk22:58
*** aj9 has quit IRC23:02
*** echevemaster has joined #openstack-zaqar23:10
*** jeffrey4l has joined #openstack-zaqar23:10
*** flaper87 is now known as flaper87|afk23:25
*** exploreshaifali has quit IRC23:26
openstackgerritJeffrey Zhang proposed a change to openstack/zaqar: Fix no links property in pool list response  https://review.openstack.org/12346223:44
*** jeffrey4l_ has joined #openstack-zaqar23:44
openstackgerritA change was merged to openstack/zaqar: Fix the msg encode/decode error  https://review.openstack.org/12234023:48
*** jeffrey4l has quit IRC23:48
openstackgerritJeffrey Zhang proposed a change to openstack/zaqar: Fix no links property in flavor list response  https://review.openstack.org/12362623:59

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