*** amitgandhi has joined #openstack-marconi | 00:08 | |
*** amitgandhi has quit IRC | 00:11 | |
*** malini is now known as malini_afk | 01:23 | |
*** fifieldt has joined #openstack-marconi | 01:27 | |
openstackgerrit | Kurt Griffiths proposed a change to openstack/marconi: perf(mongodb): Combine project and queue message fields https://review.openstack.org/47259 | 02:05 |
---|---|---|
openstackgerrit | Kurt Griffiths proposed a change to openstack/marconi: fix(mongodb): Marker generation creates a bottleneck under heavy load https://review.openstack.org/47272 | 02:05 |
*** amitgandhi has joined #openstack-marconi | 02:19 | |
openstackgerrit | Kurt Griffiths proposed a change to openstack/marconi: Update oslo to latest and greatest. https://review.openstack.org/48380 | 02:20 |
openstackgerrit | A change was merged to openstack/marconi: proxy: adds oslo.cache, config support, & stevedore https://review.openstack.org/47475 | 02:25 |
openstackgerrit | A change was merged to openstack/marconi: test(proxy): fix proxy-transport tests https://review.openstack.org/47612 | 02:26 |
openstackgerrit | A change was merged to openstack/marconi: Move tests/unit/storage/base under m/tests/storage https://review.openstack.org/48057 | 02:41 |
openstackgerrit | A change was merged to openstack/marconi: Move queues' unittests under tests/unit/queues/ https://review.openstack.org/48065 | 02:42 |
*** kgriffs_afk is now known as kgriffs | 02:46 | |
*** kgriffs is now known as kgriffs_afk | 02:49 | |
*** amitgandhi has quit IRC | 03:33 | |
*** kgriffs_afk is now known as kgriffs | 03:36 | |
*** ayoung has quit IRC | 03:41 | |
*** kgriffs is now known as kgriffs_afk | 04:07 | |
*** kgriffs_afk is now known as kgriffs | 04:20 | |
*** reed has quit IRC | 04:54 | |
*** fifieldt has quit IRC | 05:21 | |
*** kgriffs is now known as kgriffs_afk | 07:04 | |
*** kgriffs_afk is now known as kgriffs | 07:34 | |
*** kgriffs is now known as kgriffs_afk | 07:43 | |
*** gordonsim has joined #openstack-marconi | 07:44 | |
*** kgriffs_afk is now known as kgriffs | 08:04 | |
*** briancline has quit IRC | 08:10 | |
*** briancline has joined #openstack-marconi | 08:17 | |
*** kgriffs is now known as kgriffs_afk | 08:17 | |
*** fifieldt has joined #openstack-marconi | 08:31 | |
*** fifieldt has quit IRC | 08:33 | |
*** yassine has joined #openstack-marconi | 08:57 | |
*** flaper87|afk is now known as flaper87 | 09:07 | |
*** kgriffs_afk is now known as kgriffs | 09:08 | |
*** kgriffs is now known as kgriffs_afk | 09:18 | |
openstackgerrit | Alejandro Cabrera proposed a change to openstack/marconi: fix: age presented as negative https://review.openstack.org/48277 | 09:19 |
openstackgerrit | A change was merged to openstack/marconi: fix: age presented as negative https://review.openstack.org/48277 | 09:40 |
*** kgriffs_afk is now known as kgriffs | 10:09 | |
*** kgriffs is now known as kgriffs_afk | 10:18 | |
*** malini_afk is now known as malini | 11:03 | |
*** kgriffs_afk is now known as kgriffs | 11:10 | |
*** kgriffs is now known as kgriffs_afk | 11:19 | |
*** tedross has joined #openstack-marconi | 11:34 | |
*** gordonsim1 has joined #openstack-marconi | 11:34 | |
*** gordonsim has quit IRC | 11:35 | |
*** acabrera has joined #openstack-marconi | 11:39 | |
acabrera | Morning! :D | 11:39 |
acabrera | brb | 11:43 |
*** acabrera has quit IRC | 11:43 | |
*** acabrera has joined #openstack-marconi | 11:44 | |
*** acabrera is now known as alcabrera | 11:47 | |
alcabrera | flaper87: hey hey! :) | 11:48 |
*** malini is now known as malini_afk | 12:02 | |
*** kgriffs_afk is now known as kgriffs | 12:10 | |
*** kgriffs is now known as kgriffs_afk | 12:19 | |
*** oz_akan_ has joined #openstack-marconi | 12:20 | |
*** ekarlso has quit IRC | 12:20 | |
*** oz_akan_ has quit IRC | 12:21 | |
*** oz_akan_ has joined #openstack-marconi | 12:21 | |
flaper87 | alcabrera: hey hey! | 12:27 |
* flaper87 just got back from lunch | 12:27 | |
flaper87 | how are you doing? | 12:27 |
alcabrera | flaper87: A little groggy, but otherwise pretty good. How about you? :) | 12:28 |
flaper87 | alcabrera: I'm doing well, preparing for the OpenStack meetup | 12:29 |
alcabrera | flaper87: which one? :o | 12:30 |
alcabrera | flaper87: oh, ohhhh - meetup. I read that as meeting! | 12:30 |
* alcabrera needs to wake up a bit | 12:31 | |
alcabrera | cool, cool | 12:31 |
flaper87 | hahahahha | 12:35 |
flaper87 | alcabrera: \_/? take some coffee | 12:35 |
* alcabrera drinks it all, with a splash of almond milk | 12:37 | |
alcabrera | flaper87: :D | 12:37 |
*** mpanetta has joined #openstack-marconi | 13:09 | |
*** kgriffs_afk is now known as kgriffs | 13:11 | |
alcabrera | mpanetta, kgriffs: o/ | 13:14 |
flaper87 | mpanetta: kgriffs \o/ | 13:14 |
mpanetta | mornin :) | 13:14 |
flaper87 | mpanetta: I raised both hands, I hope that counts! | 13:15 |
flaper87 | :D | 13:15 |
flaper87 | mpanetta: gooood morning | 13:15 |
alcabrera | :) | 13:15 |
mpanetta | How goes? | 13:16 |
mpanetta | I've been writing python curses code to help make things easier with testing, etc... | 13:17 |
flaper87 | somhow I read that as: I've been cursing Python's code to make things easier with testing | 13:17 |
flaper87 | somehow* | 13:17 |
mpanetta | haha | 13:17 |
flaper87 | I haven't had enough coffee | 13:18 |
*** cthulhup has joined #openstack-marconi | 13:20 | |
*** kgriffs is now known as kgriffs_afk | 13:20 | |
alcabrera | flaper87: \_/? | 13:21 |
flaper87 | alcabrera: hahaha, danke sir! | 13:23 |
fvollero | flaper87: +1 | 13:25 |
* flaper87 is working in a coworking office today! | 13:26 | |
* flaper87 is missing his coffee machine | 13:26 | |
fvollero | flaper87: lol :) | 13:26 |
fvollero | flaper87: you can always come in Brno if you want to stay in the office :) | 13:26 |
flaper87 | dude, I just said I'm missing my coffee and I'm like 20kms away from home. What's worng with you? | 13:27 |
flaper87 | wrong* | 13:27 |
flaper87 | :D | 13:27 |
fvollero | hahahahaha | 13:27 |
*** malini_afk is now known as malini | 13:27 | |
fvollero | flaper87: no need for 'nice' weather and sunny places ? :) | 13:27 |
*** ayoung has joined #openstack-marconi | 13:30 | |
malini | good morning!! | 13:34 |
alcabrera | malini: morning! :) | 13:35 |
flaper87 | malini: good morning! | 13:35 |
*** amitgandhi has joined #openstack-marconi | 13:40 | |
*** amitgandhi has quit IRC | 13:45 | |
*** amitgandhi has joined #openstack-marconi | 13:45 | |
*** jcru has joined #openstack-marconi | 13:46 | |
*** cthulhup has quit IRC | 13:46 | |
malini | alcabrera: Can you plz update https://wiki.openstack.org/wiki/Marconi/specs/proxy/v1#Register_a_Partition with the allowed values for hosts, weight etc. ? eg. lower, upper limits for weight etc. ? | 13:56 |
malini | I am writing tests for proxy & would like to include those | 13:57 |
alcabrera | malini: hmmm... the current catch is that no upper bounds have been established for weight yet. | 13:57 |
alcabrera | malini: the lower bound is >= 0 | 13:58 |
alcabrera | malini: but sure, I'll add some notes on this! | 13:58 |
malini | hmm..so I can send in 100000000000000000000000000000000000000000 ? | 13:58 |
alcabrera | malini: theoretically, yes. :D | 13:59 |
alcabrera | malini: though I wonder what the limits are on JSON, hmmmmm! | 13:59 |
* alcabrera tinkers | 13:59 | |
malini | I was wondering the same thing :D | 13:59 |
malini | alcabrera: will proxy requests go thru the same input validations, as the rest of marconi api ? | 14:00 |
alcabrera | malini: simplejson.dumps({'a': 2 ** 512}) => '{"a": 13407807929942597099574024998205846127479365820592393377723561443721764030073546976801874298166903427690031858186486050853753882811946569946433649006084096}' | 14:03 |
alcabrera | so... I think weight can be pretty big. :3 | 14:03 |
alcabrera | I also tried with plain 'import json' | 14:03 |
malini | that is huge :D, so my test needs to be huger(is that a word?) :D | 14:04 |
alcabrera | malini: in a sense, yes. The administrative API (/v1/partitions, /v1/catalogue) have their own validation paths. /v1/everything_else just forwards to marconi-queues. | 14:04 |
alcabrera | malini: lol - nah, it just needs to have a test to make sure a HTTP 400 is returned for weight <= 0. | 14:05 |
malini | I have tht one already | 14:05 |
alcabrera | malini: cool | 14:05 |
alcabrera | malini: weight up to 2**64 is big enough, IMO | 14:05 |
alcabrera | (though if someone had that many partitions, I'd ask them to implement a smarter proxy) | 14:06 |
malini | :D | 14:08 |
*** kgriffs_afk is now known as kgriffs | 14:11 | |
*** kgriffs is now known as kgriffs_afk | 14:21 | |
flaper87 | alcabrera: https://review.openstack.org/#/c/48223/ :) | 14:29 |
flaper87 | kgriffs_afk: ^ | 14:29 |
*** kgriffs_afk is now known as kgriffs | 14:29 | |
openstackgerrit | Flavio Percoco proposed a change to openstack/python-marconiclient: Use latest PBR https://review.openstack.org/48459 | 14:31 |
flaper87 | kgriffs: alcabrera could you please sanity check this review? https://review.openstack.org/#/c/48459/ | 14:31 |
flaper87 | client's setup is broken :( | 14:32 |
alcabrera | flaper87: on it. :) | 14:33 |
openstackgerrit | Kurt Griffiths proposed a change to openstack/marconi: perf(mongodb): Combine project and queue message fields https://review.openstack.org/47259 | 14:33 |
openstackgerrit | Kurt Griffiths proposed a change to openstack/marconi: fix(mongodb): Marker generation creates a bottleneck under heavy load https://review.openstack.org/47272 | 14:33 |
flaper87 | alcabrera: thanks, sorry for pushing :( | 14:34 |
alcabrera | flaper87: no worries. :D | 14:35 |
alcabrera | flaper87: reviewed - -1 | 14:35 |
alcabrera | what's with the setup.cfg changes? It seems unrelated. :x | 14:35 |
flaper87 | alcabrera: ah damn it, indeed they are unrelated | 14:35 |
flaper87 | fuck | 14:35 |
flaper87 | let me fix that | 14:35 |
flaper87 | I used those lines to test the setup thing | 14:36 |
alcabrera | flaper87: woot - code review + 1 | 14:37 |
alcabrera | flaper87: marconi-gc looked awfully suspicious in the client. ;) | 14:37 |
flaper87 | ahahahhahahaha | 14:37 |
openstackgerrit | Flavio Percoco proposed a change to openstack/python-marconiclient: Use latest PBR https://review.openstack.org/48459 | 14:37 |
flaper87 | indeed | 14:37 |
flaper87 | ooooooooook, there you go | 14:38 |
kgriffs | mpanetta: can you see flavio's comment here: https://review.openstack.org/#/c/47459/1/marconi/version.py | 14:40 |
alcabrera | flaper87: +2 | 14:40 |
kgriffs | flaper87: good suggestion; I'm not sure how I missed that. :p | 14:40 |
flaper87 | alcabrera: thank you | 14:40 |
flaper87 | kgriffs: :D | 14:40 |
alcabrera | kgriffs, flaper87: Jenkins likes the marker patch - are we ready to approve that ball of radness? :D | 14:42 |
flaper87 | YES WE ARE! | 14:42 |
flaper87 | done | 14:43 |
kgriffs | w000t | 14:43 |
flaper87 | kgriffs: great work there, +1000000 | 14:43 |
alcabrera | awesome | 14:43 |
kgriffs | I'll be back in a few minutes - going to head into the office where I have 3 large boxes of pop-tarts to celebrate with | 14:44 |
kgriffs | :D | 14:44 |
alcabrera | kgriffs: yeeeeeeeeeesssssss | 14:44 |
* alcabrera wants some of those poptarts | 14:44 | |
openstackgerrit | Flavio Percoco proposed a change to openstack/python-marconiclient: Add a base transport class https://review.openstack.org/48287 | 14:45 |
openstackgerrit | Flavio Percoco proposed a change to openstack/python-marconiclient: Restructure client code https://review.openstack.org/48223 | 14:45 |
openstackgerrit | A change was merged to openstack/marconi: fix(mongodb): Marker generation creates a bottleneck under heavy load https://review.openstack.org/47272 | 14:45 |
openstackgerrit | A change was merged to openstack/marconi: perf(mongodb): Combine project and queue message fields https://review.openstack.org/47259 | 14:45 |
flaper87 | w0000t | 14:45 |
* kgriffs cheers | 14:45 | |
alcabrera | hurray for simpler drivers | 14:46 |
alcabrera | future storage drivers are celebrating this moment | 14:47 |
openstackgerrit | A change was merged to openstack/python-marconiclient: Use latest PBR https://review.openstack.org/48459 | 14:47 |
alcabrera | ^^ and let us not forget the small victories | 14:47 |
openstackgerrit | Kurt Griffiths proposed a change to openstack/marconi: Update oslo to latest and greatest https://review.openstack.org/48380 | 14:47 |
kgriffs | oz_akan_: see flaper87's comment here - https://review.openstack.org/#/c/47459/1/marconi/version.py | 14:48 |
kgriffs | will that work for you? if so I will abandon the patch | 14:48 |
oz_akan_ | kgriffs: hi, let me see | 14:49 |
kgriffs | kk | 14:49 |
oz_akan_ | as long as we have the commit information in version, that is perfect | 14:50 |
kgriffs | ok | 14:51 |
oz_akan_ | I am not sure if we really need 2013.2 section, I'd rather not have it, but would hurt to have it | 14:51 |
oz_akan_ | "would not hurt" | 14:51 |
kgriffs | i suppose I could strip it for you. iirc when we tag a release it won't have any commit information, btw. | 14:51 |
flaper87 | kgriffs: correct, releases' tag don't have that info | 14:52 |
oz_akan_ | but a release is a specific commit, right? | 14:52 |
flaper87 | just 201X.Y | 14:52 |
flaper87 | oz_akan_: OS releases are branches | 14:53 |
* kgriffs wonders what will happen in 7 years | 14:53 | |
flaper87 | stable/grizzly etc | 14:53 |
flaper87 | then there are tags for stable releases | 14:53 |
flaper87 | 201X.Y | 14:53 |
oz_akan_ | "when we tag a release" we will tag a specific commit and then after each commit we woull see commit number in __version__, would we? | 14:54 |
oz_akan_ | flaper87: ^^ | 14:55 |
kgriffs | I'm not sure that __version__ shows that | 14:55 |
flaper87 | that is true if we're running Marconi from a git repo | 14:55 |
kgriffs | marconi.version.version_info for sure | 14:55 |
flaper87 | kgriffs: https://github.com/openstack/marconi/blob/master/marconi/__init__.py#L30 | 14:56 |
flaper87 | it does | 14:56 |
flaper87 | mmh, well, it uses version_string | 14:56 |
oz_akan_ | ok | 14:56 |
oz_akan_ | and a marconi installed via pip install, would have tag? | 14:57 |
flaper87 | yeah, well, it'll have whatever we specify in the version field in setup.cfg | 14:57 |
kgriffs | oz_akan_: can you try out "if teh_hash in marconi.version.version_info.release_string()" | 14:59 |
kgriffs | if that works for you, I guess I can add a little helper method that does it or something if you want | 14:59 |
kgriffs | ok, pop-tarts are calling my name. be back in a few. | 14:59 |
oz_akan_ | kgriffs: let me try | 14:59 |
*** kgriffs is now known as kgriffs_afk | 15:00 | |
*** cthulhup has joined #openstack-marconi | 15:00 | |
*** tedross has quit IRC | 15:02 | |
oz_akan_ | commit 71c0a7b674509cfb0e2c90cb986c496b48f16c14 | 15:07 |
oz_akan_ | 2013.2.a384.g71c0a7b | 15:07 |
oz_akan_ | after 2013.2.a384.g it matches | 15:07 |
oz_akan_ | kgriffs_afk: flaper87 ^^ | 15:07 |
alcabrera | oz_akan_: I wonder what the 'a384.g' part means? | 15:09 |
oz_akan_ | i don't yet yet | 15:09 |
oz_akan_ | know yet | 15:09 |
flaper87 | oz_akan_: alcabrera the a\d+ part is the number of commits since the most recent tag | 15:11 |
flaper87 | the g.* part is the commit sha | 15:11 |
flaper87 | oz_akan_: how are you getting the commit sha? | 15:12 |
oz_akan_ | alcabrera: now I know | 15:12 |
flaper87 | try using: git describe --always | 15:12 |
flaper87 | that should give you the commit sha used by pbr | 15:12 |
oz_akan_ | flaper87: I did git log | 15:12 |
alcabrera | flaper87: thanks for the info. :) | 15:13 |
flaper87 | oz_akan_: git log --abbrev-commit --pretty=oneline | 15:13 |
oz_akan_ | flaper87: tks | 15:13 |
flaper87 | oz_akan_: np :) | 15:13 |
flaper87 | alcabrera: np :) | 15:13 |
flaper87 | https://twitter.com/flaper87/status/383248381465739265 | 15:15 |
alcabrera | flaper87: sweet! You can already create queues? :) | 15:17 |
flaper87 | erm, nope :( but I'm not far from there | 15:17 |
alcabrera | flaper87: awesome. getting close! | 15:19 |
alcabrera | flaper87: I'll have to port my message controller at some point to use your upcoming request/response classes | 15:19 |
*** tedross has joined #openstack-marconi | 15:19 | |
flaper87 | alcabrera: yeaaah, I'm working on the queue now, as soon as it's ready, you can port yours | 15:20 |
alcabrera | flaper87: thanks for your work on this. I'm really looking forward to putting the client to use. :D | 15:21 |
*** whenry has joined #openstack-marconi | 15:21 | |
*** kgriffs_afk is now known as kgriffs | 15:24 | |
fvollero | oz_akan_: add this alias in yout gitconfig: lc= rev-list -1 HEAD | 15:32 |
oz_akan_ | what does it do? | 15:32 |
oz_akan_ | shortcut? | 15:32 |
fvollero | oz_akan_: give you the last commit (HEAD) SHA | 15:33 |
flaper87 | rev-list --abbrev-commit -1 HEAD <- short commit | 15:33 |
fvollero | flaper87: yep, that's the other one | 15:33 |
*** whenry has quit IRC | 15:34 | |
flaper87 | zyuan: ping | 15:40 |
fvollero | Your opinion on the error we should return in case of empty project id? I am suggesting 400 Bad Request since the Header is missing from the Client side (Request) | 15:43 |
fvollero | s/error/HTTP error/ | 15:43 |
* kgriffs is eating a blueberry pop-tart | 15:43 | |
* kgriffs is happy | 15:43 | |
flaper87 | kgriffs: keep saying that and I'll take those +2s back! | 15:43 |
flaper87 | >.> | 15:43 |
flaper87 | :D | 15:44 |
alcabrera | flaper87: zyuan us out for the rest of the week. | 15:44 |
alcabrera | *is | 15:44 |
flaper87 | malini: had chocolate cake yday, you're having pop-tarts | 15:44 |
* alcabrera is eating a chocolate fudge poptart | 15:44 | |
flaper87 | mmh, not fair, nooooot fair | 15:44 |
flaper87 | you know what? I'm going for a gelato, I'll then have a coffee | 15:45 |
malini | flaper87: you shud come join us in atl | 15:45 |
malini | no..maybe we shud come join you there <:o) | 15:45 |
flaper87 | malini: would love to, Marconi hackton | 15:45 |
flaper87 | well, how to put this. It's cheaper to pay 1 ticket thant 6 | 15:46 |
flaper87 | ^^ | 15:46 |
flaper87 | fvollero: 400 sounds right to me | 15:46 |
flaper87 | alcabrera: gtk, I just wanted to ask him to abandone openstack/requirement reviews | 15:46 |
fvollero | flaper87: I just need to test it, but seems that get_header have a parameter required if is in True we may have our ass covered | 15:46 |
* fvollero is eating a cocosette | 15:47 | |
* alcabrera looks up cocosette | 15:49 | |
alcabrera | Oooohh, do they *do* have coconut in them... :) | 15:49 |
fvollero | :) | 15:49 |
alcabrera | fvollero: nice treat! | 15:50 |
fvollero | alcabrera: :) You know, i love to drive flaper87 crazy :) | 15:50 |
flaper87 | fvollero: and I love hating you every day more | 15:51 |
fvollero | flaper87: <3 | 15:51 |
alcabrera | lol | 15:51 |
flaper87 | it feels so good, you know. that heat and serial killer feeling warming up | 15:51 |
flaper87 | :D | 15:51 |
fvollero | hahahahahah | 15:51 |
flaper87 | alcabrera: those are from Venezuela where I'm from and they are DELICIOUUUUSSSSSSS | 15:52 |
*** vkmc has joined #openstack-marconi | 15:52 | |
fvollero | ^_^ | 15:52 |
flaper87 | I used to have like dozens and dozens of those per day | 15:52 |
flaper87 | :D | 15:52 |
fvollero | flaper87: :) | 15:52 |
alcabrera | flaper87, fvollero: maaaan, I'd love to get some. I might be able to around here in the local international markets | 15:52 |
fvollero | alcabrera: depend on where you're based... | 15:53 |
fvollero | alcabrera: I guess it's tricky to get those | 15:53 |
flaper87 | alcabrera: I bet you can find them. | 15:53 |
alcabrera | flaper87: speaking of requirements - https://review.openstack.org/#/c/48339/ (:P) | 15:53 |
alcabrera | fvollero: If all else fails - http://www.amazon.com/Nestle-Cocosette-Galleta-Rellena-grs-each/dp/B005EZVLCC | 15:53 |
fvollero | alcabrera: hahahaha :) | 15:54 |
* fvollero think to start an exchanging market between Venezuela and Europe, to make people from Venezuela happy | 15:54 | |
flaper87 | WTF? Amazon sells them? | 15:55 |
flaper87 | amazon.it doesn't | 15:55 |
flaper87 | somehow, that doesn't surprises me much | 15:56 |
fvollero | of course. | 15:56 |
flaper87 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanyway, at least I already know who to threat when I need some | 15:56 |
alcabrera | lol | 15:57 |
fvollero | rofl | 15:57 |
fvollero | ok, that's weird... I set up the requirement for the 'X-PROJECT-ID' and send it but i still get 400 | 15:58 |
flaper87 | fvollero: git diff ? | 15:59 |
fvollero | flaper87: i'm thinking that I can't rely on get_header function for some reason that i'm still investigating | 16:01 |
flaper87 | fvollero: hey, watch it, Marconi's code is 200% reliable | 16:02 |
* flaper87 runs away | 16:02 | |
* flaper87 closes all bugs | 16:02 | |
fvollero | flaper87: -.- | 16:02 |
* flaper87 destroys lp history | 16:02 | |
fvollero | flaper87: i'm talking about falcon :P | 16:02 |
flaper87 | fvollero: ah ok ok!! | 16:02 |
* flaper87 STFU | 16:02 | |
malini | fvollero: maybe you dont have the Accept header ? | 16:03 |
fvollero | malini: I have it | 16:03 |
malini | there goes my theory :( | 16:03 |
flaper87 | lol | 16:03 |
alcabrera | fvollero: which endpoint? | 16:03 |
flaper87 | fvollero: git diff | 16:03 |
fvollero | flaper87: damme n'attimo | 16:04 |
fvollero | alcabrera: /v1 | 16:04 |
* flaper87 STFU, for real! | 16:04 | |
flaper87 | fvollero: git diff ? | 16:04 |
* flaper87 hides | 16:04 | |
fvollero | flaper87: http://fpaste.org/42457/38021148/ | 16:04 |
fvollero | alcabrera: ^^\ | 16:04 |
alcabrera | interesting, hmmm | 16:04 |
flaper87 | fvollero: mmh, it shouldn't be always required | 16:05 |
flaper87 | what we need to check is that it's not an empty string | 16:05 |
flaper87 | you know, people sending the header but empty | 16:05 |
fvollero | flaper87: oh, gotcha, but this cover also this case | 16:05 |
fvollero | flaper87: or at least is what the falcon doc say | 16:06 |
kgriffs | oz_akan_: your script that verifies the commit hash - it will break when we have a release with not hash on the end, nicht? | 16:06 |
fvollero | flaper87: http://pydoc.net/Python/falcon/0.0.2-dev/falcon.request/ | 16:06 |
flaper87 | mmh, dunno falcon that well, but I read that as "it should always be present" | 16:06 |
alcabrera | fvollero: weird - that same curl command works for me. Seems like that required=True might be doing something weird. >.> | 16:07 |
fvollero | alcabrera: exactly, for that, i said before "I can't rely on get_header" :) | 16:07 |
* alcabrera notices that every community has their own pastebin: lpaste (haskell), paste.openstack, now fpaste (fedora) | 16:07 | |
fvollero | alcabrera: yep :) what a cool idea right? | 16:08 |
kgriffs | d00d, is that really from version 0.0.2? | 16:08 |
flaper87 | no paste, no community | 16:08 |
flaper87 | fvollero: btw, kgriffs is falcon dad! | 16:08 |
fvollero | alcabrera: but, in fedora you can put in pipe the command of fpaste and you've a new fpaste :) | 16:08 |
kgriffs | falcon is on 0.1.7 | 16:08 |
*** tedross has quit IRC | 16:08 | |
fvollero | flaper87: Great! | 16:08 |
fvollero | kgriffs: you can explain me why does not work required=True ? :D | 16:08 |
* kgriffs looking | 16:10 | |
malini | alcabrera: are you planning to retain host in this response https://wiki.openstack.org/wiki/Marconi/specs/proxy/v1#Read_a_Catalogue_Entry ? | 16:12 |
malini | imo, we don't need that | 16:12 |
alcabrera | malini: It's only temporary, until I fix this bug: https://bugs.launchpad.net/marconi/+bug/1230392 | 16:14 |
alcabrera | malini: It's a sign of proxy technical debt. D: | 16:15 |
malini | alcabrera: :D thanks! | 16:15 |
alcabrera | malini: np. :) | 16:15 |
* alcabrera that moment when you accidentally type tox *-r* twice after adding a dependency | 16:16 | |
alcabrera | recreating the world - hold plz | 16:16 |
*** flaper87 is now known as flaper87|afk | 16:16 | |
kgriffs | fvollero: typo in the curl command is causing the header not to be sent | 16:17 |
kgriffs | Replace | 16:17 |
fvollero | kgriffs: /me facepalm | 16:17 |
kgriffs | "=" | 16:17 |
kgriffs | with ": " | 16:17 |
kgriffs | :D | 16:17 |
fvollero | kgriffs: \o/ \o/ | 16:18 |
kgriffs | flaper87: I'm considering just using _get_Version_from_git after all so the hash will always be there | 16:20 |
kgriffs | and renaming "commit" to "commit_hash" | 16:20 |
kgriffs | fvollero: LOL | 16:20 |
fvollero | fellas, a quick question, i think it worth to add a test for the project_id empty or not, but where i should put it ? :) | 16:24 |
fvollero | mostly because base.py have 'if project_id is not None' | 16:25 |
*** yassine has quit IRC | 16:25 | |
malini | fvollero: functional test..we have one for missing headers | 16:25 |
fvollero | malini: Yahoooo! :D | 16:25 |
malini | fvollero: or I might have removed :-# | 16:26 |
*** tedross has joined #openstack-marconi | 16:26 | |
* fvollero cry | 16:26 | |
malini | fvollero: we have some header related tests here https://github.com/openstack/marconi/blob/master/tests/functional/wsgi/v1/test_queues.py#L32 | 16:26 |
malini | can you add the missing header 'X-Project-Id' here, plz? | 16:27 |
fvollero | malini: i'm looking at it :) | 16:27 |
fvollero | malini: sure thing :) i'll add at the bottom | 16:27 |
malini | thank you fvollero | 16:27 |
fvollero | malini: my pleasure | 16:28 |
openstackgerrit | Kurt Griffiths proposed a change to openstack/marconi: chore: Expose commit hash in version module https://review.openstack.org/47459 | 16:30 |
alcabrera | fvollero: have you considered using httpie (https://github.com/jkbr/httpie) for tinkering with marconi? (instead of curl) | 16:30 |
alcabrera | I find it's syntax much friendlier for passing anything/everything | 16:30 |
alcabrera | *its | 16:30 |
fvollero | alcabrera: not yet :) i'm coming from ruby and sysadmin role, so curl was the default :) | 16:30 |
alcabrera | fvollero: fair enough. :) | 16:34 |
alcabrera | fvollero: I'm happy to make your marconi experience more awesome, so I'll suggest things periodically as they come to mind. :D | 16:35 |
malini | alcabrera: tht sounds like a cruise ship captain :D | 16:35 |
malini | alcabrera: I have another proxy qn for you.. | 16:36 |
alcabrera | malini: shoot | 16:36 |
malini | https://wiki.openstack.org/wiki/Marconi/specs/proxy/v1#Listing_the_Catalogue I am thinking this one really needs pagination. | 16:36 |
malini | since it can go pretty looong with lots of queues | 16:36 |
fvollero | malini: alcabrera : i guess the fact that I changed the project-id it generate test faults :) | 16:36 |
fvollero | alcabrera: Sounds great! | 16:36 |
openstackgerrit | Alejandro Cabrera proposed a change to openstack/marconi: proxy: mirror structure of marconi queues + bootstrap https://review.openstack.org/47642 | 16:38 |
alcabrera | rebasing time~ | 16:38 |
* alcabrera goes about fixing merge conflicts | 16:39 | |
malini | alcabrera: are you planning to add pagination soon? | 16:39 |
alcabrera | malini: no - it's low-priority (esp. for the admin API) | 16:41 |
alcabrera | malini: very soon, a patchset splitting the proxy into admin/public API will be available | 16:42 |
malini | alcabrera:that means, the list will always return a partial list of queues | 16:43 |
alcabrera | malini: after that, the priorities are: 1) host/weight resources for updating partitions, 2) concurrent requests + merge implementation for LIST queues from proxy, 3) improve proxy unit test suite | 16:43 |
alcabrera | with 2) it handles pagination for the forwarded requests (/v1/queues) but not for admin API requests (/v1/partitions, /v1/catalogue) | 16:44 |
malini | ok | 16:44 |
alcabrera | as it stands, the proxy should be returning ALL the queues for a given project when LIST queues is issued. | 16:44 |
alcabrera | rather than just a few. :x | 16:45 |
alcabrera | hahaha | 16:45 |
openstackgerrit | Alejandro Cabrera proposed a change to openstack/marconi: feat: separate config for queues and proxy https://review.openstack.org/48333 | 16:48 |
alcabrera | rebasing continues - one more patch! | 16:48 |
malini | alcabrera: hmmm… I am not sure if it'll really return all the queues..Tht JSON could grow really huge | 16:50 |
* fvollero blow the test suite! | 16:50 | |
*** fvollero is now known as fvollero|gone | 16:51 | |
*** reed has joined #openstack-marconi | 16:51 | |
alcabrera | malini: that's true. If there are too many queues... | 16:52 |
alcabrera | I'm happy to have 2) near the top of my priority list, then! | 16:53 |
malini | alcabrera: anyways, I'll make that part of my tests..if it blows up too soon, then we can move it up in priority | 16:53 |
alcabrera | +1 malini | 16:54 |
*** reed has quit IRC | 17:02 | |
openstackgerrit | Alejandro Cabrera proposed a change to openstack/marconi: proxy: mirror structure of marconi queues + bootstrap https://review.openstack.org/47642 | 17:02 |
openstackgerrit | Alejandro Cabrera proposed a change to openstack/marconi: feat: separate config for queues and proxy https://review.openstack.org/48333 | 17:03 |
openstackgerrit | Alejandro Cabrera proposed a change to openstack/marconi: feat: split proxy API into admin and public apps https://review.openstack.org/48495 | 17:07 |
alcabrera | wooooot | 17:07 |
* alcabrera completed the rebasing | 17:08 | |
*** reed has joined #openstack-marconi | 17:08 | |
*** cthulhup has quit IRC | 17:27 | |
*** kgriffs is now known as kgriffs_afk | 17:48 | |
*** kgriffs_afk is now known as kgriffs | 17:49 | |
openstackgerrit | Kurt Griffiths proposed a change to openstack/marconi: chore: Expose commit hash in version module https://review.openstack.org/47459 | 18:06 |
*** jcru has quit IRC | 18:07 | |
*** jcru has joined #openstack-marconi | 18:13 | |
*** jcru has quit IRC | 18:14 | |
*** jcru has joined #openstack-marconi | 18:14 | |
openstackgerrit | Alejandro Cabrera proposed a change to openstack/marconi: proxy: mirror structure of marconi queues + bootstrap https://review.openstack.org/47642 | 18:18 |
*** reed_ has joined #openstack-marconi | 18:33 | |
*** reed_ has quit IRC | 18:33 | |
*** reed has quit IRC | 18:34 | |
*** reed has joined #openstack-marconi | 18:36 | |
openstackgerrit | Alejandro Cabrera proposed a change to openstack/marconi: feat: separate config for queues and proxy https://review.openstack.org/48333 | 18:39 |
openstackgerrit | Alejandro Cabrera proposed a change to openstack/marconi: feat: split proxy API into admin and public apps https://review.openstack.org/48495 | 18:56 |
alcabrera | kgriffs, malini, oz_akan_: The fixes are in! ^^ (#48495 above) | 18:56 |
alcabrera | Jenkins will soon sing his song. | 18:56 |
kgriffs | excellent | 18:56 |
malini | thanks alcabrera!! | 18:57 |
*** jcru has quit IRC | 19:03 | |
malini | alcabrera: httpretty is cool! | 19:13 |
*** gordonsim1 has quit IRC | 19:31 | |
*** ayoung has quit IRC | 19:43 | |
alcabrera | malini: httpretty is awwweeesome. :D | 20:04 |
*** malini is now known as malini_afk | 20:04 | |
alcabrera | malini: makes it easy to *actually* write unit tests. | 20:04 |
*** ekarlso has joined #openstack-marconi | 20:13 | |
openstackgerrit | Alejandro Cabrera proposed a change to openstack/marconi: feat: split proxy API into admin and public apps https://review.openstack.org/48495 | 20:16 |
*** jcru has joined #openstack-marconi | 20:24 | |
*** ayoung has joined #openstack-marconi | 20:31 | |
*** alcabrera has quit IRC | 20:53 | |
*** kgriffs is now known as kgriffs_afk | 21:03 | |
*** kgriffs_afk is now known as kgriffs | 21:04 | |
*** reed_ has joined #openstack-marconi | 21:06 | |
*** kgriffs is now known as kgriffs_afk | 21:06 | |
*** reed has quit IRC | 21:07 | |
openstackgerrit | Alejandro Cabrera proposed a change to openstack/marconi: proxy: mirror structure of marconi queues + bootstrap https://review.openstack.org/47642 | 21:14 |
openstackgerrit | Alejandro Cabrera proposed a change to openstack/marconi: feat: separate config for queues and proxy https://review.openstack.org/48333 | 21:16 |
*** kgriffs_afk is now known as kgriffs | 21:17 | |
*** tedross has quit IRC | 21:43 | |
*** jcru has quit IRC | 21:51 | |
*** whenry has joined #openstack-marconi | 22:01 | |
*** jdprax has joined #openstack-marconi | 22:05 | |
*** oz_akan_ has quit IRC | 22:05 | |
*** oz_akan_ has joined #openstack-marconi | 22:06 | |
*** whenry has quit IRC | 22:06 | |
*** oz_akan_ has quit IRC | 22:10 | |
*** mpanetta has quit IRC | 22:11 | |
*** amitgandhi has quit IRC | 22:19 | |
*** whenry has joined #openstack-marconi | 22:24 | |
*** whenry has quit IRC | 22:55 | |
openstackgerrit | Francesco Vollero proposed a change to openstack/marconi: WSGI: added the control for non empty X-PROJECT-ID https://review.openstack.org/48537 | 22:57 |
openstackgerrit | Francesco Vollero proposed a change to openstack/marconi: WSGI: added the control for non empty X-PROJECT-ID https://review.openstack.org/48537 | 23:00 |
*** oz_akan_ has joined #openstack-marconi | 23:16 | |
*** oz_akan_ has quit IRC | 23:21 | |
*** fifieldt has joined #openstack-marconi | 23:31 | |
*** jdprax has quit IRC | 23:41 | |
*** jdprax has joined #openstack-marconi | 23:41 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!