Monday, 2015-06-08

*** harlowja_at_home has quit IRC00:12
*** amotoki has joined #openstack-oslo00:55
*** amotoki has quit IRC01:01
*** amotoki has joined #openstack-oslo01:03
*** dims__ has quit IRC01:06
*** jamielennox|away is now known as jamielennox01:07
*** mriedem has quit IRC01:11
*** amotoki has quit IRC01:14
*** dims_ has joined #openstack-oslo01:58
*** Kennan2 has joined #openstack-oslo02:03
*** dims_ has quit IRC02:03
*** Kennan has quit IRC02:04
*** amotoki has joined #openstack-oslo02:22
*** davidlenwell has quit IRC02:33
openstackgerritJoshua Harlow proposed openstack/futurist: Allow providing customized event + condition classes/factories  https://review.openstack.org/18917302:58
openstackgerritJoshua Harlow proposed openstack/futurist: Allow providing customized event + condition classes/factories  https://review.openstack.org/18917303:00
*** dims_ has joined #openstack-oslo03:03
*** dims_ has quit IRC03:09
openstackgerritJoshua Harlow proposed openstack/futurist: Allow providing a executor to be able to run in parallel  https://review.openstack.org/18904103:14
openstackgerritJoshua Harlow proposed openstack/futurist: Allow providing customized event + condition classes/factories  https://review.openstack.org/18917303:15
*** vilobhmm has joined #openstack-oslo03:16
*** amotoki has quit IRC03:23
*** harlowja_at_home has joined #openstack-oslo03:27
*** mdbooth has quit IRC03:27
*** jamespage has quit IRC03:27
*** pasquier-s_ has quit IRC03:27
*** tsufiev has quit IRC03:27
*** elarson has quit IRC03:27
*** mdbooth has joined #openstack-oslo03:27
*** jamespage has joined #openstack-oslo03:28
*** jamespage has quit IRC03:28
*** jamespage has joined #openstack-oslo03:28
*** pasquier-s has joined #openstack-oslo03:28
*** elarson has joined #openstack-oslo03:28
*** tsufiev has joined #openstack-oslo03:28
*** amotoki has joined #openstack-oslo03:29
*** ashleighfarnham has joined #openstack-oslo03:44
*** davidlenwell has joined #openstack-oslo03:55
*** ashleighfarnham has quit IRC04:12
*** harlowja_at_home has quit IRC04:20
*** ashleighfarnham has joined #openstack-oslo04:25
*** achanda has joined #openstack-oslo04:33
*** achanda has quit IRC04:55
*** achanda has joined #openstack-oslo05:13
*** achanda_ has joined #openstack-oslo05:22
*** achanda has quit IRC05:23
*** achanda_ has quit IRC05:28
*** vilobhmm has quit IRC05:32
*** rpodolyaka has joined #openstack-oslo05:36
*** vilobhmm has joined #openstack-oslo05:39
*** rpodolyaka has quit IRC05:45
*** ashleighfarnham has quit IRC05:47
*** Kennan2 has quit IRC05:47
*** arnaud____ has joined #openstack-oslo05:47
*** Kennan has joined #openstack-oslo05:48
*** tteggel has quit IRC06:04
*** arnaud____ has quit IRC06:13
*** achanda has joined #openstack-oslo06:19
*** arnaud____ has joined #openstack-oslo06:20
*** inc0 has joined #openstack-oslo06:27
jd__harlowja: not sure at all, Lulu has the most recent one for sure though06:31
jd__harlowja: though let me know if you want a copy I can get you one06:31
*** dulek has joined #openstack-oslo06:39
*** tobe has joined #openstack-oslo06:45
*** mordred has quit IRC06:46
*** arnaud____ has quit IRC06:47
*** vilobhmm has quit IRC07:02
*** achanda has quit IRC07:02
*** rpodolyaka has joined #openstack-oslo07:03
*** achanda has joined #openstack-oslo07:04
*** arnaud____ has joined #openstack-oslo07:05
*** rpodolyaka has quit IRC07:14
*** jaosorior has joined #openstack-oslo07:15
*** achanda has quit IRC07:17
*** ihrachyshka has joined #openstack-oslo07:22
*** arnaud____ has quit IRC07:28
*** viktors|afk is now known as viktors07:45
*** dguitarbite has joined #openstack-oslo07:46
*** dguitarbite has quit IRC08:01
*** ihrachyshka has quit IRC08:02
*** davidlenwell has quit IRC08:06
openstackgerritElena Ezhova proposed openstack/oslo.service: Make logging option values configurable  https://review.openstack.org/18874708:09
*** davidlenwell has joined #openstack-oslo08:09
*** rpodolyaka has joined #openstack-oslo08:09
*** achanda has joined #openstack-oslo08:14
*** ndipanov has joined #openstack-oslo08:15
*** flaper87 has joined #openstack-oslo08:17
*** exploreshaifali has joined #openstack-oslo08:23
*** davidlenwell has quit IRC08:23
*** dims_ has joined #openstack-oslo08:28
*** achanda has quit IRC08:29
*** davidlenwell has joined #openstack-oslo08:30
*** achanda has joined #openstack-oslo08:30
*** yassine_ has joined #openstack-oslo08:30
*** yassine_ has quit IRC08:31
*** yassine_ has joined #openstack-oslo08:32
*** dims_ has quit IRC08:33
*** dguitarbite has joined #openstack-oslo08:34
*** achanda has quit IRC08:35
*** pblaho has joined #openstack-oslo08:45
*** ashleighfarnham has joined #openstack-oslo08:47
lifelessharlowja: taskflow isn't currently installable on 3.4 btw08:48
lifelessharlowja: jsonschema -> functools32 -> boom08:48
*** achanda has joined #openstack-oslo08:49
flaper87lifeless: :(08:49
lifelessflaper87: yeah, glance-store is also like that08:50
*** ashleighfarnham has quit IRC08:51
flaper87lifeless: TBH, I think we could/should drop jsonschema in glance_store. It's an unnecessary dependency for the simple thing it does there. I'll do that08:53
flaper87lifeless: thanks for the heads up08:53
lifelessflaper87: it might be easy to fix, I don't know08:54
lifelessflaper87: e.g. make the dependency on functools32 conditional08:54
lifelessflaper87: (which I have to presume it is intended to be)08:54
flaper87lifeless: sure but still, in the glance_store case it'd remove a dependency which is good most of the times :P08:55
flaper87lifeless: https://github.com/Julian/jsonschema/commit/be5097d249858e77906f571cb433814ba8660dc508:55
flaper87looks like they're doing some work08:55
*** ihrachyshka has joined #openstack-oslo08:56
*** e0ne has joined #openstack-oslo08:56
*** achanda has quit IRC08:56
*** dulek has quit IRC08:56
lifelessthis is the issue08:56
lifelesshttps://github.com/Julian/jsonschema/blob/master/setup.py#L2608:56
flaper87https://github.com/Julian/jsonschema/blob/master/setup.py#L29-L3008:56
lifelesscombined with https://github.com/Julian/jsonschema/blob/master/setup.cfg#L208:57
flaper87yeah08:57
lifelesstheir wheels can't be universal when their deps are turing complete08:57
*** inc0 has quit IRC08:57
lifelessI'll open a ticket for them08:57
flaper87lifeless: +108:57
*** achanda has joined #openstack-oslo08:57
*** inc0 has joined #openstack-oslo08:59
*** dulek has joined #openstack-oslo08:59
flaper87lifeless: just saw this: https://github.com/Julian/jsonschema/issues/22809:02
flaper87https://github.com/Julian/jsonschema/issues/228#issuecomment-10990654609:02
*** achanda has quit IRC09:03
lifelessflaper87: https://github.com/Julian/jsonschema/pull/23109:05
flaper87lifeless: awesome, commented to mention the bug09:08
lifelessthanks09:09
lifelessthere's another PR up already I see09:09
*** e0ne is now known as e0ne_09:10
*** haypo has joined #openstack-oslo09:18
hayposileht: hi. i used devpi-server and it saved me a lot of times with the wheel cache. but pip 7 looks to have a builtin wheel cache09:18
hayposileht: is devpi-server + your bash pipwheel function still needed with pip 7?09:18
*** cdent has joined #openstack-oslo09:20
*** e0ne_ has quit IRC09:20
*** dulek has quit IRC09:23
lifelesshaypo: it does indeed (I wrote it :))09:24
lifelesshaypo: I don't know what pipwheel does09:24
haypolifeless: i'm using http://paste.openstack.org/show/273713/09:25
haypoi just upgraded pip to 7, as usual i had issues with pip2 and pip309:25
haypoupgrading pip3 replaces /usr/bin/pip (it uses python 3)09:25
haypoupgrading pip2 removed /usr/bin/pip3 and /usr/bin/pip3.4, great09:25
*** inc0 has quit IRC09:27
*** dulek has joined #openstack-oslo09:28
*** dulek has quit IRC09:29
*** e0ne has joined #openstack-oslo09:29
*** dulek has joined #openstack-oslo09:30
*** achanda has joined #openstack-oslo09:31
lifelessso I don't think you'll need that, no :)09:31
lifelessbut you will need to manually pin jsonschema < 2.5.009:31
lifelessflaper87: did you notice if there is a g-r patch to eclude 2.5.0 ?09:32
*** alexpilotti has joined #openstack-oslo09:33
*** inc0 has joined #openstack-oslo09:33
haypolifeless: where is the wheel cache used by pip 7?09:33
*** achanda has quit IRC09:33
lifeless~/.cache/pip/wheels09:34
*** achanda has joined #openstack-oslo09:34
flaper87lifeless: not that I'm aware of09:34
silehthaypo, you means pip7 can automatically creates a cache with 'pip install' and reuse it ?09:36
lifelesssileht: yes09:37
silehtawesome09:37
hayposileht: it's a new feature hidden between the long list of "BACKWARD INCOMPATIBLE" :-) https://pip.pypa.io/en/latest/news.html09:37
* sileht upgrade now09:37
lifelesssileht: you're welcome :)09:37
lifelessflaper87: https://review.openstack.org/18923809:37
haypo"Build Wheels prior to installing from sdist, caching them in the pip cache directory to speed up subsequent installs. (PR #2618)"09:37
haypoin fact, i read  the pip 7 changelog and i completly missed this item because i didn't understand it09:38
haypoi understood it from a second source, maybe the python weekly mail or something else09:38
lifelesshttps://twitter.com/dstufft/status/58762099331891200009:39
*** haigang has joined #openstack-oslo09:40
*** cdent has quit IRC09:41
*** cdent has joined #openstack-oslo09:41
haypolifeless: i missed something. "Running setup.py install for numpy" succeeded, but find ~/.cache/pip/wheels/ -name "*numpy*" doesn't return anything09:42
haypolifeless: .tox/py34 uses pip 7.0.1 (python 3.4)09:43
haypohum. i removed ~/.cache/pip/ and i recreated .tox/py34 to make sure that my setup is clean09:45
lifelessyou'll want 7.0.309:45
lifeless7.0.0 -> 7.0.2 are sick09:45
*** kbyrne has quit IRC09:45
haypolifeless: hum. "tox -e py34" in nova starts by installing pip 7.0.109:47
haypomy system pip3 is 7.0.309:47
lifelesshaypo: update your virtualenv09:47
lifelesshaypo: virtualenv has pip and wheel and setuptools vendored within it09:48
haypoi don't like the fact that we don't control exactly the version of pbr, pip, setuptools, etc.09:48
*** kbyrne has joined #openstack-oslo09:48
haypolifeless: python 3.4 uses virtualenv ?09:48
lifelesshaypo: tox does09:49
haypoi don't like tox :-p09:49
lifelessshrug :)09:49
hayposo, i confirm: "tox -e py34" has 3 pip steps: 0, 1 and 2. the step 1 installs a lot of dependencies, but using pip 7.0.1 which fails to cache wheel (or maybe it doesn't build wheels, i have no idea)09:50
haypoat the beginning of the step 2, it's still pip 7.0.1 in nova/.tox/py3409:51
*** achanda_ has joined #openstack-oslo09:51
haypoi have virtualenv 12.0.7 which comes from my system, Fedora 2209:51
hayporeleased one or two weeks ago09:52
haypolifeless: i know that you made huge progress in the packaging tools, but there are still annoying issues09:52
haypolifeless: i have /usr/bin/virtualenv, /usr/bin/virtualenv-2.7 and /usr/bin/virtualenv-3.4. do you know which virtualenv program is used by tox to build py34?09:53
*** achanda has quit IRC09:53
haypolifeless: by the way, for all these reasons, i consider that it's risky to depend on new pip features in openstack. it's still too hard to ensure that the latest version of each packaging tool is installed09:54
silehtindeed, it works only with latest pip/tox/virtualenv09:54
*** yassine_ has quit IRC09:55
silehtI just get the new log msg: 'Building wheels for collected packages: pandas, sqlalchemy, ...'09:55
haypoat the end, nova/.tox/py34/pip is still pip 7.0.109:55
lifelesshaypo: 7.0.1 does cache09:55
haypoi don't understand why virtualenv isntalls 7.0.1. i could understand that it installs pip 1.5.4 or 6.0, but not exactly 7.0.1, whereas 7.0.3 is available09:55
lifeless7.0.2 restored environment marker support without quotes09:55
lifeless7.0.3 fixed a regression on no-cache-dir09:56
haypolifeless: "7.0.1 does cache" ~/.cache/pip/http is filled, ~/.cache/pip/wheel doesn't exist09:56
lifelessso 7.0.1 really should be removed from fedora09:56
lifelesshaypo: not wheel; wheels09:56
silehtlifeless, On my setup, the new mechanism seems not honor '--wheel-dir'09:56
lifelesssileht: for pip wheel ?09:56
haypolifeless: well, i removed ~/.cache/pip before, and after tox -e py34, ~/.cache/pip only contains http/ and log/09:57
lifelesshaypo: maybe all the deps you triggered have wheels in your already configured devpi ?09:57
silehtlifeless, in my pip.conf I have 'wheel-dir = /foobar' and it uses ~/.cache/pip/wheels/09:57
haypolifeless: i don't know where pip 7.0.1 does come from09:57
lifelesssileht: wheel-dir is only for pip wheel09:57
haypolifeless: i removed my ~/.config/pip/ directory09:58
lifelesssileht: --wheel-dir is only for manually building wheels09:58
lifelesssileht: its a different filesystem layout; we had to insulate against bad local indices (like devpi) which might have conflicting versions09:59
lifelesssileht: and that this will accumulate much more data09:59
haypooh. "python3 -m venv ENV" now fails, "FileNotFoundError: ... /usr/lib64/python3.4/ensurepip/_bundled/setuptools-2.1-py2.py3-none-any.whl". "pip3 install -U pip" broke maybe ensurepip!?09:59
haypook, i need a break, see you later...09:59
lifelesshaypo: heh, k :)09:59
lifeless10pm for me10:00
lifelessI shall be sleeping soon10:00
* sileht will move the whole cache dir so10:00
*** inc0 has quit IRC10:01
silehtlifeless, thx for this change10:02
lifelesssileht: its entirely different10:02
lifelesssileht: your old cache won't be of any use in the new location10:02
silehtlifeless, sure I have dropped my old cache10:02
lifelesssileht: just keep it where it is and keep your -f /foobar or whatever :)10:02
lifelessk10:02
*** boris-42 has joined #openstack-oslo10:04
*** tteggel has joined #openstack-oslo10:08
*** openstackgerrit has quit IRC10:09
*** dims_ has joined #openstack-oslo10:09
*** openstackgerrit has joined #openstack-oslo10:09
*** tteggel has quit IRC10:12
*** tteggel has joined #openstack-oslo10:13
*** shardy_ has joined #openstack-oslo10:19
openstackgerritDavanum Srinivas (dims) proposed openstack/oslo.versionedobjects: Remove unnecessary openstack-common.conf  https://review.openstack.org/18913310:19
openstackgerritDavanum Srinivas (dims) proposed openstack/stevedore: Remove unnecessary openstack-common.conf  https://review.openstack.org/18913410:20
*** shardy has quit IRC10:21
openstackgerritDavanum Srinivas (dims) proposed openstack-dev/oslo-cookiecutter: Remove empty script line  https://review.openstack.org/18913010:24
*** shardy_ has quit IRC10:25
*** shardy has joined #openstack-oslo10:25
openstackgerritDavanum Srinivas (dims) proposed openstack/oslo.messaging: Switch to versionutils.py from oslo_log  https://review.openstack.org/18913210:28
*** achanda_ has quit IRC10:28
*** Kiall has quit IRC10:29
*** arnaud____ has joined #openstack-oslo10:29
openstackgerritDavanum Srinivas (dims) proposed openstack/oslo.cache: Remove unnecessary openstack-common.conf  https://review.openstack.org/18925710:29
*** Kiall has joined #openstack-oslo10:31
*** rpodolyaka has quit IRC10:32
*** arnaud____ has quit IRC10:33
*** achanda has joined #openstack-oslo10:35
*** dulek_ has joined #openstack-oslo10:37
*** dulek has quit IRC10:37
*** dulek___ has joined #openstack-oslo10:39
*** dulek_ has quit IRC10:39
*** dulek___ has quit IRC10:40
*** dulek has joined #openstack-oslo10:41
*** achanda has quit IRC10:42
*** achanda has joined #openstack-oslo10:43
*** dulek has quit IRC10:43
*** achanda has quit IRC10:45
*** ozamiatin has joined #openstack-oslo10:46
*** achanda has joined #openstack-oslo10:46
*** achanda has quit IRC10:52
*** ozamiatin has quit IRC10:56
*** e0ne is now known as e0ne_10:56
*** e0ne_ is now known as e0ne10:57
*** fesp has joined #openstack-oslo11:20
*** rushiagr_away is now known as rushiagr11:22
*** tobe has quit IRC11:26
*** yassine_ has joined #openstack-oslo11:34
*** rpodolyaka has joined #openstack-oslo11:36
*** e0ne is now known as e0ne_11:38
*** e0ne_ is now known as e0ne11:39
*** haigang has quit IRC11:41
*** haigang has joined #openstack-oslo11:42
*** inc0 has joined #openstack-oslo11:51
*** rpodolyaka1 has joined #openstack-oslo11:52
*** exploreshaifali has quit IRC11:58
*** rpodolyaka1 has quit IRC11:59
*** amotoki has quit IRC12:01
*** rpodolyaka1 has joined #openstack-oslo12:09
*** haigang has quit IRC12:16
*** haigang has joined #openstack-oslo12:16
openstackgerritMerged openstack/stevedore: Remove unnecessary openstack-common.conf  https://review.openstack.org/18913412:16
*** zz_jgrimm is now known as jgrimm12:17
*** haigang has quit IRC12:18
openstackgerritMerged openstack/oslo.versionedobjects: Remove unnecessary openstack-common.conf  https://review.openstack.org/18913312:20
*** flaper87 has quit IRC12:25
*** fesp is now known as flaper8712:25
*** flaper87 has quit IRC12:25
*** flaper87 has joined #openstack-oslo12:25
*** kgiusti has joined #openstack-oslo12:26
openstackgerritMehdi Abaakouk (sileht) proposed openstack/oslo.messaging: rabbit: Add logging on blocked connection  https://review.openstack.org/18585112:28
thervehaypo, I have a weird bug with oslo.config and python3.4 that only happens at the first import12:33
thervehaypo, What are the tricks with the fist compilation that may happen?12:33
*** rpodolyaka1 has quit IRC12:34
haypotherve: what do you mean by "first import"? first import system-wide or in the same process?12:35
thervehaypo, system wide I'd say12:35
haypotherve: the import order may depend on the order of .py files in the directory, which is almost random :)12:36
haypowell, i don't know the exact reason, but it changes sometimes12:36
haypoto reproduce such bug, remove all __pycache__ directories (or just find -name "*.pyc" -delete, *.pyc not *.py ;-))12:36
*** shardy_ has joined #openstack-oslo12:36
therveHum it's super weird, now it happens every time12:37
*** shardy has quit IRC12:38
thervehaypo, http://paste.openstack.org/show/274225/ in case that rings any bell12:39
haypotherve: "TypeError: unorderable types: OptGroup() < OptGroup()" you have to define the 6 comparison methods on OptGroup12:40
haypo(which is easier using functools.total_compare)12:40
thervehaypo, Right, but shouldn't that happen every time?12:40
haypoor call sort() with a key function, i prefer this :)12:40
haypotherve: do you know if argparse is always called? is it always called with the same parameters?12:42
haypoit doesn't look to be related to imports12:42
*** dulek has joined #openstack-oslo12:42
*** shardy_ has quit IRC12:42
thervehaypo, I thought it might be related to the way opts are registered12:42
*** shardy has joined #openstack-oslo12:43
*** prad has joined #openstack-oslo12:45
*** rpodolyaka1 has joined #openstack-oslo12:46
thervehaypo, I guess when you order 2 tuples, it doesn't compared all the elements of the tuple?12:50
therveThat may be why it works sometimes12:50
*** rushiagr is now known as rushiagr_away12:50
*** ericksonsantos has quit IRC12:51
haypotherve: python compares the first element of both tuples, then the second, etc.12:51
thervehaypo, It mustn't compared all the elements every time depending on what you want to do12:52
haypoi don't know how it works if one tuple is longer :-D but i know that (2, 7, 1) > (2, 7) is true ;-)12:52
*** achanda has joined #openstack-oslo12:52
thervehaypo, http://paste.openstack.org/show/274228/12:53
therveAs oslo config uses hash to sort, it's just random12:53
haypotherve: yes, if two elements are different, following tuple items are not tested12:54
haypotherve: use PYTHONHASHSEED=0 to disable hash randomization12:54
haypoor just pick a number12:55
haypohaypo@smithers$ PYTHONHASHSEED=5 python3 -c 'print(hash("abc"))'12:55
haypo-175641525830653176112:55
haypohaypo@smithers$ PYTHONHASHSEED=5 python3 -c 'print(hash("abc"))'12:55
haypo-175641525830653176112:55
therveThat's not a solution though :)12:55
haypotherve: it's just to reproduce the bug12:55
therveIt's crazy I'm the first to see that12:57
*** yassine__ has joined #openstack-oslo12:58
therveAlso cli_opts is a deque and that's fricking hilarious12:59
*** ozamiatin has joined #openstack-oslo13:00
*** yassine_ has quit IRC13:01
*** ericksonsantos has joined #openstack-oslo13:06
openstackgerritDavanum Srinivas (dims) proposed openstack/oslo.messaging: Switch to warnings module instead of versionutils  https://review.openstack.org/18913213:08
*** amrith is now known as _amrith_13:15
*** achanda has quit IRC13:20
*** achanda has joined #openstack-oslo13:21
*** achanda has quit IRC13:26
*** superdan is now known as dansmith13:26
*** krotscheck has joined #openstack-oslo13:34
*** stpierre has joined #openstack-oslo13:36
viktorssileht: hi!13:36
silehtviktors, hi13:36
viktorssileht: I'm testing your patch https://review.openstack.org/#/c/185851 (rabbit: Add logging on blocked connection) and can't get into classmethods _on_connection_unblocked() and _on_connection_blocked(). How can I do it?13:37
openstackgerritThomas Herve proposed openstack/oslo.config: Fix sorting issue in python 3  https://review.openstack.org/18929813:37
thervehaypo, ^^^13:37
*** mriedem has joined #openstack-oslo13:38
silehtviktors, just fill all your rabbit disks13:38
*** krotscheck has quit IRC13:38
viktorssileht: :)13:38
haypotherve: cool, you have a test to reproduce the bug13:38
*** krotscheck has joined #openstack-oslo13:39
thervehaypo, Yeah it's not super pretty but it seems to work13:39
viktorssileht: "just"13:39
silehtviktors, :)13:39
*** krotscheck has quit IRC13:40
silehtviktors, dd if=/dev/zero of=/var/lib/rabbitmq/test13:40
*** mtanino has quit IRC13:40
*** krotscheck has joined #openstack-oslo13:41
haypotherve: LGTM, but i left some comments13:42
haypotherve: i don't know much the oslo.config to accept the change13:42
*** amotoki has joined #openstack-oslo13:42
thervehaypo, What do you mean by "You should rename group1 to group" ?13:43
haypotherve: you wrote "group1" but i don't understand why it's called "group1", since the group number is increased at each loop iteration13:44
therveOh yeah missed that, thanks13:45
openstackgerritThomas Herve proposed openstack/oslo.config: Fix sorting issue in python 3  https://review.openstack.org/18929813:46
*** amotoki has quit IRC13:47
*** amotoki has joined #openstack-oslo13:54
*** e0ne is now known as e0ne_13:56
*** rushiagr_away is now known as rushiagr13:58
thervejd__, So why are we comparing with hash in the first place?14:00
jd__therve: you mean __hash__? that's the behaviour of Python 3 AFAIU14:01
thervejd__, I mean that: https://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L87714:01
*** jaypipes has joined #openstack-oslo14:01
jd__therve: ?!??!? no idea, I didn't see that14:01
openstackgerritElena Ezhova proposed openstack/oslo.service: WIP: Remove usage of global config  https://review.openstack.org/18930314:02
jd__that does not make any sense to me14:02
therveYour name is 2 lines under it :D14:02
thervejd__, Also14:03
therveyou actually wrote those lines :D14:03
jd__therve: that's what I'm seeing, lol14:03
dims_:)14:03
therveI guess it just restores py2 behavior14:04
jd__therve: yeah so now that make sense, kowing my brain, I just wrote that to have sorted() working14:04
jd__exactly14:04
jd__you're as smart as me, look!!14:04
haypoi would prefer to remove this method14:04
jd__so you can change it to anything you prefer and that makes more sense14:04
haypoand call sort() with a key function14:04
jd__ok haypo the Python 3 guru arrived, I leave :p14:04
jd__haypo: that's what therve did14:04
thervejd__, Yeah except I don't want to do that and just not do sort on OptGroup :)14:04
haypoi don't think that sorting configuration options is real use case14:04
jd__therve: why is sorted used actually?14:05
jd__just to have something consistent across calls?14:05
therveIt's hard to tell14:05
jd__not a good sign14:06
haypoi like sorted output when using --help14:07
haypoit's a feature, it's maybe used for that14:07
*** e0ne_ has quit IRC14:07
jd__would make sense indeed14:07
therveThis particular call has been there forever14:08
*** e0ne has joined #openstack-oslo14:08
thervejd__, FWIW I'm doing the same as this fix: https://review.openstack.org/#/c/32502/14:10
therveNot that it's particularly satisfying14:10
*** sigmavirus24_awa is now known as sigmavirus2414:11
jd__looks like the same fix applied to a different place indeed14:11
*** achanda has joined #openstack-oslo14:12
haypotherve: if the same fix is required at least at two places, maybe a new method would help14:13
haypoself._all_cli_opts_sorted()14:13
hayposomething like that14:13
therveI guess14:14
therveAt least the crap will be locate in one spot14:15
thervejd__, Would you be ok with that?14:16
jd__therve: yeah, I still don't know why you just don't implement the comparison methods, but that's ok :)14:16
*** jecarey has joined #openstack-oslo14:17
thervejd__, I don't know it just feels dumb14:17
therveI can add it if you want14:17
jd__it's Python you are supposed to do object oriented programming, I know it feels dumb, but well :p14:18
jd__therve: whatever is the more beautiful to your eyes :)14:18
*** achanda has quit IRC14:18
jd__s/more/most/14:18
haypojd__: on python 3, you have to define 6 methods to implement all comparison operators :-(14:18
jd__just drop the current __lt__ as I said if you can as this one is pretty ugly14:18
jd__haypo: I think there's a six decorator or something to avoid that14:19
haypojd__: but @functools.total_comparison helps for that14:19
jd__yeah that's the one14:19
therveWell my feeling is that py3 dropped the comparison using hash because it was incorrect14:19
therveBy adding it back we support backward compatibility but also carry over stupid behavior14:19
haypothere is also the ugly https://docs.python.org/dev/library/functools.html#functools.cmp_to_key but i cannot use it or i make nightmares following nights14:19
therveThe question is whether we rely on that behavior or not14:19
haypotherve: if the current __lt__ method returns a stupid result, the order maybe doesn't matter at all :)14:20
haypotry to remove sorted() :-D14:20
thervehaypo, Yeah I suspect it's just not well tested though14:21
jd__if it's not tested then you can't break it, enjoy :p14:22
haypo"if it's not tested then you can't break it" i like this rule14:24
thervehaypo, I think you're right the sorted is useless here14:25
therveIt's just for multi values14:25
openstackgerritThomas Herve proposed openstack/oslo.config: Fix sorting issue in python 3  https://review.openstack.org/18929814:26
haypotherve: i like when removing code fixes an issue :)14:28
*** dguitarbite has quit IRC14:32
*** _amrith_ is now known as amrith14:35
*** clayton has joined #openstack-oslo14:36
claytonis there any way to set a value in a config file read by oslo-config to null?  The value in question has a default and I can't figure out how to unset the value entirely14:36
*** jamielennox is now known as jamielennox|away14:38
*** jgrimm is now known as zz_jgrimm14:38
*** yassine_ has joined #openstack-oslo14:54
*** achanda has joined #openstack-oslo14:56
*** r0j4z0 has quit IRC14:57
*** yassine__ has quit IRC14:57
*** r0j4z0 has joined #openstack-oslo14:57
*** ozamiatin has quit IRC15:01
*** achanda has quit IRC15:02
*** zzzeek has joined #openstack-oslo15:02
*** inc0 has quit IRC15:04
*** ozamiatin has joined #openstack-oslo15:30
*** harlowja_at_home has joined #openstack-oslo15:35
*** mtanino has joined #openstack-oslo15:38
*** tsekiyama has joined #openstack-oslo15:44
*** amrith is now known as _amrith_15:44
larsksclayton: What about including the key in the config file with no value? E.g, "log_dir=".15:45
*** sdake has joined #openstack-oslo15:47
*** sdake_ has joined #openstack-oslo15:48
*** ashleighfarnham has joined #openstack-oslo15:50
*** sdake has quit IRC15:52
*** sdake_ is now known as sdake15:56
dims_2 more mins to the oslo meeting15:58
rpodolyaka1zzzeek: hey! I left a couple of questions in https://review.openstack.org/#/c/138215/ . just a couple of moments which are not clear to me. otherwise looks good16:03
zzzeekrpodolyaka1: ok16:03
*** yassine_ has quit IRC16:04
*** rushiagr is now known as rushiagr_away16:04
*** amotoki has quit IRC16:08
*** amotoki has joined #openstack-oslo16:08
*** yamahata has joined #openstack-oslo16:15
*** achanda has joined #openstack-oslo16:16
harlowja_at_homejd__, http://www.iso.org/iso/home/standards/iso8601.htm16:28
harlowja_at_homelol16:28
harlowja_at_home'How can I get ISO 8601?16:28
harlowja_at_homeYou can buy the full standard from the ISO Store, or from the ISO member in your country. '16:28
openstackgerritMerged openstack/oslo.db: Replace utils method with oslo.utils reflection provided one  https://review.openstack.org/18908116:28
* harlowja_at_home wonders who the ISO member is in my country, lol16:29
harlowja_at_homeweird ass standard, if i need to pay for the spec :-P16:29
harlowja_at_homemaybe thats why its always wrongly implemented, nobody wanted to pay for it16:29
harlowja_at_homelol16:29
ozamiatin:)16:30
jd__harlowja_at_home: not sure we want to go that road :)16:33
harlowja_at_home:)16:33
openstackgerritMerged openstack/oslo.messaging: Reduce `magic` conf attribute usage  https://review.openstack.org/18792316:40
*** achanda has quit IRC16:41
claytonlarsks: tried that, but no luck16:41
openstackgerritMerged openstack/oslo.messaging: Set places to 0 in self.assertAlmostEqual()  https://review.openstack.org/18672616:41
*** rushiagr_away is now known as rushiagr16:44
*** achanda has joined #openstack-oslo16:44
*** bnemec has quit IRC16:45
*** bnemec has joined #openstack-oslo16:46
*** _amrith_ is now known as amrith16:48
openstackgerritMerged openstack/oslo.config: Fix sorting issue in python 3  https://review.openstack.org/18929816:50
bknudsonhttp://tools.ietf.org/html/rfc3339 defines an iso8601 profile16:53
*** exploreshaifali has joined #openstack-oslo16:53
bknudsonharlowja_at_home: if you're in the US youre ISO member is ANSI16:55
bknudsonhttp://webstore.ansi.org/SdoInfo.aspx?sdoid=3916:55
harlowja_at_homeintersting16:57
harlowja_at_home'Members receive up to 20% discount on ISO standards'16:57
harlowja_at_homedamnit, why isn't this stuff free, lol16:57
harlowja_at_homeno wonder everyone gets these things wrong, lol16:58
*** harlowja_at_home has quit IRC16:59
*** rpodolyaka1 has quit IRC17:00
*** vilobhmm has joined #openstack-oslo17:03
*** amotoki has quit IRC17:04
*** e0ne has quit IRC17:06
*** ihrachyshka has quit IRC17:06
*** SlickNik has joined #openstack-oslo17:07
*** dims has joined #openstack-oslo17:07
*** vipul has joined #openstack-oslo17:08
*** dims_ has quit IRC17:10
*** ozamiatin has quit IRC17:18
*** sputnik13 has joined #openstack-oslo17:25
openstackgerritDavanum Srinivas (dims) proposed openstack/oslo.messaging: Switch to warnings module instead of versionutils  https://review.openstack.org/18913217:28
*** pradk has joined #openstack-oslo17:30
*** rushiagr is now known as rushiagr_away17:33
flaper87sileht: around? Have we ever considered having some gate scripts in oslo.messaging? ala gnocchi, zaqar17:35
flaper87I think we'll probably need them for the amqp driver17:35
*** sc68cal has joined #openstack-oslo17:40
sc68caldims: sorry, was at lunch when you mentioned me in the meeting17:41
*** cdent has quit IRC17:42
harlowjasputnik13 dims soooo, sputnik13 was willing/able(?) to become a automaton core, since its a newly starting library, still need to go through the ML for that?17:48
harlowjasputnik13 u still willing/able(?) right? lol17:48
dimshi sc68cal: were you able to catch the conversation? (see around 16:54 in http://eavesdrop.openstack.org/meetings/oslo/2015/oslo.2015-06-08-15.59.log.html)17:52
harlowjalet me know and i can setup conversations with 'big scale' ,lol17:53
harlowja*for some X of big scale, lol17:53
harlowjalol17:53
sc68caldims: yes I read scrollback17:53
*** zz_jgrimm is now known as jgrimm17:53
sc68calin general, just saying that neutron server is bad and needs redesign isn't really actionable I think on our end17:54
dimssc68cal: totally agree. i just wanted to see if there were efforts already in this area17:56
dimsthat i could point him to17:56
sputnik13harlowja: willing and able17:56
sputnik13:)17:56
sc68caldims: not to my knowledge, sorry17:58
dimssputnik13: nice17:58
dimssc68cal: thanks!17:58
sc68caldims: I'm probably the wrong person to ask about it however, perhaps a post to the ML is in order?17:58
dimsharlowja: drop an email to the -dev please?17:58
dimssc68cal: y didn't want to drop a random note without myself researching first :)17:58
sputnik13dims: do you know the contact for the person from pivotal that dropped by at the oslo.messaging meeting at the summit?17:58
sputnik13or do you know who has that?17:58
harlowjadims sure17:59
*** achanda_ has joined #openstack-oslo17:59
dimssputnik13: michael klishin - http://openstack.markmail.org/search/?q=klishin17:59
sputnik13dims: thanks18:00
sputnik13dims: wait, is that the person or someone I can get a hold of to get the person? :)18:00
harlowjaperson to get the person that knows the persons uncle who knows the person18:00
harlowjalol18:00
sputnik13oops, n/m, I got it, it's the guy18:00
dimssputnik13: michael is the person who spoke18:00
dimsat the summit18:00
sputnik13cool, thanks dims18:00
*** achanda has quit IRC18:02
*** sdake has quit IRC18:02
*** sdake has joined #openstack-oslo18:02
*** exploreshaifali has quit IRC18:04
*** e0ne has joined #openstack-oslo18:08
*** openstackgerrit has quit IRC18:09
*** openstackgerrit has joined #openstack-oslo18:09
silehtflaper87, I currently use devstack to setup qpid/rabbit/zeromq/..., but I have planned to move to custom script18:11
silehtflaper87, the jobs will run quicker with custom script18:11
silehtflaper87, https://bugs.launchpad.net/oslo.messaging/+bug/144261218:11
openstackLaunchpad bug 1442612 in oslo.messaging "Functional tests should be detached from devstack" [Low,Confirmed]18:11
flaper87sileht: yes, pls!18:12
flaper87sileht: did you start working on that already?18:13
flaper87add me to the reviews18:13
silehtflaper87, nop18:13
silehtflaper87, that would be easier to run test locally too18:14
flaper87sileht: agreed18:15
flaper87I'll see if I can find some time to help with that18:15
*** rushiagr_away is now known as rushiagr18:18
*** browne has joined #openstack-oslo18:19
*** krotscheck is now known as krotscheck_confe18:21
*** shardy_ has joined #openstack-oslo18:21
*** krotscheck_confe is now known as krotsch_at_con18:21
*** shardy has quit IRC18:22
*** rpodolyaka1 has joined #openstack-oslo18:23
*** e0ne is now known as e0ne_18:25
*** shardy_ has quit IRC18:26
*** shardy has joined #openstack-oslo18:27
harlowjasputnik13 dims  http://lists.openstack.org/pipermail/openstack-dev/2015-June/066205.html18:30
*** e0ne_ has quit IRC18:30
lifelessdims: you pinged18:32
*** achanda_ has quit IRC18:32
dimslifeless: toabctl was asking about a pbr release - http://eavesdrop.openstack.org/meetings/oslo/2015/oslo.2015-06-08-15.59.log.txt (see around 16:18:14)18:33
lifelessyes18:37
lifelessI can check with infra and cut one now18:37
*** rpodolyaka1 has quit IRC18:37
*** rushiagr is now known as rushiagr_away18:40
*** achanda has joined #openstack-oslo18:41
*** e0ne has joined #openstack-oslo18:46
*** krotsch_at_con is now known as krotsck_at_con18:46
*** achanda has quit IRC18:46
dimsthanks lifeless, we could wait till tomorrow as well. not in a hurry18:47
*** rpodolyaka1 has joined #openstack-oslo18:51
*** Rockyg has joined #openstack-oslo18:58
openstackgerritMerged openstack/futurist: Add some basic tests to ensure executors work  https://review.openstack.org/18914619:11
*** Kiall_ has joined #openstack-oslo19:13
*** prad__ has joined #openstack-oslo19:14
*** BAKfr_ has joined #openstack-oslo19:15
*** Kiall has quit IRC19:15
*** BAKfr has quit IRC19:15
*** BAKfr_ is now known as BAKfr19:15
*** prad__ has quit IRC19:23
*** pradk has quit IRC19:28
openstackgerritJoshua Harlow proposed openstack/futurist: Add a periodics module that runs functions periodically  https://review.openstack.org/18903219:37
openstackgerritMitsuhiro Tanino proposed openstack/oslo.service: Wait exit of child processes via ProcessLauncher when they recieve SIGKILL  https://review.openstack.org/18941819:47
openstackgerritMitsuhiro Tanino proposed openstack/oslo.service: Wait exit of child processes via ProcessLauncher when they recieve SIGKILL  https://review.openstack.org/18941819:51
*** r0j4z0 has quit IRC19:51
openstackgerritJoshua Harlow proposed openstack/futurist: Allow providing a executor to be able to run in parallel  https://review.openstack.org/18904119:56
*** ozamiatin has joined #openstack-oslo19:59
*** rpodolyaka1 has quit IRC19:59
*** dulek has quit IRC20:05
*** amrith is now known as _amrith_20:07
*** sputnik13 has quit IRC20:15
*** exploreshaifali has joined #openstack-oslo20:23
*** Rockyg has quit IRC20:29
*** sputnik13 has joined #openstack-oslo20:32
*** shardy_ has joined #openstack-oslo20:34
*** shardy has quit IRC20:36
*** sputnik13 has quit IRC20:39
*** shardy_ has quit IRC20:40
*** shardy has joined #openstack-oslo20:40
*** achanda has joined #openstack-oslo20:51
*** sputnik13 has joined #openstack-oslo20:53
*** achanda has quit IRC20:56
*** pradk has joined #openstack-oslo20:57
*** sputnik13 has quit IRC21:08
*** sputnik13 has joined #openstack-oslo21:10
*** sputnik13 has quit IRC21:11
*** sputnik13 has joined #openstack-oslo21:12
*** jgrimm is now known as zz_jgrimm21:17
*** sdake_ has joined #openstack-oslo21:19
*** mriedem is now known as mriedem_away21:20
openstackgerritOpenStack Proposal Bot proposed openstack/taskflow: Updated from global requirements  https://review.openstack.org/18946521:20
*** sdake has quit IRC21:23
*** kgiusti has quit IRC21:24
*** davideagnello has joined #openstack-oslo21:29
*** exploreshaifali has quit IRC21:40
*** exploreshaifali has joined #openstack-oslo21:41
*** EmilienM is now known as EmilienM|afk21:41
openstackgerritMichael Bayer proposed openstack/oslo.db: Switch from MySQL-python to PyMySQL  https://review.openstack.org/18439221:45
*** achanda has joined #openstack-oslo21:51
*** achanda has quit IRC21:57
*** achanda has joined #openstack-oslo21:59
*** exploreshaifali has quit IRC22:05
*** sputnik13 has quit IRC22:07
*** achanda has quit IRC22:08
*** sputnik13 has joined #openstack-oslo22:08
*** pradk has quit IRC22:08
*** krotsck_at_con is now known as krotscheck22:08
*** stpierre has quit IRC22:09
*** ozamiatin has quit IRC22:52
*** jecarey has quit IRC22:53
openstackgerritMerged openstack/taskflow: Add a new `ls_r` method  https://review.openstack.org/18319422:59
*** e0ne has quit IRC23:05
*** zzzeek has quit IRC23:11
openstackgerritJoshua Harlow proposed openstack/futurist: Allow providing customized event + condition classes/factories  https://review.openstack.org/18917323:20
*** EmilienM|afk is now known as EmilienM23:20
openstackgerritMerged openstack/taskflow: Updated from global requirements  https://review.openstack.org/18946523:22
openstackgerritJoshua Harlow proposed openstack/futurist: Allow synchronous executors to run in green compat. mode  https://review.openstack.org/18904223:23
openstackgerritJoshua Harlow proposed openstack/futurist: Allow synchronous executors to run in green compat. mode  https://review.openstack.org/18904223:24
harlowjaeezhova yt23:26
harlowjau might be interested in https://review.openstack.org/#/c/189032/ and its dependents23:27
harlowjait might just make oslo.service code for periodic stuff not needed23:27
harlowjaespecially https://review.openstack.org/#/c/189041/ which makes it even better imho23:27
harlowja*no more blocking up due to long-running periodic tasks23:28
*** jaosorior has quit IRC23:31
*** sputnik13 has quit IRC23:32
*** jaypipes has quit IRC23:35
openstackgerritJoshua Harlow proposed openstack/tooz: Make the file driver more capable (with regard to groups)  https://review.openstack.org/18775023:36
openstackgerritJoshua Harlow proposed openstack/tooz: Add watch file driver support  https://review.openstack.org/18824623:36
*** _amrith_ is now known as amrith23:46
openstackgerritJoshua Harlow proposed openstack/futurist: Allow synchronous executors to run in green compat. mode  https://review.openstack.org/18904223:56
*** sputnik13 has joined #openstack-oslo23:57
*** sputnik13 has quit IRC23:59

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