Wednesday, 2015-02-04

*** _Patang has quit IRC00:03
*** Patang has joined #openstack-oslo00:03
*** sigmavirus24 is now known as sigmavirus24_awa00:07
*** Patang has quit IRC00:09
*** alexpilotti has quit IRC00:10
*** marun has quit IRC00:11
*** andreykurilin_ has quit IRC00:16
*** dims has quit IRC00:22
*** dims has joined #openstack-oslo00:23
*** oomichi has joined #openstack-oslo00:26
openstackgerritJoshua Harlow proposed openstack/taskflow: Bump up the env_builder.sh to 2.7.9  https://review.openstack.org/15275000:51
*** david-lyle is now known as david-lyle_afk00:57
*** zzzeek has quit IRC01:00
*** tsekiyam_ has joined #openstack-oslo01:16
*** mtanino has quit IRC01:19
*** achanda_ has joined #openstack-oslo01:19
*** tsekiyama has quit IRC01:20
*** tsekiyam_ has quit IRC01:21
*** achanda has quit IRC01:22
*** achanda_ has quit IRC01:24
openstackgerritzhangjl proposed openstack/oslo.messaging: Fix the bug redis do not delete the expired keys  https://review.openstack.org/15247101:28
*** dims has quit IRC01:33
*** amrith is now known as _amrith_01:34
*** mriedem has quit IRC01:38
*** dims has joined #openstack-oslo01:38
*** Patang has joined #openstack-oslo01:40
*** dims has quit IRC01:42
*** dims has joined #openstack-oslo01:42
*** sputnik13 has quit IRC01:52
openstackgerritMerged openstack/oslo-incubator: Refactor graduate.sh  https://review.openstack.org/15102701:56
openstackgerritMerged openstack/oslotest: Move the script for running pre-releases into oslotest  https://review.openstack.org/15175302:02
*** noelbk has quit IRC02:02
openstackgerritMerged openstack/oslo-incubator: Fix spelling of noteables -> notables  https://review.openstack.org/14797402:02
openstackgerritMerged openstack/oslo-incubator: Report: Add basic processes section  https://review.openstack.org/7879302:04
jogodhellmann: http://docs-draft.openstack.org/80/136380/7/check/gate-nova-docs/28be8b3//doc/build/html/support-matrix.html02:05
jogodhellmann: can we make the oslo docs format support variable width?02:06
jogoeven if I full screen that page the text almost 50% of the page is blank02:07
*** sputnik13 has joined #openstack-oslo02:14
openstackgerritLi Ma proposed openstack/oslo.messaging: Increase rpc_response_timeout  https://review.openstack.org/15197902:21
*** sigmavirus24_awa is now known as sigmavirus2402:26
*** tsekiyama has joined #openstack-oslo02:27
*** sigmavirus24 is now known as sigmavirus24_awa02:27
*** salv-orlando has quit IRC02:29
*** tsekiyama has quit IRC02:31
*** dims has quit IRC02:35
*** noelbk has joined #openstack-oslo02:35
*** dims has joined #openstack-oslo02:36
openstackgerritMerged openstack/oslo.messaging: Implements notification-dispatcher-filter  https://review.openstack.org/7788602:40
openstackgerritMerged openstack/oslo.messaging: Add the threading executor setup.cfg entrypoint  https://review.openstack.org/15237802:40
*** noelbk has quit IRC02:40
openstackgerritMerged openstack/oslo.messaging: Move each drivers options into its own group  https://review.openstack.org/12003802:42
*** rushiagr_away is now known as rushiagr02:48
*** dims has quit IRC02:51
openstackgerritBalaji Narayanan proposed openstack/taskflow: Improved diagram for Taskflow  https://review.openstack.org/15235403:17
*** rushiagr is now known as rushiagr_away03:19
*** stevemar has quit IRC03:23
*** stevemar has joined #openstack-oslo03:24
*** harlowja is now known as harlowja_away03:28
*** rushiagr_away is now known as rushiagr03:45
*** noelbk has joined #openstack-oslo03:47
*** noelbk has quit IRC03:54
stevemaranyone familiar with oslo_log around?04:16
stevemarerr... oslo.log04:16
stevemartrying to migrate from the oslo-incubator log handler to oslo.log for keystone, but running into some problems with loggers.WritableLogger04:17
*** achanda has joined #openstack-oslo04:20
*** achanda has quit IRC04:22
*** achanda has joined #openstack-oslo04:22
*** noelbk has joined #openstack-oslo04:27
openstackgerritBalaji Narayanan proposed openstack/taskflow: Improved diagram for Taskflow  https://review.openstack.org/15235404:53
*** oomichi has quit IRC05:04
*** noelbk has quit IRC05:08
*** david-lyle_afk has quit IRC05:11
*** achanda has quit IRC05:11
*** david-lyle_afk has joined #openstack-oslo05:11
*** ajo has joined #openstack-oslo05:12
*** harlowja_away has quit IRC05:19
*** achanda has joined #openstack-oslo05:27
*** mtreinish has quit IRC05:40
*** ankit_ag has joined #openstack-oslo05:49
*** dims has joined #openstack-oslo05:52
ankit_agHi all05:53
ankit_agrequest_utils module has been removed from oslo-incubator project which we need to sync in Nova to log cross project request-id mappings. For now I'm planning to put that code in Nova project itself, could someone please suggest a better way to proceed on this.05:54
*** mtreinish has joined #openstack-oslo05:56
*** dims has quit IRC05:57
*** achanda has quit IRC06:00
*** achanda has joined #openstack-oslo06:05
*** achanda has quit IRC06:13
*** inc0 has joined #openstack-oslo06:16
*** enykeev has joined #openstack-oslo06:17
*** vigneshvar has joined #openstack-oslo06:22
*** achanda has joined #openstack-oslo06:35
openstackgerritMerged openstack/oslo.vmware: Updated from global requirements  https://review.openstack.org/15272106:41
openstackgerritSteve Martinelli proposed openstack/oslo.policy: Remove openstack.common.local  https://review.openstack.org/15280506:49
openstackgerritSteve Martinelli proposed openstack/oslo.policy: Use oslo_i18n  https://review.openstack.org/15280606:55
*** pblaho has joined #openstack-oslo06:58
openstackgerritSteve Martinelli proposed openstack/oslo.policy: Use oslo namespaces for oslo libraries  https://review.openstack.org/15280806:59
*** stevemar has quit IRC07:06
*** harlowja_at_home has joined #openstack-oslo07:10
*** sputnik13 has quit IRC07:12
*** sputnik13 has joined #openstack-oslo07:16
*** ajo has quit IRC07:22
*** dtantsur|afk is now known as dtantsur07:22
openstackgerritSteve Martinelli proposed openstack/oslo-incubator: Remove policy from oslo-incubator  https://review.openstack.org/15281207:29
openstackgerritSteve Martinelli proposed openstack/oslo-incubator: Prevent update.py from updating policy  https://review.openstack.org/15281307:31
*** ajo has joined #openstack-oslo07:39
openstackgerritSteve Martinelli proposed openstack/oslo-incubator: Remove policy from oslo-incubator  https://review.openstack.org/15281207:42
openstackgerritSteve Martinelli proposed openstack/oslo-incubator: Prevent update.py from updating policy  https://review.openstack.org/15281307:42
openstackgerritMerged openstack/taskflow: Use class constants during pformatting a tree node  https://review.openstack.org/15199607:46
*** achanda has quit IRC07:46
*** e0ne has joined #openstack-oslo07:52
*** dulek has joined #openstack-oslo07:57
*** achanda has joined #openstack-oslo08:01
*** harlowja_at_home has quit IRC08:02
*** ajo has quit IRC08:10
*** achanda has quit IRC08:26
*** jaosorior has joined #openstack-oslo08:29
openstackgerrityangxurong proposed openstack/taskflow: Remove dumplicate code  https://review.openstack.org/15282608:42
*** ajo has joined #openstack-oslo09:05
*** takedakn has joined #openstack-oslo09:12
*** e0ne has quit IRC09:12
*** mfedosin has quit IRC09:20
*** takedakn has quit IRC09:29
*** salv-orlando has joined #openstack-oslo09:37
*** boris-42 has joined #openstack-oslo09:39
*** e0ne has joined #openstack-oslo09:57
*** e0ne is now known as e0ne_10:04
*** andreykurilin_ has joined #openstack-oslo10:08
*** ihrachyshka has joined #openstack-oslo10:12
*** e0ne_ is now known as e0ne10:12
*** dtantsur is now known as dtantsur|bbl10:13
*** pasquier-s has quit IRC10:21
*** pasquier-s has joined #openstack-oslo10:36
*** jaosorior has quit IRC10:46
*** alexpilotti has joined #openstack-oslo10:47
*** rushiagr has quit IRC10:52
*** dtantsur|bbl is now known as dtantsur10:56
*** vigneshvar has quit IRC10:57
*** dims has joined #openstack-oslo10:57
*** dims has quit IRC11:01
*** rushiagr has joined #openstack-oslo11:02
*** dims has joined #openstack-oslo11:02
*** vigneshvar has joined #openstack-oslo11:02
openstackgerritRoman Podoliaka proposed openstack/oslo.db: Organize provisioning to use testresources  https://review.openstack.org/12087011:03
*** ihrachyshka has quit IRC11:04
*** cdent has joined #openstack-oslo11:06
*** andreykurilin_ has quit IRC11:20
*** i159 has joined #openstack-oslo11:21
*** e0ne is now known as e0ne_11:21
*** e0ne_ has quit IRC11:31
*** ankit_ag has quit IRC11:37
*** sputnik13 has quit IRC11:38
ajodhellmann: do you have a minute to look at https://bugs.launchpad.net/oslo.rootwrap/+bug/1417331 ?11:41
ajoI'm already working on it, but if you could have a look to confirm our reasoning looks correct11:42
ajothat would be awesoem11:42
ajoawesome11:42
*** ihrachyshka has joined #openstack-oslo11:52
*** pasquier-s has quit IRC11:58
*** david-lyle_afk is now known as david-lyle12:01
*** SlickN1k has joined #openstack-oslo12:12
ajoihrachyshka, can you double check marun and me are making sense here: https://bugs.launchpad.net/oslo.rootwrap/+bug/1417331 ?12:13
ajowhen you have a minute.12:13
ajoI'm working on it12:13
ajoto propose a patch12:13
*** pasquier-s has joined #openstack-oslo12:13
ajoTL;DR, basically, ip netns exec $12:13
*** alexpilotti has quit IRC12:13
ajoTL;DR, basically, ip netns exec $*, doesn't expand $* exec path to an absolute version12:13
*** i159_ has joined #openstack-oslo12:14
ajothat's done normally for the CommandFilter, because you want to enforce certain paths, and... because "sudo" env may have other paths defined12:14
ajomarun was missing that for functional testing, when we provides a rootwrap config also pointing to specific test binaries.12:15
*** trown|call has joined #openstack-oslo12:16
ihrachyshkaajo, that sounds reasonable, I saw that issue when running tests locally.12:17
ajothanks ihrachyshka12:17
*** rodrigod` has joined #openstack-oslo12:18
*** subscope has quit IRC12:19
*** subscope has joined #openstack-oslo12:20
*** i159 has quit IRC12:20
*** trown has quit IRC12:20
*** rodrigods has quit IRC12:20
*** svasheka has quit IRC12:20
*** SlickNik has quit IRC12:20
*** SlickN1k is now known as SlickNik12:20
*** rodrigod` is now known as rodrigods12:22
*** rodrigods has quit IRC12:22
*** rodrigods has joined #openstack-oslo12:22
*** svasheka has joined #openstack-oslo12:24
*** viktors has joined #openstack-oslo12:28
*** david-lyle is now known as david-lyle_afk12:36
*** ihrachyshka_ has joined #openstack-oslo12:36
*** ihrachyshka has quit IRC12:36
*** david-lyle_afk is now known as david-lyle12:36
*** david-lyle is now known as david-lyle_afk12:44
*** david-lyle_afk is now known as david-lyle12:45
*** jaosorior has joined #openstack-oslo12:45
*** takedakn has joined #openstack-oslo12:47
*** e0ne has joined #openstack-oslo12:53
*** vipul has quit IRC12:59
*** vipul has joined #openstack-oslo13:03
*** e0ne is now known as e0ne_13:04
*** e0ne_ is now known as e0ne13:05
bretonoslo_db, I'd appreciate if you had a look at https://review.openstack.org/#/c/134885/ . I'd really love to see it in the next release13:09
*** dims has quit IRC13:10
*** bknudson has joined #openstack-oslo13:11
*** dims has joined #openstack-oslo13:19
*** prad has joined #openstack-oslo13:19
*** dims has quit IRC13:28
*** e0ne is now known as e0ne_13:29
*** prad has quit IRC13:31
*** kgiusti has joined #openstack-oslo13:36
*** e0ne_ is now known as e0ne13:38
*** vigneshvar has quit IRC13:43
*** trown|call is now known as trown13:43
*** rushiagr is now known as rushiagr_away13:45
*** _amrith_ is now known as amrith13:54
dhellmannjogo: annegentle is working on a new theme for docs, but I'm not sure if it's meant to be used for developer docs or not. Either way, I'd be happy to have that be more responsive.13:58
inc0dhellmann, hi, any news about gerrit by any chance?:)13:59
dhellmannajo: you want to talk to ttx about rootwrap stuff, he leads that team14:00
ajodhellmann, thanks, I will14:00
ttxajo: hi14:01
ajottx: https://bugs.launchpad.net/oslo.rootwrap/+bug/1417331 could you look that bug ?14:01
dhellmanninc0: I want to give the oslo core team a few days to look at the repo being imported, so we won't do anything before next week14:01
ajoI'm working to provide a bugfix, but I wanted to double check it makes sense14:01
inc0dhellmann, roger that14:01
inc0let me know if there is anything for me to help with14:02
ajottx, the problem is that IpNetns filter doesn't expand the exec path for the argument after ip netns exec net-namespace $0 ....14:02
dhellmannbreton: added to my review queue14:02
ttxajo: reminds me of another bug14:02
ajoso even if we provide extra exec_dirs during testing to rootwrap.conf, those won't be accessible (due that sudo has differen paths)14:02
ajodifferent14:02
dhellmanninc0: thanks, as soon as we have it imported I'll email the dev list and we can start cleaning it up. you'll want to coordinate with dansmith, since he's the lead dev for the library14:03
ajottx, which one?14:03
ttxhttps://bugs.launchpad.net/oslo.rootwrap/+bug/139427914:03
ajottx: our problem is that we want to use rootwrap in functional testing, without fully installing the environment to the system14:03
ttxsame: issues running rootwrap from a venv14:04
ttxthat one with KillFilter trying to kill a venv-local python process14:04
ajoahaa, very similar, yes14:04
ajoI'm reading your comments14:05
ttxajo: might not be as much of a corner case as I thought14:05
ttxso maybe worth making that change14:05
ttxThe issue being the match function doesn't have exec_dirs handy, so we need to change the filter contract14:06
ttxunless you find a more creative way to solve it14:06
*** dulek has quit IRC14:06
ajottx: ack, I will talk about this with marun, may be we can just set the secure path in sudo config for the functional testing environment14:06
*** takedakn has quit IRC14:07
*** dulek has joined #openstack-oslo14:07
ajottx: I have a half-way cooked patch ,14:07
ajobut I broke the matching14:07
ttxright14:07
ttxI mean, I'm not opposed to chnage that, but we need to make sure it's really worth it ;)14:07
ajottx: but if we have a simpler solution, may be it's not worth adding complexity to rootwrap for a corner case14:07
ajottx: ack, let's check the simple solution first14:08
ttxajo: keep me posted14:08
ajocommenting on the new bug,14:08
ajook ttx, thanks a lot14:08
ttxyou can refer to the other one, will make it easier to find14:08
ajosure14:08
ajobtw, I will post my half-cooked patch as WIP for reference / backup,14:10
openstackgerritMiguel Angel Ajo proposed openstack/oslo.rootwrap: WIP: expand IpNetnsFilter executable path from exec_dirs  https://review.openstack.org/15290214:17
*** rushiagr_away is now known as rushiagr14:18
*** prad has joined #openstack-oslo14:19
ajottx ^  the WIP patch, for reference, I made some comment on it,14:20
ajoif we finally need to support it, we can do the exec / exec_dirs lookup as a final step after matching14:21
ajoif there is no better place to do it14:21
ajoright now it's broken, as I expand before trying to match ':)14:22
*** jecarey has quit IRC14:28
*** dims has joined #openstack-oslo14:29
*** gordc has joined #openstack-oslo14:29
*** dims_ has joined #openstack-oslo14:33
bretondhellmann: thanks in advance14:37
*** dims has quit IRC14:37
*** andrearo1 has joined #openstack-oslo14:43
*** e0ne is now known as e0ne_14:44
*** mriedem has joined #openstack-oslo14:45
*** andrearosa has quit IRC14:45
*** dulek has quit IRC14:46
*** dulek has joined #openstack-oslo14:47
*** e0ne_ is now known as e0ne14:47
*** andrearo1 is now known as andrearosa14:52
dims_breton: lgtm.14:53
*** sigmavirus24_awa is now known as sigmavirus2415:00
*** kgiusti has quit IRC15:02
*** kgiusti has joined #openstack-oslo15:05
*** zz_jgrimm is now known as jgrimm15:09
*** ihrachyshka_ is now known as ihrachyshka15:13
*** amotoki has joined #openstack-oslo15:20
bretondims_: awesome, thank you15:21
*** mtanino has joined #openstack-oslo15:22
*** yamahata has joined #openstack-oslo15:28
openstackgerritMehdi Abaakouk proposed openstack/oslo.messaging: rabbit: allow to configure heartbeat rate  https://review.openstack.org/15220115:29
openstackgerritMehdi Abaakouk proposed openstack/oslo.messaging: rabbit: heartbeat implementation  https://review.openstack.org/14604715:29
*** jecarey has joined #openstack-oslo15:34
openstackgerritMerged openstack/oslo.db: Refactor database migration manager to use given engine  https://review.openstack.org/13488515:35
*** e0ne is now known as e0ne_15:37
*** ChuckC has joined #openstack-oslo15:40
*** ChuckC_ has quit IRC15:41
*** e0ne_ is now known as e0ne15:47
dims_denis_makogon: ozamiatin: i see 2 bugs for adding global requirements for oslo.messaging. did anyone try filing reviews yet?15:50
denis_makogondims_, hi there, which ones?15:50
ozamiatindims_, no i didn't15:51
dims_https://bugs.launchpad.net/oslo.messaging/+bug/1417505 https://bugs.launchpad.net/oslo.messaging/+bug/141713215:51
dims_dhellmann: sileht: would optional dependencies in oslo.messaging ever get blessed by requirements-core folks?15:55
openstackgerritJoshua Harlow proposed openstack/taskflow: Remove duplicate code  https://review.openstack.org/15282615:57
denis_makogondims_, ozamiatin will fix those bugs soon, so there would be something to approve =)15:57
dims_haha denis_makogon15:57
ozamiatin:)15:58
dims_denis_makogon: you mentioned something about load testing for oslo.messaging, is there a spec or review?16:02
*** pblaho has quit IRC16:04
*** tsekiyama has joined #openstack-oslo16:04
denis_makogondims_, for now, we don't have but we're currently trying to build a tool that works in that manner that i've described  in ML, so, once we'd have something more concrete to propose, we'd publish spec, i would foresee that it would happen in couple weeks16:04
dims_denis_makogon: very cool16:04
dims_sileht: ^^16:05
openstackgerritOleksii Zamiatin proposed openstack/oslo.messaging: Missed requirements for zmq oslo.messaging  https://review.openstack.org/15296616:09
*** inc0 has quit IRC16:11
silehtdims_, requirements are already in test-requirements*.txt16:13
silehtdims_, we don't want to enforce everybody to install zmq/redis stuffs16:14
*** stevemar has joined #openstack-oslo16:14
ozamiatinsileht, but devstack need them too16:14
ozamiatinsileht how to make it optional to install?16:14
*** ChuckC_ has joined #openstack-oslo16:14
silehtozamiatin, devstack manually install them, when you setup zeromq16:14
ozamiatinsileht, now it doesn't :(16:15
dhellmanndims_: what sort of optional dependencies?16:15
silehtozamiatin, see https://github.com/openstack-dev/devstack/blob/master/lib/rpc_backend#L16416:15
silehtand see https://github.com/openstack-dev/devstack/blob/master/lib/rpc_backend#L17616:15
dims_dhellmann: zmq and redis was what the bugs from oslo.messaging ask for16:16
dhellmanndims_: ah, see sileht's response ^^16:16
dims_dhellmann: very interesting :) didn't realize we had one more layer of dependencies in the scripts :)16:17
*** ChuckC has quit IRC16:17
dhellmanndims_: The "O" in OpenStack stands for "onion"16:17
ozamiatinsileht, thanks for pointing that, I'll check why it wasn't installed properly on my workstation16:18
dims_dhellmann: makes you cry as you peel it :)16:20
dhellmanndims_: exactly16:20
silehtdhellmann, dims_ the big quesions is, should optional be in the requirements.txt ?16:20
dhellmannsileht: yes, keep them optional16:20
dims_sileht: i've seen push back from requirements-core folks16:20
dims_to add to global-requirements.txt16:21
dhellmannwe have this problem with drivers all over openstack, and the current standard is to keep them in test-requirements.txt16:21
silehtso let's close these bugs :)16:21
dhellmannor retarget them, if devstack isn't installing what it needs properly?16:22
silehtdhellmann, it works with devstack I have tested them to prepare the funcionnal tests for gate16:22
dhellmannsileht: cool, just checking16:23
ozamiatinI'll check once more and then I'll update the status16:23
silehtozamiatin, cool thanks, I use trusty if that's help16:23
silehtdhellmann, I'm waiting for infra guys to enable all this tests: https://review.openstack.org/#/q/status:open+project:openstack-infra/project-config+branch:master+topic:sileht/oslo-func,n,z16:24
dims_dhellmann: even test-requirements have to be in global-requirements, so these 2 won't make it there. devstack script is the best way i guess for now16:24
dhellmannsileht: cool -- is their approval blocked on something or do they just need some time to review them?16:25
dhellmanndims_: we can have functional test requirements in the global list16:25
dhellmannwe just can't require them for the library itself16:25
silehtdhellmann, I just wait, they should be landed soon16:25
dhellmannsileht: ok, good16:25
dims_dhellmann: ah cool. i'll let ozamiatin and denis_makogon come back after checking up on the possibilities16:26
dhellmanndims_: at least I think so16:26
* bnemec wishes he had time to finish the optional dependencies work16:26
dims_hehe dhellmann16:26
bnemecIt's come up like three times in the past week again.16:26
dims_bnemec: have to ask...which one?16:26
dhellmannthe requirements rules have been changing lately :-/16:26
dims_big tent == bigger dependencies16:27
bnemecdims_: https://review.openstack.org/#/c/83150/16:27
bnemecThat was a PoC of the idea we had discussed on the list.16:27
dims_denis_makogon: maybe you can help bnemec with that?16:28
bnemecI believe it was working for me locally, but I needed to get the requirements check job to recognize the new files and the -r syntax.16:29
*** marun has joined #openstack-oslo16:30
bnemecdims_: denis_makogon: Also http://lists.openstack.org/pipermail/openstack-dev/2015-January/055263.html16:31
openstackgerritMerged openstack/oslo.messaging: Make sure zmq can work with redis  https://review.openstack.org/14265116:37
denis_makogondims_, bnemec, sure, let me know how can i help you.16:39
bnemecdenis_makogon: At this point I think it's mostly a question of checking that it still works, then working with infra to get the requirements check job and proposal bot aware of the new file locations.16:43
denis_makogonbnemec, you've been talking about those patchsets from your mail?16:45
*** noelbk has joined #openstack-oslo16:46
bnemecdenis_makogon: Yep16:47
bnemecBasically it's a way for us to have a blessed way of specifying which extra dependencies a given driver needs.16:47
bnemecRather than just "look at what devstack does" :-)16:48
*** sputnik13 has joined #openstack-oslo16:48
*** amrith is now known as _amrith_16:48
*** rpodolyaka has left #openstack-oslo16:50
*** rpodolyaka has joined #openstack-oslo16:50
openstackgerritMerged openstack-dev/cookiecutter: Updated template from global requirements  https://review.openstack.org/14988316:52
openstackgerritMerged openstack-dev/cookiecutter: Add a tox debug environment  https://review.openstack.org/14988416:52
dhellmannbnemec: there's a pep for that for setuptools, are you using that syntax?16:52
dhellmannthe "right" solution might be to contribute that up to setuptools16:53
bnemecdhellmann: You mean something like this: http://lists.openstack.org/pipermail/openstack-dev/2014-February/027373.html ?16:53
*** e0ne is now known as e0ne_16:54
dhellmannbnemec: yeah, the "extras" thing is what I was thinking of16:55
dhellmannalthough I think they came up with something more sophisticated, too, let me see if I can find it16:55
dhellmannbnemec: https://www.python.org/dev/peps/pep-0426/#extras-optional-dependencies16:56
*** sputnik13 has quit IRC16:59
*** dtantsur is now known as dtantsur|afk17:01
dhellmannstevemar: let me know if you're still running into issues with the WritableLogger17:03
*** ihrachyshka has quit IRC17:05
*** kgiusti has quit IRC17:07
*** _amrith_ is now known as amrith17:23
denis_makogonbnemec, i will take a look at that patch in a few days, may i submit new patchset if i'd have something to update?17:28
openstackgerritDoug Hellmann proposed openstack/oslo-incubator: Have a little fun with release notes  https://review.openstack.org/15268017:29
openstackgerritDoug Hellmann proposed openstack/oslo-incubator: Add tox env for running release notes script  https://review.openstack.org/14796317:29
openstackgerritDoug Hellmann proposed openstack/oslo-incubator: Adjust release note template whitespace  https://review.openstack.org/14796417:29
bnemecdenis_makogon: Absolutely.  I expect there will be at least some rebasing needed.17:29
bnemecdenis_makogon: I can restore the existing change or you can just start a new one.17:30
denis_makogonbnemec, sure, will do, thanks17:30
*** e0ne_ is now known as e0ne17:30
denis_makogonbnemec, let's keep it as the same patchset, so please restore it if you don't mind17:31
bnemecdenis_makogon: Done17:32
denis_makogonbnemec, thanks17:32
*** GheRivero has quit IRC17:34
*** prad has quit IRC17:36
*** prad has joined #openstack-oslo17:36
*** i159_ has quit IRC17:37
*** denis_makogon has quit IRC17:43
stevemardhellmann, yeah still seem to be running into issues: https://review.openstack.org/#/c/152699/ specifically the change to keystone/common/environment/eventlet_server.py17:47
*** dulek has quit IRC17:47
*** dulek has joined #openstack-oslo17:47
*** zzzeek has joined #openstack-oslo17:51
*** vigneshvar has joined #openstack-oslo17:56
*** harlowja has joined #openstack-oslo18:11
*** yamahata has quit IRC18:14
*** daniel3_ has joined #openstack-oslo18:22
*** kgiusti has joined #openstack-oslo18:22
*** jaosorior has quit IRC18:26
*** achanda has joined #openstack-oslo18:31
*** amotoki has quit IRC18:32
*** yamahata has joined #openstack-oslo18:36
*** rushiagr is now known as rushiagr_away18:38
*** sputnik13 has joined #openstack-oslo18:39
*** e0ne is now known as e0ne_18:41
bknudsonThe BadLog exception is because of this: http://git.openstack.org/cgit/openstack/keystone/tree/keystone/tests/core.py#n39018:42
bknudsonit's to prevent keystone code from having invalid log strings (e.g. missing parameters)18:43
*** e0ne_ is now known as e0ne18:45
*** e0ne is now known as e0ne_18:45
*** e0ne_ is now known as e0ne18:46
dhellmannstevemar: looking18:46
*** ihrachyshka has joined #openstack-oslo18:46
*** e0ne is now known as e0ne_18:47
*** e0ne_ is now known as e0ne18:48
dhellmannbknudson: is there any way to figure out what's invalid about it?18:48
*** e0ne has quit IRC18:48
bknudsondhellmann: Not sure that I've ever had to look into it... maybe add a breakpoint in BadLog __init__ and check the backtrace?18:51
dhellmannok, I'll fiddle18:51
bknudsonthe handleError function could be enhanced to provide more information -- at least the record.18:52
dhellmannbknudson: as it happens, we have a fixture in oslo.log for this18:57
bknudsondhellmann: I should have looked.18:57
dhellmannstevemar: do you mind if I update your patch to use the oslo logging fixture for reporting logging errors?18:57
bknudsonhttp://git.openstack.org/cgit/openstack/oslo.log/tree/oslo_log/fixture/logging_error.py !18:57
dhellmannright18:58
stevemardhellmann, go right ahead18:58
dhellmannstevemar: done18:58
dhellmannthe error seems to be something to do with unicode handling18:59
dhellmannit's entirely likely the problem is actually in oslo.log18:59
bknudsondhellmann: what does it raise?18:59
bknudson_handleError?18:59
dhellmannbknudson, stevemar : http://paste.openstack.org/show/166953/19:00
bknudsonTypeError?19:00
dhellmannbknudson: no, handleError is called in the context of an exception handler so the bare raise re-raises the current exception19:00
bknudsonahh19:01
bknudsonI don't see that in the docs.19:01
dhellmannhttp://docs.openstack.org/developer/oslo.log/api/fixtures.html#oslo_log.fixture.get_logging_handle_error_fixture19:03
dhellmannthere was a fairly recent patch to document it19:03
bknudsonFile "keystone/common/wsgi.py", line 445, in __call__ does LOG.exception(e)19:04
bknudsonprobably not how you're supposed to log an exception.19:04
*** enykeev has quit IRC19:04
dhellmannthat should work -- I suspect the issue is with how the logging is being configured in the tests19:04
dhellmannmaybe the default format string is bad or something19:04
bknudsoncould be like LOG.exception('an error happened)19:04
dhellmannoh, yeah, I'll bet you're right19:05
*** enykeev has joined #openstack-oslo19:06
dhellmannbknudson: yeah, fixing a few of those seems to have resolved it.19:08
bknudsonwow19:08
dhellmannbknudson, stevemar : I'll submit this as a second patch and you can decide whether you like my version or want to provide more useful message strings19:08
dhellmannbknudson: good eye19:08
bknudsonwonder why that changed (why it worked before)19:08
dhellmannit's possible this is a new interaction of the i18n and logging code19:09
dhellmanntranslatable message objects in exceptions don't want to be used as strings, and the logging code expects its first argument to be a formatting string or other message19:09
bknudsonwhen I said "I don't see that in the docs." I was referring to the python logging doc -- https://docs.python.org/2/library/logging.html#logging.Handler.handleError -- and "that" was referring to it being called in an exception handler.19:11
dhellmannbknudson: ah, we probably looked at the source for the logging module19:11
dhellmannbknudson: I'm seeing similar behavior with logging errors in other code now. This patch I have is going to be an example, but not a complete solution to the problem.19:12
dhellmannhmm, there were only 14 failures, so maybe I can fix the others, too19:12
*** cdent has quit IRC19:18
*** e0ne has joined #openstack-oslo19:24
dhellmannbknudson: the old logging adapter may have been hiding these issues, too19:26
bknudsonyou'd think if the exception str() had formatting %s then that should have failed before... not sure if that's what's happening.19:27
dhellmannif you have a unicode string, '%s' invokes __unicode__, which is supported19:27
dhellmannif you have a byte string, '%s' invokes __str__, which is not supported19:28
dhellmannI think the old context adapter used to call unicode()19:28
*** achanda has quit IRC19:35
*** achanda has joined #openstack-oslo19:45
openstackgerritMerged openstack/taskflow: Improved diagram for Taskflow  https://review.openstack.org/15235419:48
*** harlowja is now known as harlowja_away19:50
*** amrith is now known as _amrith_19:52
openstackgerritDoug Hellmann proposed openstack/oslo.log: Start creating migration notes  https://review.openstack.org/15303119:56
dhellmannbknudson: ^^19:56
dhellmanndims_: ^^19:56
dims_pong dhellmann19:56
dhellmanndims_: logging doc review for when you have some time ^^19:56
*** dulek has quit IRC19:58
dims_dhellmann: do we want to document any fixture changes there?19:58
dhellmanndims_: probably eventually; I wanted to capture this particular thing since it was a pain for the keystone folks19:59
dims_dhellmann: looks good, thje warning with exception, we may need a hacking rule eventually20:00
bknudsondims_: no hacking rule needed in keystone since it fails tests20:00
dims_bknudson: :)20:01
dims_bknudson: not all projects have good code coverage20:01
bknudsonhacking isn't going to help them... they're too far gone.20:02
*** tsufiev_ is now known as tsufiev20:02
dims_fair enough :)20:02
*** prad has quit IRC20:06
*** prad has joined #openstack-oslo20:10
*** daniel3_ has quit IRC20:14
*** _amrith_ is now known as amrith20:18
*** achanda has quit IRC20:20
*** achanda has joined #openstack-oslo20:21
*** achanda has quit IRC20:32
*** ihrachyshka has quit IRC20:32
*** harlowja_away is now known as harlowja20:33
*** 6A4ABBR4J has quit IRC20:34
*** achanda has joined #openstack-oslo20:40
*** daniel3_ has joined #openstack-oslo20:57
*** ajo has quit IRC21:09
*** ajo has joined #openstack-oslo21:10
*** ChuckC_ is now known as ChuckC21:16
*** achanda has quit IRC21:33
openstackgerritSteve Martinelli proposed openstack/oslo.policy: Update .gitignore  https://review.openstack.org/14867121:37
*** achanda has joined #openstack-oslo21:38
stevemarsigmavirus24, just a few more open reviews: https://review.openstack.org/#/q/project:openstack/oslo.policy+status:open,n,z21:42
sigmavirus24stevemar: I don't mind abandoning mine. It was a drive-by question21:43
stevemarmerge yours and add mine on top :O21:44
sigmavirus24or make yours dependent on mine?21:44
sigmavirus24No need21:44
sigmavirus24That's all a headache21:44
sigmavirus24Just add the blueprint info to yours so we can track that stuff across projects21:44
openstackgerritSteve Martinelli proposed openstack/oslo.policy: Use oslo namespaces for oslo libraries  https://review.openstack.org/15280821:45
stevemardone21:45
openstackgerritSteve Martinelli proposed openstack/oslo.policy: Use oslo namespaces for oslo libraries  https://review.openstack.org/15280821:46
sigmavirus24that works too lol21:46
stevemarwhat headache, took 2 seconds :)21:46
stevemar`git review -d yours; git review -x mine; git review`21:46
sigmavirus24Yeah that's the thing. I'm not yet familiar enough with git-review21:46
openstackgerritDoug Hellmann proposed openstack/oslo.policy: Drop use of oslo namespace for oslo libraries  https://review.openstack.org/15280821:47
stevemardhellmann, ty for the correction :)21:47
stevemarsigmavirus24, this one was funny: https://review.openstack.org/#/c/152805/21:48
sigmavirus24Yeah21:48
* sigmavirus24 didn't notice it when he was removing the graduated modules21:48
stevemarsigmavirus24, you are human after all21:49
dhellmannstevemar: yeah, that seemed like it was easier to just fix and +2 than make you go through another rev21:50
stevemardhellmann, i'm wondering if we need the copyright in the _i18n file, i copy-pasted from a keystone project21:51
dhellmannstevemar: I didn't know where you worked. I wouldn't bother with that, so if you want to remove it that's fine.21:51
stevemardhellmann, removing it then21:51
openstackgerritSteve Martinelli proposed openstack/oslo.policy: Use oslo_i18n  https://review.openstack.org/15280621:52
stevemardhellmann, i think that's all thats left before tagging a release?21:53
dhellmannstevemar: https://bugs.launchpad.net/oslo.policy21:55
dhellmannI should probably tag some of those as pre-release or something21:55
* sigmavirus24 feels like working on https://bugs.launchpad.net/oslo.policy/+bug/138437721:56
dhellmannstevemar: https://bugs.launchpad.net/oslo.policy/+bugs?field.tag=prerelease21:56
sigmavirus24Seems like it would be fun21:56
stevemardhellmann, thanks for the tag21:57
dhellmannstevemar: 1415633 is pretty fuzzily defined21:57
stevemarsigmavirus24, that is a brutal one21:57
sigmavirus24dhellmann: I agree21:58
stevemardhellmann, yeah thats super vague21:58
sigmavirus24I wouldn't be opposed to making it some other module inside oslo_policy21:58
sigmavirus24i.e., oslo_policy.rules21:58
dhellmannstevemar: basically, go through everything with a fine toothed comb and think about whether you want to support someone using that class in weird ways for the rest of the life of this library21:59
sigmavirus24but I'm not sure I see the benefit in making Rules private given I know of at least one project that relies on it for testing purposes21:59
dhellmannstevemar: if not, make it private for now21:59
sigmavirus24dhellmann: I think \t betrayed you ;)21:59
dhellmannsigmavirus24: I was replying to stevemar about 141563321:59
stevemari got the message :)22:00
dhellmannsigmavirus24: although I do agree that the current policy.py could use some reorg22:00
dhellmannwhen in doubt, I mark something private. it's easier to make it public later than to go the other way22:00
sigmavirus24Fair enough :)22:00
stevemardhellmann, i should mark that i18n patch as closing https://bugs.launchpad.net/oslo.policy/+bug/141562822:01
dhellmannstevemar: good idea. at this point you'll need to add a link to the patch in the bug by hand (the bot only does that on first submissions)22:01
stevemarah okay22:02
openstackgerritJoshua Harlow proposed openstack/taskflow: Tweak the WBE diagram (and present it as an svg)  https://review.openstack.org/15306422:07
*** daniel3_ has quit IRC22:07
*** achanda has quit IRC22:08
*** andreykurilin_ has joined #openstack-oslo22:08
*** vigneshvar has quit IRC22:17
*** jecarey has quit IRC22:20
*** dulek has joined #openstack-oslo22:24
*** daniel3_ has joined #openstack-oslo22:26
*** dulek has quit IRC22:29
*** belliott has joined #openstack-oslo22:35
openstackgerritMerged openstack/debtcollector: Fix up the docs into reasonable shape  https://review.openstack.org/15225122:37
openstackgerritMerged openstack/debtcollector: Upper case python  https://review.openstack.org/15229122:37
belliottdhellmann: hello - i'm wondering when the next release of oslo.messaging might be?  i'm not familiar with the process around it.  We've run into a bug with 1.5.1 at rackspace and the fix is only on master. (https://bugs.launchpad.net/oslo.messaging/+bug/1406629)22:38
belliottsileht: btw thx for fixing that ^ :)22:38
*** kgiusti has left #openstack-oslo22:40
*** mriedem has quit IRC22:41
*** andreykurilin_ has quit IRC22:46
*** andreykurilin_ has joined #openstack-oslo22:55
*** amrith is now known as _amrith_22:57
*** dims_ has quit IRC22:57
*** ajo has quit IRC23:00
*** jaypipes has quit IRC23:00
*** achanda has joined #openstack-oslo23:08
*** prad has quit IRC23:10
*** achanda has quit IRC23:15
*** e0ne has quit IRC23:24
*** gordc has quit IRC23:26
*** sputnik13 has quit IRC23:34
*** achanda has joined #openstack-oslo23:37
*** dulek has joined #openstack-oslo23:39
*** dims__ has joined #openstack-oslo23:40
*** dims_ has joined #openstack-oslo23:41
*** ViswaV has joined #openstack-oslo23:45
*** dims__ has quit IRC23:46
openstackgerritVilobh Meshram proposed openstack/taskflow: Docstrings should document parameters return values  https://review.openstack.org/15237523:53

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