*** sdake has quit IRC | 00:03 | |
*** tsekiyam_ has joined #openstack-oslo | 00:06 | |
*** salv-orlando has quit IRC | 00:07 | |
*** achanda has quit IRC | 00:07 | |
*** mtanino has quit IRC | 00:08 | |
*** salv-orlando has joined #openstack-oslo | 00:08 | |
*** tsekiyama has quit IRC | 00:09 | |
*** tsekiyam_ has quit IRC | 00:11 | |
*** zzzeek has quit IRC | 00:11 | |
*** vilobhmm11 has quit IRC | 00:15 | |
*** vilobhmm1 has joined #openstack-oslo | 00:15 | |
*** salv-orlando has quit IRC | 00:22 | |
openstackgerrit | Joshua Harlow proposed openstack/taskflow: Start building a redis jobboard (WIP) https://review.openstack.org/176951 | 00:28 |
---|---|---|
openstackgerrit | Merged openstack-dev/pbr: Be safe, don't let friends use RawConfigParser https://review.openstack.org/176997 | 00:53 |
openstackgerrit | Joshua Harlow proposed openstack/taskflow: Start building a redis jobboard (WIP) https://review.openstack.org/176951 | 00:54 |
*** haigang has joined #openstack-oslo | 01:15 | |
*** bknudson has joined #openstack-oslo | 01:21 | |
*** ChuckC has quit IRC | 01:21 | |
*** sdake has joined #openstack-oslo | 01:22 | |
*** sdake_ has quit IRC | 01:26 | |
*** flaper87 has quit IRC | 01:27 | |
*** flaper87 has joined #openstack-oslo | 01:28 | |
*** liusheng has joined #openstack-oslo | 01:29 | |
*** flaper87 has quit IRC | 01:33 | |
*** salv-orlando has joined #openstack-oslo | 01:35 | |
*** flaper87 has joined #openstack-oslo | 01:39 | |
*** vilobhmm1 has quit IRC | 01:40 | |
*** vilobhmm1 has joined #openstack-oslo | 01:40 | |
*** vilobhmm1 has quit IRC | 01:40 | |
*** salv-orlando has quit IRC | 01:45 | |
*** ChuckC has joined #openstack-oslo | 01:49 | |
*** sdake_ has joined #openstack-oslo | 01:50 | |
*** shardy_ has joined #openstack-oslo | 01:50 | |
*** shardy has quit IRC | 01:51 | |
*** sdake has quit IRC | 01:53 | |
*** ChuckC has quit IRC | 01:53 | |
*** ChuckC has joined #openstack-oslo | 01:54 | |
*** Kennan2 is now known as Kennan | 01:55 | |
*** shardy_ has quit IRC | 01:55 | |
*** shardy has joined #openstack-oslo | 01:55 | |
*** harlowja is now known as harlowja_away | 02:02 | |
*** kbyrne has quit IRC | 02:05 | |
*** kbyrne has joined #openstack-oslo | 02:10 | |
*** salv-orlando has joined #openstack-oslo | 02:15 | |
*** salv-orlando has quit IRC | 02:20 | |
*** achanda has joined #openstack-oslo | 02:37 | |
*** haigang has quit IRC | 02:58 | |
*** sdake has joined #openstack-oslo | 03:00 | |
*** sdake_ has quit IRC | 03:04 | |
*** sdake_ has joined #openstack-oslo | 03:04 | |
*** sdake has quit IRC | 03:08 | |
*** yamahata has joined #openstack-oslo | 03:23 | |
*** liusheng has left #openstack-oslo | 03:24 | |
*** rushiagr_away is now known as rushiagr | 03:40 | |
*** achanda has quit IRC | 03:44 | |
*** vilobhmm1 has joined #openstack-oslo | 03:57 | |
*** rushiagr is now known as rushiagr_away | 04:00 | |
*** rushiagr_away is now known as rushiagr | 04:02 | |
openstackgerrit | Joshua Harlow proposed openstack/taskflow: Expose fake filesystem 'join' and 'normpath' https://review.openstack.org/176515 | 04:15 |
*** salv-orlando has joined #openstack-oslo | 04:18 | |
*** salv-orlando has quit IRC | 04:25 | |
openstackgerrit | Joshua Harlow proposed openstack/taskflow: Start building a redis jobboard (WIP) https://review.openstack.org/176951 | 04:27 |
*** subscope_ has joined #openstack-oslo | 04:30 | |
*** achanda has joined #openstack-oslo | 04:35 | |
*** takedakn has joined #openstack-oslo | 04:45 | |
*** takedakn has quit IRC | 04:45 | |
*** nkrinner has joined #openstack-oslo | 04:52 | |
*** salv-orlando has joined #openstack-oslo | 04:58 | |
*** browne has joined #openstack-oslo | 05:03 | |
openstackgerrit | Merged openstack/taskflow: Add + use diagram explaining retry controller area of influence https://review.openstack.org/176496 | 05:04 |
openstackgerrit | Merged openstack/taskflow: Add openclipart.org conductor image to conductor docs https://review.openstack.org/176559 | 05:05 |
*** salv-orlando has quit IRC | 05:05 | |
*** rushiagr is now known as rushiagr_away | 05:06 | |
*** amrith is now known as _amrith_ | 05:11 | |
*** salv-orlando has joined #openstack-oslo | 05:17 | |
openstackgerrit | Merged openstack/taskflow: Test more engine types in argument passing unit test https://review.openstack.org/176502 | 05:21 |
openstackgerrit | Merged openstack/taskflow: Replace more instance(s) of exception chaining with helper https://review.openstack.org/175593 | 05:21 |
openstackgerrit | Merged openstack/taskflow: Use oslo_utils eventletutils to warn about eventlet patching https://review.openstack.org/176554 | 05:21 |
*** _amrith_ is now known as amrith | 05:21 | |
*** salv-orlando has quit IRC | 05:21 | |
*** inc0 has joined #openstack-oslo | 05:26 | |
*** arnaud___ has joined #openstack-oslo | 05:39 | |
*** e0ne has joined #openstack-oslo | 05:43 | |
*** e0ne is now known as e0ne_ | 05:43 | |
*** e0ne_ is now known as e0ne | 05:43 | |
*** vilobhmm1 has quit IRC | 05:44 | |
*** e0ne has quit IRC | 05:45 | |
*** takedakn has joined #openstack-oslo | 05:53 | |
*** rushiagr_away is now known as rushiagr | 06:01 | |
*** david-ly_ has joined #openstack-oslo | 06:01 | |
*** david-lyle has quit IRC | 06:03 | |
*** subscope_ has quit IRC | 06:11 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/oslo.utils: Imported Translations from Transifex https://review.openstack.org/176639 | 06:13 |
*** stevemar has quit IRC | 06:32 | |
*** arnaud___ has quit IRC | 06:33 | |
openstackgerrit | Merged openstack/taskflow: Expose fake filesystem 'join' and 'normpath' https://review.openstack.org/176515 | 06:35 |
*** takedakn has quit IRC | 06:42 | |
*** salv-orlando has joined #openstack-oslo | 06:45 | |
*** salv-orlando has quit IRC | 06:55 | |
*** haypo has joined #openstack-oslo | 07:09 | |
*** salv-orlando has joined #openstack-oslo | 07:12 | |
*** takedakn has joined #openstack-oslo | 07:12 | |
*** salv-orlando has quit IRC | 07:14 | |
*** sdake_ has quit IRC | 07:20 | |
*** achanda has quit IRC | 07:24 | |
*** achanda has joined #openstack-oslo | 07:36 | |
*** salv-orlando has joined #openstack-oslo | 07:40 | |
*** browne has quit IRC | 07:42 | |
*** e0ne has joined #openstack-oslo | 07:47 | |
*** e0ne has quit IRC | 07:49 | |
*** e0ne has joined #openstack-oslo | 07:53 | |
openstackgerrit | Kamil Rykowski proposed openstack/oslo.middleware: Update response body when healthcheck is available https://review.openstack.org/177110 | 07:54 |
*** achanda has quit IRC | 07:57 | |
*** e0ne has quit IRC | 08:05 | |
*** ajo has joined #openstack-oslo | 08:06 | |
*** e0ne has joined #openstack-oslo | 08:09 | |
*** ajo_ has joined #openstack-oslo | 08:09 | |
*** ajo has quit IRC | 08:09 | |
openstackgerrit | Kamil Rykowski proposed openstack/oslo.middleware: Update response body when healthcheck is available https://review.openstack.org/177110 | 08:10 |
*** e0ne has quit IRC | 08:11 | |
*** yassine_ has joined #openstack-oslo | 08:21 | |
*** ihrachyshka has joined #openstack-oslo | 08:23 | |
*** andreykurilin__ has joined #openstack-oslo | 08:27 | |
*** ndipanov has joined #openstack-oslo | 08:37 | |
*** ndipanov is now known as ndipanoff | 08:38 | |
openstackgerrit | Victor Sergeyev proposed openstack/oslo.messaging: Add JsonPayloadSerializer serializer https://review.openstack.org/176893 | 08:39 |
*** ozamiatin has joined #openstack-oslo | 08:40 | |
*** salv-orlando has quit IRC | 08:43 | |
*** ozamiatin has quit IRC | 08:50 | |
*** ajo_ has quit IRC | 08:51 | |
*** ajo has joined #openstack-oslo | 08:59 | |
*** inc0_ has joined #openstack-oslo | 09:02 | |
*** ndipanoff has quit IRC | 09:02 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/oslo.messaging: Updated from global requirements https://review.openstack.org/177129 | 09:02 |
*** ozamiatin has joined #openstack-oslo | 09:05 | |
*** inc0 has quit IRC | 09:06 | |
*** e0ne has joined #openstack-oslo | 09:10 | |
*** ajo has quit IRC | 09:10 | |
*** ndipanov has joined #openstack-oslo | 09:10 | |
ndipanov | mdbooth, sorry my laptop died since I forgot to plug it in | 09:11 |
ndipanov | mdbooth, fwiw - we backported the test_tracker.py to RHOS | 09:11 |
mdbooth | ndipanov: I forgive you | 09:11 |
ndipanov | so if you are actually doing this to backport it to rhos 6 | 09:11 |
ndipanov | all the hard work of backporting the tests upstream is useless on rhos for that particular case | 09:12 |
ndipanov | but for filters it's not | 09:12 |
*** ndipanov is now known as ndipanoff | 09:13 | |
*** e0ne is now known as e0ne_ | 09:16 | |
*** ajo has joined #openstack-oslo | 09:16 | |
*** e0ne_ has quit IRC | 09:21 | |
*** ozamiatin has joined #openstack-oslo | 09:28 | |
*** e0ne has joined #openstack-oslo | 09:35 | |
*** salv-orlando has joined #openstack-oslo | 09:35 | |
openstackgerrit | Ihar Hrachyshka proposed openstack-dev/hacking: Add support for flake8 off_by_default for optional checks https://review.openstack.org/134052 | 09:36 |
*** sdake has joined #openstack-oslo | 09:37 | |
*** sdake_ has joined #openstack-oslo | 09:39 | |
*** sdake has quit IRC | 09:43 | |
*** jaosorior has joined #openstack-oslo | 09:46 | |
*** ozamiatin has quit IRC | 09:47 | |
*** cdent has joined #openstack-oslo | 09:57 | |
*** flaper87 has quit IRC | 10:05 | |
*** flaper87 has joined #openstack-oslo | 10:05 | |
*** inc0_ has quit IRC | 10:18 | |
*** inc0 has joined #openstack-oslo | 10:21 | |
*** andreykurilin__ has quit IRC | 10:26 | |
*** ozamiatin has joined #openstack-oslo | 10:26 | |
*** inc0 has quit IRC | 10:31 | |
*** sdake_ has quit IRC | 10:53 | |
*** e0ne is now known as e0ne_ | 11:13 | |
*** cdent has quit IRC | 11:20 | |
*** alexpilotti has joined #openstack-oslo | 11:20 | |
*** e0ne_ has quit IRC | 11:23 | |
*** dguitarbite has quit IRC | 11:24 | |
*** eezhova has quit IRC | 11:24 | |
*** dguitarbite has joined #openstack-oslo | 11:25 | |
*** inc0 has joined #openstack-oslo | 11:28 | |
*** yamahata has quit IRC | 11:31 | |
*** inc0 has quit IRC | 11:33 | |
*** inc0_ has joined #openstack-oslo | 11:33 | |
*** ozamiatin has quit IRC | 11:35 | |
openstackgerrit | Merged openstack-dev/hacking: Updated from global requirements https://review.openstack.org/176820 | 11:40 |
haypo | dhellmann, jd__ : oh, requirements is not more frozen in master? if yes, could you please review my eventlet upgrade for python3? https://review.openstack.org/#/c/172132/ it should unblock two pending python 3 patches for oslo messaging | 11:43 |
*** e0ne has joined #openstack-oslo | 11:43 | |
*** inc0_ has quit IRC | 11:44 | |
haypo | with my 3 pending oslo.messaging patches, we will having oslo.messaging working on python 3 for all executors and drivers! ... except of Qpid and AMQP 1.0 drivers | 11:44 |
haypo | (any volunteer to port these drivers? :-)) | 11:45 |
*** inc0 has joined #openstack-oslo | 11:45 | |
*** inc0 has quit IRC | 11:51 | |
*** dguitarbite has quit IRC | 11:53 | |
*** EmilienM has quit IRC | 12:01 | |
*** EmilienM has joined #openstack-oslo | 12:01 | |
*** exploreshaifali has joined #openstack-oslo | 12:04 | |
*** kgiusti has joined #openstack-oslo | 12:09 | |
*** subscope has quit IRC | 12:11 | |
*** tedross has joined #openstack-oslo | 12:13 | |
*** tedross has left #openstack-oslo | 12:19 | |
haypo | sileht, jd__ : my remaining oslo.messaging patches: https://review.openstack.org/#/c/172135/ (Enable eventlet dependency on Python 3, it was approved, but i had to rebase it) & https://review.openstack.org/#/c/175759/ (test_matchmaker_redis) | 12:23 |
*** subscope has joined #openstack-oslo | 12:25 | |
openstackgerrit | Victor Stinner proposed openstack/oslo.messaging: Enable eventlet dependency on Python 3 https://review.openstack.org/172135 | 12:29 |
haypo | oh, the changelog was outdated, it's now fixed ;-) ^^ | 12:29 |
haypo | I wrote a long comment to justify the futures requirements on Python 3 (workaround a bug in tox). i have no solution for it right now :-/ | 12:29 |
haypo | tox developers don't want to fix, and environment markers are not supported yet... | 12:30 |
haypo | sileht, oops, you reviewed patch set 6, but i posted a new version because the changelog was outdated (it described an old version of the patch set): https://review.openstack.org/#/c/172135/ | 12:31 |
haypo | sileht, are you aware of anyone interested to port QPID/AMQP to python3? | 12:32 |
sileht | haypo, no | 12:32 |
haypo | sileht, too bad :-p | 12:32 |
sileht | haypo, for AMQP1 once the proton c lib will be generated to python3, that should be easy | 12:33 |
haypo | sileht, there is some C code which need to be ported to Python 3, https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;a=blob;f=proton-c/bindings/python/cproton.i;h=70d6c42fa5e0b67ef0a9f85b2361c15bc9607990;hb=HEAD | 12:33 |
haypo | sileht, it's easy, we just have to find a volunteer ;) | 12:34 |
sileht | as usual... | 12:34 |
haypo | sileht, i ported eventlet, paste, python-memcached this week. i may port qpid/amqp later :-p | 12:35 |
sileht | haypo, only rabbit is fully tested/supported | 12:35 |
haypo | sileht, i read recently that qpid is not tested by gates, is that right? | 12:36 |
sileht | haypo, I think for oslo.messaging, we are pretty good now for python3 stuffs | 12:36 |
sileht | haypo, it only have functionnal testing | 12:36 |
haypo | sileht, last days, i repeated multiple that "it's almost done", but each time i found new issues... (like python-memcached, i forgot this one) | 12:36 |
*** dguitarbite has joined #openstack-oslo | 12:36 | |
haypo | sileht, zigo mentionned pysaml2 for keystone which doesn't support py3 | 12:37 |
zigo | haypo: Yeah, and I'm working on it right now. | 12:37 |
haypo | sileht, ah functional tests are running with qpid? cool | 12:38 |
haypo | zigo, hey thomas! | 12:38 |
zigo | haypo: There's a bunch of Except missing the as thing, lots of print statements, and using urlparse instead of urllib.parse. | 12:38 |
haypo | zigo, i didn't know that you were on this channel :-D | 12:38 |
zigo | haypo: I'm everywhere! :) | 12:38 |
zigo | haypo: Are you comming to Vancouver? | 12:38 |
haypo | zigo, try 2to6 ;) https://github.com/haypo/2to6/ (it's not my project, i made minor changes) | 12:38 |
haypo | zigo, yes, i do | 12:39 |
haypo | zigo, to promote python3 ;) | 12:39 |
zigo | Super cool! | 12:39 |
zigo | haypo: Paultag created a python3 porter team in Debian. | 12:39 |
zigo | haypo: The goal is to completely remove Python2 from Debian Stretch (FYI: Jessie, Buster, Stretch, in this order). | 12:39 |
haypo | zigo, one of your colleague contacted to help me on porting nova to python 3 ;) Eugeniya Kudryashova | 12:39 |
zigo | Oh ok. | 12:40 |
haypo | zigo, now i have to convince my own colleagues that python3 rocks ;) | 12:40 |
zigo | haypo: We are about 1000 in Mirantis, so I don't know everyone! :) | 12:40 |
haypo | zigo, you must know all your colleagues, as i know all 7000 redhatters | 12:40 |
haypo | well right now, i only know them by their employee number, not their name yet :-D | 12:41 |
*** bknudson has quit IRC | 12:42 | |
zigo | :) | 12:46 |
zigo | haypo: Will you work on python-qpid too? | 12:46 |
zigo | That's a blocker for oslo.messaging ... | 12:46 |
zigo | I personally would have prefer if we just removed qpid. | 12:47 |
zigo | But that's not my call ... | 12:47 |
haypo | zigo, "I personally would have prefer if we just removed qpid." ask sileht for that :) | 12:47 |
zigo | Why that? He's involved in qpid? :) | 12:48 |
haypo | zigo, "That's a blocker for oslo.messaging ..." i don't think so. eventlet, qpid, etc. are optional dependencies | 12:48 |
haypo | zigo, involved in olso messaging | 12:48 |
zigo | haypo: There's unit tests with it. | 12:48 |
zigo | haypo: Or are you suggesting that I just blacklist the qpid unit tests, and be done with it? :) | 12:48 |
zigo | That's of course one possibility. | 12:48 |
haypo | zigo, i didn't suggest anything | 12:49 |
haypo | zigo, oh, you mean for the packaging? is qpid a requirement for your oslo.messaging package? | 12:49 |
haypo | zigo, it's common to skip tests if a module is missing | 12:49 |
haypo | zigo, python-keystoneclient skips memcache tests if memcache is missing, and memcache is not in requirements, so... | 12:50 |
zigo | haypo: It's as a build-depends, yes, because it's used by unit tests. | 12:50 |
haypo | zigo, skip these tests on python3 | 12:50 |
zigo | haypo: Not the case in oslo.messaging, I'd have to manually blacklist it, and I believe it would be a problem for the subunit list if qpid isn't there. | 12:50 |
zigo | haypo: Just skipping tests in python3 wouldn't work, as we would still need the module for listing tests. | 12:51 |
zigo | (so subunit --list would crash in python 3) | 12:51 |
dstanek | it looks like Keystone will be moving away from python-memcache in the future, but i'm not sure exactly when | 12:51 |
zigo | dstanek: That's not what morganfainberg wrote. He'd be ok with that, but it's far from his priority. His priority is having the middleware moved away from keystoneclient. | 12:52 |
haypo | dstanek, because it doesn't support python3, but i read that pymemcache is better | 12:52 |
zigo | haypo: In python3, I get: ImportError: No module named 'time_util' | 12:53 |
haypo | (ah yes, and the middleware should be removed from the client) | 12:53 |
zigo | Has this been removed too? | 12:53 |
haypo | zigo, in which project? | 12:53 |
zigo | pysaml2 | 12:53 |
*** e0ne is now known as e0ne_ | 12:53 | |
dstanek | zigo: last i heard it was definitely a move we were going to make, but there was no timeline because it's low priority | 12:54 |
zigo | haypo: Ah, shit, in pysaml2, url.parse doesn't work in Python 2 ... :( | 12:54 |
dstanek | working on getting Keystone working on Python3 as we speak | 12:54 |
zigo | haypo: Do I have to do something like try: import urlparse except: import urllib.parse? | 12:54 |
*** e0ne_ is now known as e0ne | 12:55 | |
haypo | zigo, use six.moves for that | 12:55 |
zigo | haypo: How? | 12:55 |
haypo | zigo, don't hesitate to complete https://wiki.openstack.org/wiki/Python3#Port_Python_2_code_to_Python_3 ;-) | 12:55 |
haypo | zigo, pick the right module in https://pythonhosted.org/six/#module-six.moves | 12:55 |
*** yassine_ has quit IRC | 12:56 | |
haypo | zigo, for example, "from six.moves import urllib" and then use "urllib.parse.(...)" or "urllib.request.(...)" | 12:56 |
openstackgerrit | OpenStack Proposal Bot proposed openstack-dev/hacking: Updated from global requirements https://review.openstack.org/177229 | 12:56 |
zigo | haypo: Thanks! | 12:56 |
dstanek | does oslo-messaging now work with Py3? | 12:58 |
haypo | dstanek, short answer: no | 12:58 |
haypo | dstanek, i will in a few days | 12:58 |
*** yassine has joined #openstack-oslo | 12:59 | |
dstanek | haypo: ok, thx. i'll keep that mocked out for now | 12:59 |
haypo | dstanek, put your +1 on https://review.openstack.org/#/c/175759/ & https://review.openstack.org/#/c/172135/ ;) | 12:59 |
dstanek | haypo: ok, i'll take a look in a few | 12:59 |
*** nkrinner has quit IRC | 13:03 | |
ihrachyshka | dhellmann, I have some oslo patches needed for neutron that would need some love. I won't be able to raise them on Mon the next two weeks since I'll be on vacation, so I've updated agenda: https://wiki.openstack.org/wiki/Meetings/Oslo#Agenda_for_Next_Meeting | 13:03 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/oslo.vmware: Updated from global requirements https://review.openstack.org/177239 | 13:04 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/oslo.versionedobjects: Updated from global requirements https://review.openstack.org/177240 | 13:04 |
*** gordc has joined #openstack-oslo | 13:04 | |
*** ajo has quit IRC | 13:05 | |
zigo | haypo: What's the point of adding trollius and aioeventlet if eventlet 0.17.3 is supposed to be Py3 compatible? | 13:11 |
*** ajo has joined #openstack-oslo | 13:14 | |
haypo | zigo, come on... | 13:14 |
*** stpierre has joined #openstack-oslo | 13:14 | |
haypo | zigo, i'm tired to explaining the same things again and again | 13:14 |
zigo | Sorry ... | 13:14 |
* zigo hides | 13:14 | |
haypo | zigo, replacing eventlet with asyncio and porting openstack to python 3 are two separated projects | 13:15 |
haypo | zigo, it's not possible to use asyncio because it requires python 3.3+ | 13:15 |
zigo | haypo: I was asking, in the context of this patch which is in review. | 13:15 |
zigo | haypo: I personally don't care much about Python 3.3, Jessie is out TOMORROW ! :) | 13:16 |
haypo | zigo, hum, maybe you question why: do we still need to replace eventlet? => the rationale is in https://review.openstack.org/#/c/164035/ (yes, eventlet must die) | 13:16 |
haypo | zigo, i mean that asyncio cannot be use in openstack because except of gnocchi, no openstack application works on python 3 | 13:16 |
zigo | Yes, eventlet must die, I agree. | 13:17 |
zigo | haypo: Something not well known enough: with eventlet, we have an SSL downgrade attack hole on the paste daemons of OpenStack... | 13:18 |
*** ozamiatin has joined #openstack-oslo | 13:19 | |
zigo | haypo: The fun thing about porting to Py3, is that I may do correctly it without even knowing what the stupid code is doing ! :) | 13:20 |
haypo | zigo, you're right. i'm not aware of that. why is it specific to eventlet? | 13:20 |
haypo | zigo, haha, yes. i ported such much python 3 last weeks. i don't know anything about them | 13:20 |
haypo | zigo, ian bicking made me the new Paste maintainer whereas i never used this project... | 13:21 |
zigo | haypo: If you use it for clients (which is the case for many clients), then it's going to use the SSL23 object of Python, even if you specify TLS. | 13:21 |
zigo | haypo: Because it thinks it "knows better" and believe that it's ok to use any protocol which the server will agree on. | 13:21 |
zigo | Then badaboum, poodle ... | 13:21 |
zigo | haypo: Do a grep on "SSL23" on eventlet, and you'll see ! | 13:22 |
dstanek | zigo: ssl terminator ftw! | 13:22 |
zigo | dstanek: Exactly, but that's orthogonal to the issue. | 13:22 |
zigo | dstanek: What if you want to use SSL in your LAN where OpenStack is setup? | 13:22 |
zigo | (ie: between projects and keystone...) | 13:22 |
dstanek | zigo: use a terminator | 13:23 |
*** zz_jgrimm is now known as jgrimm | 13:23 | |
zigo | So yes, we should HAProxy to do the work for clients to connect, but that's not it... | 13:23 |
dstanek | i would use something like stud or stunnel | 13:23 |
zigo | dstanek: The reality is that everyone will *not* use SSL, and do management traffic over http only. | 13:24 |
dstanek | zigo: they have that right, but if they want to do it correctly they'd run a terminator in front of each service | 13:24 |
*** jgrimm is now known as zz_jgrimm | 13:25 | |
zigo | dstanek: The point is, we shouldn't provide something THAT broken, and it's completely false to just expect everyone to "know better". | 13:25 |
zigo | So, let's kill eventlet even more ! :) | 13:25 |
dstanek | i don't disagree | 13:26 |
dstanek | keystone recommends deploying behind apache | 13:26 |
haypo | zigo, SSLv23 is only the default value | 13:28 |
zigo | haypo: I don't think so. | 13:28 |
haypo | zigo, python uses the same default value | 13:28 |
zigo | (but I'd have to check again...) | 13:28 |
haypo | zigo, https://github.com/eventlet/eventlet/blob/master/eventlet/green/ssl.py#L49 | 13:29 |
zigo | haypo: Look at the end of eventlet/convenience.py and see... | 13:31 |
zigo | context = SSL.Context(SSL.SSLv23_METHOD) | 13:31 |
zigo | No variable involved ... | 13:31 |
haypo | zigo, "convenience.py" doesn't sound like a mandatory module :) | 13:32 |
zigo | haypo: But that's were we ended killing a unit test of Keystone because of it. | 13:33 |
zigo | (that unit test was about checking SSL cert...) | 13:33 |
*** mriedem_away is now known as mriedem | 13:35 | |
*** jungleboyj has quit IRC | 13:36 | |
*** bknudson has joined #openstack-oslo | 13:44 | |
*** rushiagr is now known as rushiagr_away | 13:44 | |
dstanek | haypo: did you say you were already working on pysaml2? | 13:48 |
*** mriedem has quit IRC | 13:56 | |
*** stevemar has joined #openstack-oslo | 13:57 | |
zigo | haypo: What with the time_util module in Python 3? | 13:59 |
*** dansmith is now known as superdan | 13:59 | |
zigo | Has it been renamed or something? | 13:59 |
zigo | dstanek: I am. | 14:00 |
haypo | dstanek, "<dstanek> haypo: did you say you were already working on pysaml2?" nope, i didn't touch this project | 14:01 |
*** mriedem has joined #openstack-oslo | 14:01 | |
dstanek | zigo: cool. i'm running into some errors getting keystone tests running on py3 and that lib is why :-) | 14:02 |
zigo | dstanek: Which is what's pushing me to work on it. | 14:02 |
*** sigmavirus24_awa is now known as sigmavirus24 | 14:03 | |
dstanek | i think i have most of the Keystone code fixed - now just waiting on the deps | 14:03 |
haypo | zigo, i don't know time_util. where does it come from? | 14:04 |
haypo | zigo, do you write "import time_util", or does it come from a library? | 14:04 |
dstanek | i think it's from pysaml2 | 14:04 |
zigo | haypo: dstanek is right. | 14:05 |
zigo | From pysaml2 | 14:05 |
haypo | zigo, hum, so what is your question? | 14:05 |
dstanek | pysam2 likely isn't doing absolute imports - so it looks like it doesn't exist in python3 | 14:05 |
zigo | haypo: Here's my error in Py3: | 14:05 |
*** takedakn has quit IRC | 14:05 | |
zigo | src/saml2/validate.py:5: in <module> | 14:05 |
zigo | import time_util | 14:05 |
zigo | E ImportError: No module named 'time_util' | 14:05 |
zigo | How do I fix that? | 14:05 |
*** ChuckC_ has joined #openstack-oslo | 14:06 | |
dstanek | zigo: change the import to 'from saml2 import time_util' | 14:06 |
haypo | zigo, oh. it's a common trap of relative imports | 14:06 |
zigo | Ah... | 14:06 |
haypo | zigo, use "from . import time_util" or "from pysaml2 import time_util" | 14:06 |
haypo | something like that | 14:06 |
zigo | Thanks. | 14:06 |
*** ChuckC has quit IRC | 14:06 | |
dstanek | i've been adding 'from __future__ import absolute_import' to the top of most of the Keystone modules to catch things like that | 14:06 |
haypo | dstanek, it helps, but it's annoying to add it everywhere :) | 14:07 |
dstanek | haypo: yes, but good practice while supporting 2 and 3 in the same code base | 14:08 |
haypo | dstanek, ok | 14:08 |
dstanek | for something as small as pysaml2 i think modernize would fix all of the issues | 14:09 |
dstanek | it'll also find things you won't find by hand like py2 .keys() vs. py3 .keys() | 14:09 |
haypo | dstanek, try also 2to6! https://github.com/haypo/2to6/ | 14:11 |
haypo | dstanek, it should catch most obvious issues | 14:12 |
haypo | and modify directly the code to use six | 14:12 |
dstanek | that's exactly what modernize does | 14:12 |
haypo | dstanek, oh, so modernize probably does the same changes than 2to6 | 14:12 |
*** ChuckC_ has quit IRC | 14:13 | |
openstackgerrit | Merged openstack/oslo.messaging: Fix test_matchmaker_redis on Python 3 https://review.openstack.org/175759 | 14:26 |
*** mtanino has joined #openstack-oslo | 14:27 | |
*** ChuckC_ has joined #openstack-oslo | 14:28 | |
haypo | when gate-tempest-dsvm-largeops-src-oslo.messaging fails 2 times, is it acceptable to ask again reverify? | 14:28 |
zigo | How can someone be so stupid as to store a file_old.py when using Git? :( | 14:29 |
haypo | zigo, yeah, rename it to file_old.py.bak | 14:29 |
zigo | :) | 14:29 |
*** dguitarbite has quit IRC | 14:30 | |
zigo | haypo: What's the best way to print in stderr that would be compatible with python2 and 3? | 14:31 |
zigo | file=sys.stderr doesn't work in python2, right? | 14:31 |
dstanek | zigo: it should | 14:31 |
haypo | zigo, from __future__ import print_function | 14:32 |
haypo | zigo, then use print(..., file=sys.stderr) | 14:32 |
haypo | zigo, it works on python 2.6+ | 14:32 |
zigo | Oh ok. | 14:32 |
haypo | zigo, be careful, in one hour, you will be an expert to port code to py3 | 14:32 |
dstanek | ah, doh. i didn't read the line about print before it | 14:32 |
*** zz_jgrimm is now known as jgrimm | 14:33 | |
haypo | zigo, there is six.print_(), but it's uglier and only needed to support python < 2.6 | 14:33 |
haypo | (like six.binary_type: you can directly write bytes) | 14:33 |
zigo | haypo: I know already a lot about porting to py3 ! :) | 14:33 |
zigo | haypo: I always feel really gulty when uploading a package to Debian without Py3 support. | 14:34 |
zigo | :) | 14:34 |
haypo | zigo, cool. again, don't hesitate to complete the wiki page, https://wiki.openstack.org/wiki/Python3#Port_Python_2_code_to_Python_3 | 14:34 |
*** jungleboyj has joined #openstack-oslo | 14:38 | |
zigo | haypo: from dircache import listdir <--- This fails in Py3, what's the trick? :) | 14:43 |
haypo | zigo, what is dircache? | 14:43 |
*** SridharGaddam has quit IRC | 14:44 | |
haypo | zigo, does it come from pysaml2? | 14:44 |
zigo | haypo: It's in the standard py2.7 lib. | 14:44 |
haypo | ah? | 14:44 |
haypo | "Deprecated since version 2.6: The dircache module has been removed in Python 3." | 14:44 |
zigo | haypo: /usr/lib/python2.7/dircache.py | 14:44 |
zigo | haypo: Shit, what should I do then? | 14:44 |
zigo | Just re-add the code locally? | 14:45 |
zigo | (it's *very* small...) | 14:45 |
haypo | zigo, you may use: try: from dircache import listdir except ImportError: from os import listdir | 14:45 |
zigo | Oh. | 14:45 |
zigo | Cheers! :) | 14:45 |
haypo | zigo, but you loose the cache | 14:45 |
haypo | does it really impact performances to list the content of a directory? | 14:45 |
haypo | zigo, linux probably already caches it for you | 14:46 |
zigo | Right. | 14:46 |
zigo | My baby girl just woke up. Porting session has to end ! :) | 14:46 |
*** zzzeek has joined #openstack-oslo | 14:58 | |
dhellmann | ihrachyshka: ok, sounds good. dims will be back next week, and I'm sure he'll cover those in the meeting | 15:00 |
ihrachyshka | ack | 15:01 |
*** achanda has joined #openstack-oslo | 15:03 | |
*** browne has joined #openstack-oslo | 15:05 | |
*** achanda has quit IRC | 15:08 | |
*** e0ne is now known as e0ne_ | 15:12 | |
*** haypo has quit IRC | 15:13 | |
*** e0ne_ is now known as e0ne | 15:13 | |
*** david-ly_ is now known as david-lyle | 15:22 | |
*** ihrachyshka has quit IRC | 15:23 | |
*** ozamiatin has quit IRC | 15:26 | |
*** e0ne is now known as e0ne_ | 15:29 | |
*** e0ne_ is now known as e0ne | 15:30 | |
*** andreykurilin__ has joined #openstack-oslo | 15:40 | |
*** cdent has joined #openstack-oslo | 15:45 | |
*** exploreshaifali has quit IRC | 15:50 | |
*** sdake has joined #openstack-oslo | 15:51 | |
*** vilobhmm1 has joined #openstack-oslo | 15:59 | |
*** tsekiyama has joined #openstack-oslo | 15:59 | |
*** mriedem is now known as mriedem_nom | 15:59 | |
*** andreykurilin__ has quit IRC | 16:00 | |
*** vilobhmm11 has joined #openstack-oslo | 16:01 | |
*** ozamiatin has joined #openstack-oslo | 16:03 | |
*** vilobhmm1 has quit IRC | 16:04 | |
*** e0ne has quit IRC | 16:07 | |
*** viktors has quit IRC | 16:07 | |
*** arnaud___ has joined #openstack-oslo | 16:09 | |
*** vilobhmm11 has quit IRC | 16:12 | |
*** gtt116_ has quit IRC | 16:20 | |
*** gtt116__ has joined #openstack-oslo | 16:20 | |
*** browne has quit IRC | 16:20 | |
*** ozamiatin has quit IRC | 16:20 | |
*** arnaud___ has quit IRC | 16:39 | |
openstackgerrit | Julien Danjou proposed openstack-dev/pbr: Support Unicode in requirements file https://review.openstack.org/177354 | 16:44 |
*** vilobhmm1 has joined #openstack-oslo | 16:47 | |
*** vilobhmm1 has quit IRC | 16:47 | |
*** vilobhmm1 has joined #openstack-oslo | 16:47 | |
*** vilobhmm1 has quit IRC | 16:47 | |
*** vilobhmm1 has joined #openstack-oslo | 16:48 | |
*** achanda has joined #openstack-oslo | 16:52 | |
*** vilobhmm1 has quit IRC | 16:53 | |
*** sdake has quit IRC | 16:53 | |
*** vilobhmm1 has joined #openstack-oslo | 16:53 | |
*** bnemec is now known as beekneemech | 16:54 | |
*** pblaho has quit IRC | 16:57 | |
openstackgerrit | Merged openstack/oslo.concurrency: Updated from global requirements https://review.openstack.org/177236 | 17:01 |
*** browne has joined #openstack-oslo | 17:02 | |
openstackgerrit | Moshe Levi proposed openstack/oslo.concurrency: Add timeout parameter to execute https://review.openstack.org/177030 | 17:07 |
*** exploreshaifali has joined #openstack-oslo | 17:08 | |
*** mriedem_nom is now known as mriedem_rmorse | 17:09 | |
*** mriedem_rmorse is now known as mriedem | 17:09 | |
*** sdake has joined #openstack-oslo | 17:12 | |
*** salv-orlando has quit IRC | 17:26 | |
*** cdent has quit IRC | 17:30 | |
*** prad_ has joined #openstack-oslo | 17:44 | |
*** prad has quit IRC | 17:44 | |
*** prad_ is now known as prad | 17:44 | |
*** harlowja_away is now known as harlowja | 17:51 | |
*** yassine has quit IRC | 18:06 | |
*** jaosorior has quit IRC | 18:22 | |
*** exploreshaifali has quit IRC | 18:25 | |
*** salv-orlando has joined #openstack-oslo | 18:27 | |
*** arnaud___ has joined #openstack-oslo | 18:27 | |
*** salv-orlando has quit IRC | 18:30 | |
*** ajo has quit IRC | 18:36 | |
*** arnaud___ has quit IRC | 18:54 | |
*** ndipanoff has quit IRC | 19:01 | |
*** Ritz has joined #openstack-oslo | 19:15 | |
Ritz | Hello ! i have an architecture using oslo messaging framework where a job is submitted for processing to a server which listens on requests that come in. There are multiple nodes in the server who can work on the request. Problem is if 2 same type of job comes in for processing then i want just one of the worker nodes to work on it. So some sort of mutex is needed. Question is does oslo messaging support this kind of dispatche | 19:18 |
dhellmann | Ritz: if both workers subscribe to the same queue in rabbit, then rabbit will only deliver the message to one of them. | 19:21 |
Ritz | dhellmann what i mean is if concurrently 2 requests are put in and node1 picks first and node2 picks second then they will both start working on the same type of job . I want the second message not to be picked up till first job is done by node 1 | 19:22 |
Ritz | so some kind of lock | 19:23 |
*** tsekiyama has quit IRC | 19:23 | |
dhellmann | Ritz: ok, our messaging library does provide that sort of feature | 19:28 |
dhellmann | it sounds like what you really want is different nodes to pick up different types of jobs | 19:28 |
dhellmann | or you could see about coordinating them using tooz | 19:28 |
Ritz | dhellmann : actually its not different node picking up different jobs, its not allowing any node(including itself) to pick up same type of job | 19:30 |
Ritz | example | 19:30 |
Ritz | i am working on a feature called Backup , so the event type is backup | 19:31 |
Ritz | so lets say i am running a db backup ...if 2 customers run the same job to backup db then there could be issues | 19:31 |
Ritz | so i want to finish first backup job before starting the second job | 19:31 |
Ritz | i am looking at tooz right now | 19:32 |
*** tsekiyama has joined #openstack-oslo | 19:33 | |
bknudson | what does it take to get a stable/juno branch for pycadf? | 19:34 |
harlowja | Ritz i think u want something more than a lock no? if u are having dependency chains u likely need something more | 19:35 |
harlowja | u almost want http://docs.openstack.org/developer/taskflow/jobs.html (but maybe not via taskflow... not sure) | 19:36 |
Ritz | i think a lock on a type of job till the listener finishes(acknowledges current job) would be sufficient | 19:36 |
harlowja | who acquires the lock? | 19:37 |
harlowja | the listener? | 19:37 |
Ritz | harlowja: the first node which picked up the message should acquire the lock | 19:37 |
Ritz | so if i have lets say 10 listeners then first listener should get the lock and remaining should wait in the queue | 19:38 |
harlowja | ok, first node that gets the message picks it up, seems ok, but u said u want some other job to not start until after the first job finishes | 19:38 |
Ritz | yes thats right | 19:39 |
*** ozamiatin has joined #openstack-oslo | 19:39 | |
Ritz | the the lock is on the type of job (backup) | 19:39 |
*** prad has quit IRC | 19:39 | |
*** prad has joined #openstack-oslo | 19:40 | |
harlowja | so it'd be like the following | 19:40 |
harlowja | meta job { backup, do-thing-after-backup, ...} | 19:41 |
harlowja | and u want to retain the ordering of that meta job right (where each part of it can be done by different entities) | 19:41 |
* harlowja just verifying i understand the problem | 19:41 | |
Ritz | very sorry but i didnt understand meta job that you mentioned :( | 19:42 |
*** haypo has joined #openstack-oslo | 19:42 | |
harlowja | k, maybe its not needed then | 19:42 |
harlowja | so then try tooz locks, with a lock-name that is unique enough and i think u might be ok | 19:43 |
Ritz | ahh ! | 19:43 |
*** ajo has joined #openstack-oslo | 19:43 | |
Ritz | i will take a look at that | 19:43 |
harlowja | k | 19:43 |
harlowja | Ritz http://docs.openstack.org/developer/tooz/tutorial/lock.html hopefully explains the basics (its not to hard) | 19:46 |
harlowja | the question more becomes as to what backend do u want to use (u likely need something distributed) | 19:46 |
harlowja | aka http://docs.openstack.org/developer/tooz/drivers.html | 19:46 |
harlowja | choose your poison, ha | 19:47 |
*** arnaud___ has joined #openstack-oslo | 19:50 | |
*** arnaud___ has quit IRC | 19:54 | |
*** jungleboyj has quit IRC | 19:57 | |
Ritz | :) | 19:57 |
Ritz | thanks harlowja | 19:57 |
Ritz | as usual ! | 19:58 |
*** yassine has joined #openstack-oslo | 20:03 | |
*** jungleboyj has joined #openstack-oslo | 20:08 | |
*** kgiusti has left #openstack-oslo | 20:08 | |
*** jgrimm is now known as zz_jgrimm | 20:14 | |
haypo | hum, i don't understand why gate-tempest-dsvm-largeops-src-oslo.messaging fails with https://launchpad.net/bugs/1403284 : my change on requirements.txt should not impact the installed eventlet version: https://review.openstack.org/#/c/172135/7/requirements.txt | 20:14 |
openstack | Launchpad bug 1403284 in devstack "mysql (1040, 'Too many connections')" [Undecided,In progress] - Assigned to Joe Gordon (jogo) | 20:14 |
haypo | i saw these tracebacks: http://pastealacon.com/37368 | 20:14 |
*** yassine has quit IRC | 20:47 | |
openstackgerrit | Moshe Levi proposed openstack/oslo.concurrency: Add timeout parameter to execute https://review.openstack.org/177030 | 20:56 |
*** jungleboyj has quit IRC | 20:59 | |
*** sdake_ has joined #openstack-oslo | 21:04 | |
*** andreykurilin__ has joined #openstack-oslo | 21:06 | |
*** salv-orlando has joined #openstack-oslo | 21:07 | |
*** sdake has quit IRC | 21:08 | |
openstackgerrit | Merged openstack/oslo.log: Update to latest hacking https://review.openstack.org/170497 | 21:11 |
*** salv-orl_ has joined #openstack-oslo | 21:13 | |
openstackgerrit | lifeless proposed openstack-dev/pbr: Honour new test variable PIPVERSION https://review.openstack.org/177457 | 21:13 |
*** ozamiatin has quit IRC | 21:14 | |
*** salv-orlando has quit IRC | 21:14 | |
*** sdake has joined #openstack-oslo | 21:19 | |
*** salv-orl_ has quit IRC | 21:20 | |
*** ajo has quit IRC | 21:21 | |
*** haypo has quit IRC | 21:22 | |
*** sdake_ has quit IRC | 21:23 | |
openstackgerrit | Merged openstack/oslo.log: Add pypi download + version badges https://review.openstack.org/171276 | 21:24 |
*** ajo has joined #openstack-oslo | 21:25 | |
*** e0ne has joined #openstack-oslo | 21:27 | |
*** e0ne has quit IRC | 21:29 | |
*** e0ne has joined #openstack-oslo | 21:33 | |
*** ChuckC_ is now known as ChuckC | 21:34 | |
*** jungleboyj has joined #openstack-oslo | 21:37 | |
*** arnaud___ has joined #openstack-oslo | 21:39 | |
*** arnaud___ has quit IRC | 21:43 | |
*** gordc has quit IRC | 21:44 | |
openstackgerrit | Merged openstack/oslo.messaging: Enable eventlet dependency on Python 3 https://review.openstack.org/172135 | 21:46 |
*** mriedem has quit IRC | 21:47 | |
*** bknudson has quit IRC | 21:49 | |
*** vilobhmm11 has joined #openstack-oslo | 21:51 | |
*** vilobhmm12 has joined #openstack-oslo | 21:53 | |
*** stevemar has quit IRC | 21:53 | |
*** vilobhmm1 has quit IRC | 21:53 | |
*** vilobhmm11 has quit IRC | 21:56 | |
*** prad has quit IRC | 21:57 | |
*** prad has joined #openstack-oslo | 21:58 | |
*** e0ne has quit IRC | 22:00 | |
*** sdake_ has joined #openstack-oslo | 22:11 | |
*** Kennan2 has joined #openstack-oslo | 22:12 | |
*** Kennan has quit IRC | 22:12 | |
*** sdake has quit IRC | 22:15 | |
*** Ritz has quit IRC | 22:16 | |
*** sdake has joined #openstack-oslo | 22:23 | |
*** yamahata has joined #openstack-oslo | 22:25 | |
*** sdake_ has quit IRC | 22:27 | |
*** harlowja_ has joined #openstack-oslo | 22:41 | |
*** harlowja has quit IRC | 22:41 | |
*** jungleboyj has quit IRC | 22:44 | |
*** ajo has quit IRC | 22:50 | |
*** sdake_ has joined #openstack-oslo | 22:53 | |
*** achanda has quit IRC | 22:53 | |
*** stpierre has quit IRC | 22:56 | |
*** sdake__ has joined #openstack-oslo | 22:56 | |
*** sdake has quit IRC | 22:56 | |
*** sdake_ has quit IRC | 22:59 | |
*** sigmavirus24 is now known as sigmavirus24_awa | 23:25 | |
*** arnaud___ has joined #openstack-oslo | 23:28 | |
*** arnaud___ has quit IRC | 23:32 | |
openstackgerrit | Merged openstack/oslo.messaging: Port ZMQ driver to Python 3 https://review.openstack.org/174391 | 23:32 |
*** ChuckC has quit IRC | 23:36 | |
*** takedakn has joined #openstack-oslo | 23:43 | |
*** takedakn has quit IRC | 23:46 | |
*** sdake__ has quit IRC | 23:52 | |
*** achanda has joined #openstack-oslo | 23:53 | |
*** ChuckC has joined #openstack-oslo | 23:56 | |
*** achanda has quit IRC | 23:59 | |
*** shardy_ has joined #openstack-oslo | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!