*** john3213 has joined #openstack-marconi | 00:32 | |
*** john3213 has left #openstack-marconi | 00:37 | |
*** rossk has joined #openstack-marconi | 01:23 | |
*** nosnos has joined #openstack-marconi | 01:39 | |
*** rossk has quit IRC | 01:39 | |
*** rossk has joined #openstack-marconi | 01:40 | |
*** rossk has quit IRC | 01:44 | |
*** cpallares has joined #openstack-marconi | 02:32 | |
*** vkmc has quit IRC | 02:34 | |
*** cpallares has quit IRC | 02:45 | |
*** cpallares has joined #openstack-marconi | 02:53 | |
*** nosnos has quit IRC | 03:33 | |
*** cpallares has quit IRC | 03:57 | |
*** nosnos has joined #openstack-marconi | 04:05 | |
*** haomaiwa_ has joined #openstack-marconi | 04:26 | |
*** rossk has joined #openstack-marconi | 05:25 | |
*** haomaiwa_ has quit IRC | 06:31 | |
*** jamie_h has joined #openstack-marconi | 06:39 | |
*** rossk has quit IRC | 06:43 | |
*** jamie_h has quit IRC | 06:43 | |
*** rossk has joined #openstack-marconi | 06:44 | |
*** rossk has quit IRC | 06:48 | |
*** AAzza has joined #openstack-marconi | 06:56 | |
*** haomaiwang has joined #openstack-marconi | 07:44 | |
*** haomaiwang has quit IRC | 07:51 | |
*** haomaiwa_ has joined #openstack-marconi | 07:56 | |
*** AAzza has quit IRC | 08:24 | |
*** ykaplan has joined #openstack-marconi | 09:50 | |
*** ykaplan has quit IRC | 10:10 | |
*** mwagner_ has joined #openstack-marconi | 10:13 | |
*** AAzza has joined #openstack-marconi | 11:10 | |
*** jamie_h has joined #openstack-marconi | 11:53 | |
*** jchai has joined #openstack-marconi | 12:57 | |
*** rossk has joined #openstack-marconi | 13:01 | |
*** jamie_h has quit IRC | 13:15 | |
*** abettadapur has joined #openstack-marconi | 13:18 | |
*** rossk has quit IRC | 13:22 | |
*** rossk has joined #openstack-marconi | 13:23 | |
*** rossk has quit IRC | 13:27 | |
*** sriram has joined #openstack-marconi | 13:41 | |
*** sriram has quit IRC | 13:45 | |
*** notmyname has quit IRC | 13:45 | |
*** sriram has joined #openstack-marconi | 13:46 | |
*** notmyname has joined #openstack-marconi | 13:46 | |
*** rossk has joined #openstack-marconi | 13:56 | |
*** nosnos has quit IRC | 14:01 | |
*** sriram has quit IRC | 14:17 | |
*** malini_afk is now known as malini | 14:22 | |
*** malini is now known as malini_afk | 14:30 | |
*** sriram has joined #openstack-marconi | 14:35 | |
*** sriram1 has joined #openstack-marconi | 14:38 | |
*** sriram has quit IRC | 14:40 | |
*** malini_afk is now known as malini | 14:43 | |
*** sriram1 has quit IRC | 14:51 | |
*** kgriffs|afk is now known as kgriffs | 14:56 | |
*** haomaiwa_ has quit IRC | 14:58 | |
*** haomaiwang has joined #openstack-marconi | 14:59 | |
*** alcabrera|afk is now known as alcabrera | 14:59 | |
alcabrera | good morning. :) | 15:00 |
---|---|---|
AAzza | alcabrera: hey,hey) | 15:03 |
AAzza | alcabrera: I was thinking there will be silence forever | 15:04 |
alcabrera | hehehe | 15:04 |
alcabrera | AAzza: too much OpenStack Summit. It makes this place so quiet! | 15:04 |
alcabrera | It's still going on today, but I had my fill. | 15:04 |
alcabrera | I live about an hour away from the summit. | 15:05 |
*** haomaiwang has quit IRC | 15:06 | |
AAzza | alcabrera: by the way, you are the probably the person I need) I'm just figuring out what to do with my Python3 support. The next monday is official start of the intership, you know) | 15:08 |
alcabrera | AAzza: I am that person! | 15:10 |
AAzza | alcabrera: so as far as i can see, only python-memcached is the problem in the dependencies | 15:10 |
alcabrera | yup. I started working on that problem a little bit ago. The latest on that is... | 15:11 |
AAzza | alcabrera: yeah, i saw on gitubh issue | 15:11 |
alcabrera | AAzza: https://github.com/linsomniac/python-memcached/pull/26 | 15:11 |
alcabrera | ah, yes | 15:11 |
alcabrera | actually - it's prettty ironic | 15:12 |
alcabrera | but at the moment, marconi doesn't even use python-memcached | 15:12 |
alcabrera | we did when we were using oslo.cache:memcache | 15:12 |
alcabrera | but that's kind of on hold while flaper87|afk finds time to resurrect that patch | 15:13 |
alcabrera | so one solution for python-memcached as a blocker is to just remove it as a dependency | 15:13 |
alcabrera | and see what other python 3 problems crop up | 15:13 |
alcabrera | via 'tox -e py33' | 15:13 |
alcabrera | what do you think, AAzza? | 15:13 |
AAzza | alcabrera: oh... it is way i could find where it is used :-D | 15:14 |
AAzza | alcabrera: yeah, i removed it and now have plenty of work) | 15:14 |
AAzza | alcabrera: but other think that what bothers me | 15:14 |
alcabrera | I just run 'grin memcache' from the top of marconi -- (pip install grin) | 15:15 |
* alcabrera drinks coffee while watching 'tox -e py33' running | 15:16 | |
alcabrera | I wonder if 'tox -e py34' would surface different problems... hmm... | 15:17 |
AAzza | alcabrera: it is actually running? because it was silence for me? | 15:17 |
alcabrera | py33 create: /home/alejandro/development/marconi/.tox/py33 | 15:17 |
alcabrera | and then - | 15:17 |
alcabrera | py33 installdeps: -r/home/alejandro/development/marconi/requirements.txt, | 15:18 |
alcabrera | .. | 15:18 |
alcabrera | for me | 15:18 |
AAzza | yeap) | 15:18 |
alcabrera | now I'm waiting for all the reqs to finish installing. This is gonna take a bit. | 15:18 |
AAzza | and then i was not so patiant to wait probably) | 15:18 |
alcabrera | wee, this does take long. | 15:20 |
alcabrera | It reminds me of the says I used to program in c++ -- compiling for nearly half an hour, at times. >.> | 15:20 |
* alcabrera hasn't tox'd on marconi in over a month | 15:20 | |
AAzza | alcabrera: yeah, it is takes longer then usual) | 15:22 |
alcabrera | AAzza: I interrupted mine. It seemed like it was taking waaaayyy too long. I'm trying py27 to see if that's any different | 15:23 |
AAzza | alcabrera: i think i saw somewhere, that tox has some problems with python3 | 15:26 |
alcabrera | AAzza: I've giving 'tox -e py33' a try with falcon, a much smaller project | 15:27 |
*** jay-atl has joined #openstack-marconi | 15:28 | |
alcabrera | okay, that succeeded in about 2m | 15:28 |
alcabrera | AAzza: tox -e py27 also succeeded for marconi. It took quite awhile | 15:29 |
alcabrera | I'm giving tox -e py33 another try | 15:29 |
AAzza | alcabrera: by the way, marconi-server is not startable for now) some logging configs fails, so i have smth to start with) but better to have ways of testing the whole thing, just to see the progress. | 15:33 |
alcabrera | AAzza: marconi-server on py3? | 15:34 |
AAzza | alcabrera: yeap, due to some changes in behaviour of logging.getLevelName, easy to fix) | 15:34 |
alcabrera | ah, thanks! | 15:35 |
alcabrera | seems like we're starting the py3 effort even before opw kicks off properly. :P | 15:35 |
AAzza | alcabrera: ohh) i could submit the patch on Monday, to begin the opw properly) but why to wait?) | 15:38 |
alcabrera | haha | 15:38 |
alcabrera | yes | 15:38 |
alcabrera | feel free to submit the patch today, AAzza. :) | 15:38 |
AAzza | and by the way. I have other question unrelated to the py3k | 15:39 |
alcabrera | sure thing | 15:40 |
alcabrera | I'll try to answer those, too | 15:40 |
AAzza | i asked flaper87 but then was out without inet for several days) why when we claim messages, the messages's body returned in the response, returned as string, not as json object. | 15:41 |
alcabrera | hmmm | 15:42 |
AAzza | in the wiki not so obvious from wiki (it is actually object there), but i tested it by hand | 15:42 |
AAzza | and it is encoded as string | 15:42 |
alcabrera | the body should be returned as json, that's strange... | 15:42 |
alcabrera | unless | 15:43 |
alcabrera | the body itself was initially given as a string | 15:43 |
alcabrera | yay, 'tox -e py33' finally finished | 15:44 |
alcabrera | real 13m3.146s | 15:44 |
alcabrera | FAILED (id=157, failures=304 (+304), skips=289) | 15:44 |
AAzza | hey-hey!) | 15:44 |
AAzza | it is good) if it was not failed, not work for me then) | 15:45 |
alcabrera | haha | 15:45 |
alcabrera | so true. :D | 15:45 |
alcabrera | though | 15:45 |
alcabrera | I'm sure I could find my python3 conversions in neighboring openstack projects. ;P | 15:46 |
alcabrera | *my -> more | 15:46 |
AAzza | https://github.com/openstack/marconi/blob/master/marconi/queues/transport/wsgi/v1_1/claims.py#L90 | 15:46 |
AAzza | am i missing smth? isn't it convert it to string? | 15:47 |
AAzza | oh, wrong line number | 15:48 |
alcabrera | AAzza: it's not. utils.to_json -> json object -- https://github.com/openstack/marconi/blob/master/marconi/queues/transport/utils.py#L51 | 15:48 |
AAzza | hmmm..... hmm..., what is the best way to test it? just to be sure?. because to_json, will return string with json object repr., and not sure if will uncompressed to object in repsonse | 15:50 |
AAzza | paranoid mode turned on) | 15:50 |
alcabrera | AAzza: hmmm -- I would also test it manually, e.g., 1) post a message, 2) retrieve a claim | 15:51 |
alcabrera | AAzza: and I was wrong, too. >.> | 15:51 |
alcabrera | json.dumps :: Dict -> String | 15:51 |
alcabrera | so it is a String | 15:51 |
alcabrera | AAzza: sqlalchemy seems to have trouble with py3, as well. I just reviewed the test log and saw lots of 'memoryview: str object does not have the buffer interface' | 16:04 |
AAzza | oh, okey, thanks. | 16:07 |
*** malini is now known as malini_afk | 16:13 | |
*** kgriffs is now known as kgriffs|afk | 16:13 | |
AAzza | and also, :-( just noticed that logging.getLevelName usage is actually in marconi/openstack/common, so as far as i understand it should be fixed not in marconi. | 16:13 |
alcabrera | AAzza: that's correct. The fix should happen in oslo-incubator, I believe: https://github.com/openstack/oslo-incubator | 16:14 |
*** kgriffs|afk is now known as kgriffs | 16:15 | |
*** kgriffs is now known as kgriffs|afk | 16:16 | |
AAzza | yeap, then go to talk to someone their, if my understanding of situation and the code is right) | 16:16 |
*** kgriffs|afk is now known as kgriffs | 16:16 | |
*** kgriffs is now known as kgriffs|afk | 16:17 | |
*** kgriffs|afk is now known as kgriffs | 16:17 | |
*** jamie_h has joined #openstack-marconi | 16:18 | |
alcabrera | afterwards, we just need to port the changes back to marconi via the copy/paste magic | 16:19 |
*** kgriffs is now known as kgriffs|afk | 16:21 | |
AAzza | looks like the commit will be on Monday, since it is hard to found adequate person to on Friday/evening, during/after summit) | 16:22 |
*** rwsu has joined #openstack-marconi | 16:23 | |
alcabrera | AAzza: fair enough, and I agree. | 16:27 |
alcabrera | if you find anything that is marconi-particular today, I'd be happy to review said patch. | 16:28 |
AAzza | alcabrera: thanks :) and yes, i re-tested claims, it actually returns body as string. | 16:32 |
alcabrera | AAzza: thanks for double-checking! Yeah, that's expected. The reasoning for this became apparent to me a after I though about it a bit. claims -> network | 16:34 |
alcabrera | meaning, we need to serialize before we communicate | 16:34 |
AAzza | yes, it was seen as indended behaviour, but i still cannot fully understand why it should be done for claims) | 16:38 |
*** ipbabble has quit IRC | 16:38 | |
AAzza | honestly, i don't fully understand the whole concept of claims) | 16:40 |
alcabrera | now that I look at it more closely, it sure looks wonky seeing... | 16:41 |
alcabrera | "body": "{\"ka\": \"boom4\"}" | 16:41 |
alcabrera | I wonder if this causes trouble for clients...? | 16:42 |
alcabrera | since it seems like information might be lost | 16:42 |
alcabrera | I'm not sure... | 16:42 |
alcabrera | AAzza: I'd be happy to elaborate on the purpose of claims. Where would you like me to start> :) | 16:42 |
*** whenry has joined #openstack-marconi | 16:46 | |
AAzza | hmm... so my last understanding of claims, is that someone could like reserve message for itself for some period of time, so it(someone) claims it (message)... | 16:49 |
AAzza | yeees?... | 16:49 |
AAzza | alcabrera: considering claims'messages'body, i think at least, this should be mentioned in the wiki. | 16:52 |
alcabrera | AAzza: that's a correct understanding of claiming messages. The purpose for this, for example, is to have a worker process consume messages, and only process each task once | 16:53 |
alcabrera | forever $ claim -> process -> delete | 16:53 |
alcabrera | **have a worker consume messages... | 16:54 |
AAzza | hmm. okey, so why particularly for the claims, messages should be serialized? or it is the only place message's body is returned? | 16:55 |
alcabrera | hmmm | 16:56 |
alcabrera | it's not the only place where message body is returned | 16:56 |
alcabrera | I can think of at least two others | 16:56 |
alcabrera | namely | 16:56 |
alcabrera | GET /v1/queues/<queue>/messages | 16:56 |
alcabrera | either by ID or as a listing | 16:56 |
alcabrera | and | 16:56 |
alcabrera | GET /v1/queues/<queue>/claims/<claim_id> | 16:56 |
alcabrera | which let's us view an active claim | 16:57 |
alcabrera | I'm not sure the reasoning behind serializing the message body as a string, AAzza | 16:57 |
alcabrera | It might have something to do | 16:57 |
*** peoplemerge has joined #openstack-marconi | 16:57 | |
alcabrera | with the fact that we give no special treatment to the message body | 16:57 |
alcabrera | since we don't care what's inside | 16:57 |
alcabrera | just that there is one | 16:57 |
alcabrera | and clients know how they sent it | 16:58 |
alcabrera | so it could even be a binary payload, theoretically | 16:58 |
alcabrera | though now I've amused myself -- | 16:58 |
peoplemerge | any marconi core devs still here at summit? | 16:58 |
alcabrera | {"ttl": 100, "body": {msgpack_something}} | 16:58 |
alcabrera | peoplemerge: I suspect that kgriffs|afk and flaper87|afk might still be there, as well as malini_afk | 16:58 |
peoplemerge | alcabrera: thx | 16:59 |
*** jamie_h has quit IRC | 17:04 | |
AAzza | alcabrera: okey, thanks a lot) you give some thoughts to think) | 17:08 |
*** AAzza has left #openstack-marconi | 17:08 | |
*** sriram has joined #openstack-marconi | 17:08 | |
*** kgriffs|afk is now known as kgriffs | 17:27 | |
*** sriram has quit IRC | 17:33 | |
*** Obulpathi has joined #openstack-marconi | 17:35 | |
*** Obulpathi has quit IRC | 17:42 | |
*** Obulpathi has joined #openstack-marconi | 17:42 | |
abettadapur | alcabrera: \o | 17:54 |
alcabrera | abettadapur: hey! :D | 17:54 |
alcabrera | how goes? | 17:54 |
abettadapur | alcabrera: good! pretty much finished the c# client libs | 17:55 |
alcabrera | fast, and nice! | 17:55 |
abettadapur | alcabrera: I had a question regarding the home doc. It should include entries for all the endpoints right? | 17:55 |
alcabrera | abettadapur: I believe so. | 17:55 |
abettadapur | alcabrera: Because even in the v1 doc, some things aren't represented | 17:55 |
alcabrera | kgriffs would know best here | 17:56 |
abettadapur | like for example deleting messages or releasing claims | 17:56 |
abettadapur | ok | 17:56 |
alcabrera | I know about [||| ] that much about homedocs, haha | 17:56 |
abettadapur | :). i guess we'll see what he says then | 17:58 |
abettadapur | i just found it somewhat odd that not all the endpoints were represented | 17:58 |
*** notmyname has quit IRC | 17:58 | |
alcabrera | abettadapur: it might be something along the lines of "all resources should be represented", rather than "all endpoints" | 17:59 |
*** notmyname has joined #openstack-marconi | 17:59 | |
abettadapur | alcabrera: hmm | 18:01 |
abettadapur | you would think that would include all the CRUD operations, though, no? | 18:01 |
alcabrera | abettadapur: I would. Feels incomplete to me, as well, as I review it now. :/ | 18:05 |
alcabrera | for sure, it neglects the presence of the sharding API when run in admin mode | 18:07 |
alcabrera | which we don't really want to be discoverable by general clients | 18:07 |
alcabrera | but might be a nice UX touch for admin deployments | 18:08 |
abettadapur | yeah that was another though i had | 18:08 |
abettadapur | conditional exposition in the doc | 18:08 |
alcabrera | yup! | 18:08 |
alcabrera | seems like it'd be lovely to auto-generate the homedoc via introspection on the resource tree | 18:08 |
alcabrera | kgriffs: ^^ | 18:09 |
abettadapur | fancy :) | 18:09 |
*** kgriffs is now known as kgriffs|afk | 18:23 | |
*** alex7511 has joined #openstack-marconi | 18:27 | |
*** abettadapur has quit IRC | 18:29 | |
*** alex7511 is now known as abettadapur | 18:31 | |
*** peoplemerge has quit IRC | 19:01 | |
*** peoplemerge has joined #openstack-marconi | 19:06 | |
*** Obulpathi has quit IRC | 19:16 | |
*** Obulpathi has joined #openstack-marconi | 19:19 | |
*** Obulpathi has quit IRC | 19:21 | |
*** Obulpathi has joined #openstack-marconi | 19:21 | |
*** alcabrera is now known as alcabrera|afk | 20:16 | |
*** abettadapur has quit IRC | 20:32 | |
*** Obulpathi has quit IRC | 20:53 | |
*** peoplemerge has quit IRC | 20:57 | |
*** peoplemerge has joined #openstack-marconi | 21:06 | |
*** peoplemerge has quit IRC | 21:10 | |
*** peoplemerge has joined #openstack-marconi | 21:11 | |
*** peoplemerge has quit IRC | 21:29 | |
*** peoplemerge has joined #openstack-marconi | 21:32 | |
*** jchai has quit IRC | 21:35 | |
*** peoplemerge has quit IRC | 21:59 | |
*** alcabrera|afk has quit IRC | 22:35 | |
*** ekarlso has quit IRC | 22:35 | |
*** dragondm has quit IRC | 22:35 | |
*** Alex_Gaynor has quit IRC | 22:35 | |
*** rektide has quit IRC | 22:35 | |
*** malini_afk has quit IRC | 22:35 | |
*** dmitryme has quit IRC | 22:35 | |
*** ChanServ has quit IRC | 22:35 | |
*** notmyname has quit IRC | 22:35 | |
*** torgomatic has quit IRC | 22:35 | |
*** jay-atl has quit IRC | 22:35 | |
*** pquerna has quit IRC | 22:35 | |
*** russell_h has quit IRC | 22:35 | |
*** rwsu has quit IRC | 22:35 | |
*** boris-42 has quit IRC | 22:35 | |
*** mwagner_ has quit IRC | 22:35 | |
*** lakspace has quit IRC | 22:35 | |
*** sebasmagri has quit IRC | 22:35 | |
*** rossk has quit IRC | 22:35 | |
*** openstackgerrit has quit IRC | 22:35 | |
*** tmu_ has quit IRC | 22:35 | |
*** flaper87|afk has quit IRC | 22:35 | |
*** VeggieMeat has quit IRC | 22:35 | |
*** kgriffs|afk has quit IRC | 22:35 | |
*** megan_w|afk has quit IRC | 22:35 | |
*** Ephur has quit IRC | 22:35 | |
*** jraim has quit IRC | 22:35 | |
*** notmyname has joined #openstack-marconi | 22:36 | |
*** rwsu has joined #openstack-marconi | 22:36 | |
*** jay-atl has joined #openstack-marconi | 22:36 | |
*** rossk has joined #openstack-marconi | 22:36 | |
*** mwagner_ has joined #openstack-marconi | 22:36 | |
*** lakspace has joined #openstack-marconi | 22:36 | |
*** sebasmagri has joined #openstack-marconi | 22:36 | |
*** Alex_Gaynor has joined #openstack-marconi | 22:36 | |
*** jraim has joined #openstack-marconi | 22:36 | |
*** rektide has joined #openstack-marconi | 22:36 | |
*** torgomatic has joined #openstack-marconi | 22:36 | |
*** malini_afk has joined #openstack-marconi | 22:36 | |
*** pquerna has joined #openstack-marconi | 22:36 | |
*** flaper87|afk has joined #openstack-marconi | 22:36 | |
*** openstackgerrit has joined #openstack-marconi | 22:36 | |
*** ChanServ has joined #openstack-marconi | 22:36 | |
*** russell_h has joined #openstack-marconi | 22:36 | |
*** boris-42 has joined #openstack-marconi | 22:36 | |
*** alcabrera|afk has joined #openstack-marconi | 22:36 | |
*** dmitryme has joined #openstack-marconi | 22:36 | |
*** dragondm has joined #openstack-marconi | 22:36 | |
*** Ephur has joined #openstack-marconi | 22:36 | |
*** megan_w|afk has joined #openstack-marconi | 22:36 | |
*** kgriffs|afk has joined #openstack-marconi | 22:36 | |
*** VeggieMeat has joined #openstack-marconi | 22:36 | |
*** ekarlso has joined #openstack-marconi | 22:36 | |
*** tmu_ has joined #openstack-marconi | 22:36 | |
*** dickson.freenode.net sets mode: +ooo flaper87|afk ChanServ kgriffs|afk | 22:36 | |
*** alcabrera|afk has quit IRC | 22:36 | |
*** ekarlso has quit IRC | 22:36 | |
*** dragondm has quit IRC | 22:36 | |
*** alcabrera|afk has joined #openstack-marconi | 22:36 | |
*** ekarlso has joined #openstack-marconi | 22:36 | |
*** dragondm has joined #openstack-marconi | 22:36 | |
*** mpanetta has joined #openstack-marconi | 23:00 | |
*** mpanetta has quit IRC | 23:16 | |
*** mpanetta has joined #openstack-marconi | 23:17 | |
*** jamie_h has joined #openstack-marconi | 23:34 | |
*** jamie_h has quit IRC | 23:55 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!