Monday, 2015-06-29

*** mriedem has quit IRC00:05
*** stevemar has quit IRC00:10
*** stevemar has joined #openstack-oslo00:10
lifelessdhellmann: https://review.openstack.org/#/c/180587/ <- would like your input there00:12
openstackgerritlifeless proposed openstack/oslo-specs: Enable optional dependencies in OpenStack projects  https://review.openstack.org/18783000:16
*** stevemar has quit IRC00:19
*** stevemar has joined #openstack-oslo00:20
*** miguelgrinberg has quit IRC00:26
*** jamielennox is now known as jamielennox|away00:26
openstackgerritlifeless proposed openstack/oslo.db: Refactor deps to use extras and env markers.  https://review.openstack.org/18432800:27
openstackgerritlifeless proposed openstack/oslo.db: Refactor deps to use extras and env markers.  https://review.openstack.org/18432800:28
*** jamielennox|away is now known as jamielennox00:30
*** eliqiao has joined #openstack-oslo00:31
*** eliqiao has quit IRC00:37
*** harlowja_at_home has joined #openstack-oslo00:37
*** eliqiao has joined #openstack-oslo00:37
*** sputnik1_ has quit IRC00:38
openstackgerritSteve Martinelli proposed openstack/oslo.cache: handle utf8 encoding properly  https://review.openstack.org/19647700:45
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.messaging: Updated from global requirements  https://review.openstack.org/19238200:47
*** harlowja_at_home has quit IRC00:47
openstackgerritOpenStack Proposal Bot proposed openstack/tooz: Updated from global requirements  https://review.openstack.org/19483700:48
*** eliqiao has quit IRC00:53
openstackgerritDavanum Srinivas (dims) proposed openstack/oslo-incubator: Remove openstack/common/report as oslo.reports is graduating  https://review.openstack.org/19648601:00
openstackgerritDavanum Srinivas (dims) proposed openstack/oslo-incubator: Remove openstack/common/report as oslo.reports is graduating  https://review.openstack.org/19648601:06
openstackgerritJoshua Harlow proposed openstack/futurist: Ensure we check callback '_is_periodic' on add  https://review.openstack.org/19645701:07
openstackgerritSteve Martinelli proposed openstack/oslo.cache: handle utf8 encoding properly  https://review.openstack.org/19647701:13
*** miguelgrinberg has joined #openstack-oslo01:28
*** vilobhmm has quit IRC01:35
*** vilobhmm has joined #openstack-oslo01:49
lifelessdhellmann: hey so my optional-specs spec fails because oslosphinx is looking for an actual blueprint01:57
lifelessbut there's no one project to bind this to01:57
lifelesswhat should I do?01:57
openstackgerritJoshua Harlow proposed openstack/taskflow: Remove kazoo hack/fix for issue no longer needed  https://review.openstack.org/18241602:01
*** stevemar has quit IRC02:07
*** stevemar has joined #openstack-oslo02:08
openstackgerritJoshua Harlow proposed openstack/automaton: Add and use a callback name fetching utility function  https://review.openstack.org/19649502:14
openstackgerritJoshua Harlow proposed openstack/futurist: Move the periodic '_get_callback_name' to '_utils'  https://review.openstack.org/19649602:18
*** stevemar has quit IRC02:30
*** stevemar has joined #openstack-oslo02:31
openstackgerritMerged openstack/taskflow: Use the `excutils.raise_with_cause` after doing our type check  https://review.openstack.org/19244802:54
openstackgerritMerged openstack/taskflow: Add indestructible 99 bottles of beer example  https://review.openstack.org/18952602:55
*** sputnik13 has joined #openstack-oslo02:55
openstackgerritMerged openstack/taskflow: Remove usage of deprecated 'task_notifier' property in build_car example  https://review.openstack.org/19117902:56
openstackgerritMerged openstack/taskflow: Perform a few optimizations to decrease persistence interactions  https://review.openstack.org/19083302:56
openstackgerritMerged openstack/taskflow: Remove reference to 'requirements-pyN.txt' files  https://review.openstack.org/19381602:57
openstackgerritMerged openstack/taskflow: Add history.rst that uses generated 'ChangeLog' file  https://review.openstack.org/19485402:57
openstackgerritOpenStack Proposal Bot proposed openstack/taskflow: Updated from global requirements  https://review.openstack.org/19483603:11
*** achanda has joined #openstack-oslo03:11
*** tobe has joined #openstack-oslo03:12
*** sigmavirus24_awa is now known as sigmavirus2403:15
*** achanda has quit IRC03:18
*** sdake has joined #openstack-oslo03:32
*** vilobhmm has quit IRC03:34
*** sdake has quit IRC03:36
*** sigmavirus24 is now known as sigmavirus24_awa03:38
*** sigmavirus24_awa is now known as sigmavirus2403:39
*** sdake has joined #openstack-oslo03:39
openstackgerritJoshua Harlow proposed openstack/futurist: Ensure we check callback '_is_periodic' on add  https://review.openstack.org/19645703:45
openstackgerritJoshua Harlow proposed openstack/futurist: Ensure we check callback '_is_periodic' on add  https://review.openstack.org/19645703:47
*** sigmavirus24 is now known as sigmavirus24_awa03:49
*** tobe has quit IRC03:55
openstackgerritJoshua Harlow proposed openstack/taskflow: Just make the compiler object at __init__ time  https://review.openstack.org/19652503:55
*** tobe has joined #openstack-oslo03:56
*** tobe has quit IRC03:56
*** rushiagr_away is now known as rushiagr03:57
*** sdake_ has joined #openstack-oslo03:58
*** tobe has joined #openstack-oslo03:59
*** sdake has quit IRC04:02
*** rushiagr is now known as rushiagr_away04:03
*** stevemar has quit IRC04:03
*** stevemar has joined #openstack-oslo04:04
openstackgerritJoshua Harlow proposed openstack/taskflow: Replace clear zookeeper python with clear zookeeper bash  https://review.openstack.org/19652804:10
openstackgerritJoshua Harlow proposed openstack/taskflow: Replace clear zookeeper python with clear zookeeper bash  https://review.openstack.org/19652804:11
*** tobe has quit IRC04:13
*** browne has joined #openstack-oslo04:22
*** kzaitsev_mb has joined #openstack-oslo04:29
openstackgerritMerged openstack/taskflow: Add docstrings on runtime objects methods and link to them in docs  https://review.openstack.org/19445104:39
openstackgerritMerged openstack/taskflow: Add docstrings on runtime objects methods and link to them in docs  https://review.openstack.org/19445104:39
*** kzaitsev_mb has quit IRC04:53
*** kzaitsev_mb has joined #openstack-oslo04:57
*** manishg has quit IRC05:01
*** manishg has joined #openstack-oslo05:05
*** kzaitsev_mb has quit IRC05:27
*** kzaitsev_mb has joined #openstack-oslo05:27
openstackgerritOpenStack Proposal Bot proposed openstack/taskflow: Updated from global requirements  https://review.openstack.org/19483605:27
*** manishg has quit IRC05:39
*** manishg has joined #openstack-oslo05:42
*** manishg has quit IRC05:50
*** ihrachyshka has joined #openstack-oslo05:52
*** tobe has joined #openstack-oslo05:56
*** tobe has quit IRC05:58
*** tobe_ has joined #openstack-oslo05:58
*** nkrinner has joined #openstack-oslo06:00
*** stevemar has quit IRC06:16
*** stevemar has joined #openstack-oslo06:16
*** kzaitsev_mb has quit IRC06:23
*** stevemar has quit IRC06:30
openstackgerritMerged openstack/oslo.cache: Add tests for _memcache_pool  https://review.openstack.org/19646806:35
*** browne has quit IRC06:43
*** arnaud____ has joined #openstack-oslo06:43
*** exploreshaifali has joined #openstack-oslo07:08
*** amotoki has joined #openstack-oslo07:17
*** stevemar has joined #openstack-oslo07:30
*** stevemar has quit IRC07:33
*** haypo has joined #openstack-oslo07:40
*** cdent has joined #openstack-oslo07:41
*** arnaud____ has quit IRC07:57
*** yassine has joined #openstack-oslo08:32
*** kbyrne has quit IRC08:47
*** dguitarbite has joined #openstack-oslo08:53
*** kbyrne has joined #openstack-oslo08:53
*** ndipanov has joined #openstack-oslo08:54
*** jaosorior has joined #openstack-oslo09:08
*** eezhova has quit IRC09:08
*** fnordahl has quit IRC09:15
*** fnordahl has joined #openstack-oslo09:17
openstackgerritIlya Shakhat proposed openstack/oslo.service: Allow LoopingCall to continue on exception in callee  https://review.openstack.org/19360509:19
*** stevemar has joined #openstack-oslo09:20
*** stevemar has quit IRC09:22
*** eezhova has joined #openstack-oslo09:48
*** openstackgerrit has quit IRC09:53
*** openstackgerrit has joined #openstack-oslo09:53
*** sdake_ is now known as sdake10:01
*** uschreiber_ has joined #openstack-oslo10:03
*** uschreiber_ has quit IRC10:05
*** yamahata has quit IRC10:16
*** pblaho has joined #openstack-oslo10:25
*** pblaho has quit IRC10:25
*** shardy_ has joined #openstack-oslo10:25
*** pblaho has joined #openstack-oslo10:25
*** shardy has quit IRC10:27
*** shardy_ has quit IRC10:31
*** shardy has joined #openstack-oslo10:31
*** dims has joined #openstack-oslo10:37
*** exploreshaifali has quit IRC10:37
*** subscope has joined #openstack-oslo10:42
*** subscope has quit IRC10:52
*** pblaho has quit IRC10:52
*** pblaho has joined #openstack-oslo10:54
dimsgood <time_of_day/>10:56
*** hogepodge has quit IRC10:58
dimssileht: jd__: flaper87: found at least 4 of our projects had missing requirements using pip-missing-reqs - so i added tox entry for all projects - https://review.openstack.org/#/q/status:open+topic:pip-missing-reqs,n,z - please take a look when you get a chance10:58
*** hogepodge has joined #openstack-oslo11:00
*** shardy_ has joined #openstack-oslo11:18
*** shardy has quit IRC11:19
*** shardy_ has quit IRC11:24
*** shardy has joined #openstack-oslo11:25
*** sdake has quit IRC11:43
*** tobe_ has quit IRC11:49
*** hogepodge has quit IRC11:56
*** ihrachyshka has quit IRC12:01
*** hogepodge has joined #openstack-oslo12:02
openstackgerritDavanum Srinivas (dims) proposed openstack/oslo.cache: Remove unnecessary file  https://review.openstack.org/19663612:05
*** kgiusti has joined #openstack-oslo12:14
*** bknudson has quit IRC12:16
*** bknudson has joined #openstack-oslo12:36
*** ozamiatin has joined #openstack-oslo12:38
*** mtreinish has quit IRC12:40
*** mtreinish has joined #openstack-oslo12:40
*** shardy has quit IRC12:46
*** shardy has joined #openstack-oslo12:46
*** exploreshaifali has joined #openstack-oslo12:52
*** stevemar has joined #openstack-oslo12:57
*** hogepodge has quit IRC13:00
*** stevemar has quit IRC13:00
*** hogepodge has joined #openstack-oslo13:02
*** jlvillal has quit IRC13:08
*** hogepodge has quit IRC13:11
*** hogepodge has joined #openstack-oslo13:12
*** gordc_ is now known as gordc13:14
dimsfolks, releases for this week - http://paste.openstack.org/show/324570/ - feedback welcome and appreciated!13:16
*** jlvillal has joined #openstack-oslo13:19
*** ozamiatin has quit IRC13:20
*** ihrachyshka has joined #openstack-oslo13:24
*** mriedem has joined #openstack-oslo13:30
*** zz_jgrimm is now known as jgrimm13:33
*** prad has joined #openstack-oslo13:38
*** hogepodge has quit IRC13:39
*** hogepodge has joined #openstack-oslo13:41
*** prad has quit IRC13:43
*** mtanino has joined #openstack-oslo13:43
openstackgerritMerged openstack/oslo.policy: Add tox target to find missing requirements  https://review.openstack.org/19584213:44
*** jecarey has joined #openstack-oslo13:52
*** prad has joined #openstack-oslo13:55
*** stpierre has joined #openstack-oslo13:57
*** exploreshaifali has quit IRC13:57
*** superdan is now known as dansmith13:57
*** sigmavirus24_awa is now known as sigmavirus2413:58
*** boris-42 has joined #openstack-oslo13:59
*** amotoki has quit IRC13:59
*** subscope has joined #openstack-oslo13:59
*** subscope has quit IRC14:04
*** harlowja_at_home has joined #openstack-oslo14:11
*** rjaiswal has joined #openstack-oslo14:12
openstackgerritBrant Knudson proposed openstack/oslo.cache: Cleanup exceptions  https://review.openstack.org/19647814:12
dhellmannlifeless: I would go ahead and create a blueprint in oslo (we use oslo-incubator for things that aren't related to a specific library)14:17
*** jecarey has quit IRC14:18
*** stevemar has joined #openstack-oslo14:19
*** dims has quit IRC14:21
*** subscope has joined #openstack-oslo14:24
*** dims has joined #openstack-oslo14:24
*** yamahata has joined #openstack-oslo14:25
haypodims: "Fix sqlalchemy.ModelBase.__contains__() behaviour" of oslo.db will break nova14:26
haypodims: see https://review.openstack.org/#/c/195472/14:26
haypodims: well, it only breaks nova if oslo.db is upgraded in nova without running tests :)14:26
dimshaypo: ran the nova tests using master of all oslo projects in (https://review.openstack.org/#/c/186418/ and https://review.openstack.org/#/c/186413/) seems to work fine14:27
haypodims: > "tox -e py27" *FAILS* on nova.tests.unit.db.test_db_api.InstanceExtraTestCase.test_instance_extra_get_with_columns <14:28
haypodims: hum, strange that you didn't get this failure14:28
haypo2015-06-29 11:39:26.478 | {5} nova.tests.unit.db.test_db_api.InstanceExtraTestCase.test_instance_extra_get_with_columns [0.065141s] ... ok14:29
haypoi checked gate-nova-python27 of https://review.openstack.org/#/c/186413/14:30
dimshaypo: see https://review.openstack.org/#/c/186413/, i don't see any failures in gate-nova-python2714:30
dimsright14:30
haypodims: http://logs.openstack.org/13/186413/8/check/gate-nova-python27/04e7efb/console.html says oslo.db==1.12.0, not something like "-e git+https://..."14:31
haypodims: it looks like something installed oslo.db 1.12.0 instead of the git version14:31
dimsweird14:32
dimslooking14:32
haypodims: well, https://review.openstack.org/#/c/195191/ skips the failing test to unblock the transition14:32
haypodims: my plan is to skip the test in nova, upgrade oslo.db, and then fix the nova test14:32
*** kzaitsev_mb has joined #openstack-oslo14:33
haypodims: as explained in https://review.openstack.org/#/c/195472/14:33
*** dguitarbite has quit IRC14:37
*** sdake has joined #openstack-oslo14:37
*** sdake_ has joined #openstack-oslo14:40
*** sdake has quit IRC14:43
*** ihrachyshka has quit IRC14:47
openstackgerritJoshua Harlow proposed openstack/oslo.service: Track created thread and disallow more than one start being active  https://review.openstack.org/19535814:48
*** timsim has left #openstack-oslo14:49
*** shardy_ has joined #openstack-oslo14:51
*** shardy has quit IRC14:51
harlowja_at_homedims, lifeless if u get sometime https://review.openstack.org/#/c/193354/ would be good to get in (to avoid further chaos later)14:52
harlowja_at_homeshould be good to go now ^14:52
dimshaypo: looks like sputnik13 +214:53
dims'ed it once before14:53
dimsand lifeless' comments are addressed14:54
dimsso fast tracking it14:54
harlowja_at_homethx14:54
haypodims: sorry i lost the context, on which patch?14:54
* harlowja_at_home thinks haypo == harlowja :-P14:54
dimshaypo: sorry :)14:55
haypoharlowja_at_home: hello myself, how do i do?14:55
harlowja_at_homehaypo, good good, u are doing wonderful14:55
haypolol14:55
harlowja_at_homethis is your ego speaking14:55
harlowja_at_homeu need to take a vacation or something14:55
harlowja_at_homelol14:55
harlowja_at_home*this is your inner voice speaking*14:56
* harlowja_at_home must keep it PG13, lol14:56
haypodims: is it possible to generate a list of newly deprecated functions when you build the long list of releases?14:58
haypodims: same question for backward incompatible changes like my oslo.db change14:58
*** jecarey has joined #openstack-oslo14:58
stevemardims or dhellmann is there a way to run oslo-config-generator in debug mode? i'm expecting certain oslo.cache options to appear, but they're not showing up14:59
*** shardy_ has quit IRC15:00
dimsstevemar: none of them are appearing or just some?15:00
stevemardims: none15:00
dimsstevemar: looking15:00
stevemardims, i am using this keystone patch: https://review.openstack.org/#/c/195873/ and the latest oslo.cache code15:01
*** nkrinner has quit IRC15:02
stevemarfwiw, the code to add the options should be here, line 314ish https://review.openstack.org/#/c/195873/11/keystone/common/config.py15:02
*** ihrachyshka has joined #openstack-oslo15:03
openstackgerritDavanum Srinivas (dims) proposed openstack/oslo.cache: Expose list_opts entry points for oslo-config-generator  https://review.openstack.org/19669815:03
*** shardy has joined #openstack-oslo15:04
dimsstevemar: grab that change ^^15:04
dimsand give me a minute to look at your review15:04
*** kzaitsev_mb has quit IRC15:05
dimsstevemar: you have the right setting here https://review.openstack.org/#/c/195873/11/config-generator/keystone.conf,cm - but i had missed exposing the list_opts15:05
dimsso you should be able to run oslo-config-generator with my change15:05
dimsand see the options, please try and let me know15:05
*** ozamiatin has joined #openstack-oslo15:06
*** ozamiatin has quit IRC15:06
*** sputnik13 has quit IRC15:07
*** zzzeek has joined #openstack-oslo15:07
stevemardims: \o/15:09
*** sputnik13 has joined #openstack-oslo15:10
openstackgerritSteve Martinelli proposed openstack/oslo.cache: handle utf8 encoding properly  https://review.openstack.org/19647715:12
stevemardims and dhellmann ^^ that and the expose list opt should be the last bits for oslo.cache15:13
*** sputnik13 has quit IRC15:13
bknudsonoslo.cache needs to not use a global CONF15:15
bknudsonand it needs docs15:15
bknudsonand it needs exceptions that aren't insane15:15
dimsstevemar: as keystone core, i've grandfathered you to oslo-cache-core, so please update your vote15:15
*** ozamiatin has joined #openstack-oslo15:16
bknudsonand we need to make sure that there aren't symbols that are public that should not be private15:16
dimsbknudson: want to track these using bugs?15:16
bknudsonpublic that should be private15:16
bknudsonsure, I didn't know if bugs were being used15:16
dimsbknudson: yep, we have the launchpad created and ready15:16
dimsbknudson: blueprints too15:16
stevemardims: <315:18
dhellmannstevemar: left a comment on https://review.openstack.org/#/c/196477/4 that's a bit farther reaching than your patch /cc dims15:18
stevemardhellmann: so that was an artifact of https://review.openstack.org/#/c/195873/15:19
dimsdhellmann: y, this one if i remember the method itself is called from within dogpile and not by the end user, so futher muddies the waters15:20
stevemardhellmann: dims we have some tests in keystone (https://github.com/openstack/keystone/blob/master/keystone/tests/unit/backend/role/test_ldap.py) that have utf8 encoded values15:21
dhellmanndims: so that function is invoked by dogpile somehow?15:22
stevemarsorry, they values are utf8, and if we call the dogpile key mangler without encoding them, it blows up15:23
stevemaryou can check out the failed tests in that patch15:23
*** e0ne has joined #openstack-oslo15:23
stevemarwe've managed to get dstanek curious ...15:24
dhellmannstevemar: it sounds like this is a protection, but I'm not sure it's python3-compatible. I get an AttributeError if I try to call encode() on a byte string15:24
dhellmannif dogpile always wants a byte string and we want to help users of oslo.cache/dogpile to ensure that works then I'm OK with that. The function could use a docstring indicating that's how it's meant to be used15:25
dstanekstevemar: only because i saw your most recent patch in my work stream and saw the error15:25
*** e0ne is now known as e0ne_15:25
*** e0ne_ is now known as e0ne15:25
stevemardhellmann: ohh...15:26
stevemaryeah, its totally meant to be protection15:26
*** david-ly_ is now known as david-lyle15:27
dhellmannstevemar: yeah, my fault for not understanding more about what the lib is doing15:27
stevemardhellmann: it's all good. but your point about a basestring is valid15:28
stevemarerr bytestring15:28
dhellmannstevemar: I think all you need to do is add AttributeError to the exceptions ignored15:28
stevemardhellmann: cool cool15:29
openstackgerritMerged openstack/oslo.cache: Expose list_opts entry points for oslo-config-generator  https://review.openstack.org/19669815:30
openstackgerritSteve Martinelli proposed openstack/oslo.cache: handle utf8 encoding properly  https://review.openstack.org/19647715:30
*** arnaud____ has joined #openstack-oslo15:31
stevemardims: dhellmann ^^ i think that should get us a 0.1.2 or 0.2.0 release, and a happy keystone build15:31
dhellmannstevemar: are there already tests for the cases in https://review.openstack.org/#/c/196477/ ?15:32
* stevemar is obsessed with getting a non -1 jenkins build on his keystone patch15:32
dhellmannstevemar: I think dims is planning oslo releases for later today15:32
*** cdent has quit IRC15:32
*** amrith is now known as _amrith_15:35
stevemardhellmann: i could make some small unit tests that call sha_mangle_key15:37
*** yassine has quit IRC15:37
*** achanda has joined #openstack-oslo15:37
*** yassine has joined #openstack-oslo15:37
*** haypo has quit IRC15:41
openstackgerritMerged openstack/taskflow: Remove 2.6 classifier + 2.6 compatibility code  https://review.openstack.org/19335415:41
*** harlowja_still_a has joined #openstack-oslo15:42
*** harlowja_at_home has quit IRC15:46
dhellmannstevemar: yeah, tests would be good15:46
dhellmannstevemar: I'm especially interested in making sure that works as expected on python 2 and 315:46
*** pblaho has quit IRC15:46
*** e0ne has quit IRC15:46
*** e0ne has joined #openstack-oslo15:48
*** pblaho has joined #openstack-oslo15:48
*** haypo has joined #openstack-oslo15:50
*** browne has joined #openstack-oslo15:51
*** e0ne is now known as e0ne_15:53
dimsdhellmann: stevemar: ++ on the tests15:53
*** e0ne_ is now known as e0ne15:55
dims3 more minutes to oslo meeting15:57
harlowja_still_aoh man, can't wait15:58
harlowja_still_a:-P15:58
harlowja_still_aoh man oh man, ha15:58
*** rpodolyaka1 has joined #openstack-oslo16:11
*** haypo has quit IRC16:13
*** arnaud____ has quit IRC16:19
*** beekneemech has joined #openstack-oslo16:21
*** bnemec has quit IRC16:23
*** sputnik13 has joined #openstack-oslo16:30
*** yamahata has quit IRC16:32
*** ashleighfarnham has joined #openstack-oslo16:33
krotscheckgordc: I've had a patch responding to your comments up on https://review.openstack.org/#/c/191238/ since tuesday, do you have time to look at it today?16:35
krotscheckgordc: Similar with https://review.openstack.org/#/c/194268/ , responded to your comment.16:38
krotscheckgordc: Note that if I don't have any repsonse by tomorrow (1 week), I'm going to assume that you're ok with the change and ask dims and dhellmann to weigh in.16:38
rpodolyaka1dims: sorry, on a holiday today. regarding oslo.db 2.0.0, I saw haypo already did a patch to nova, which fixes 1 unit test16:40
dimsrpodolyaka1: ack. no worries16:40
dimsrpodolyaka1: have a good rest of the week off :)16:40
rpodolyaka1dims: heh, thanks :)16:40
rpodolyaka1dims: if we held cutting of the release till tomorrow, I'd kindly ask viktors to run tests for all projects16:41
dimsrpodolyaka1: i am running a devstack change, if that goes through then will cut a release16:42
dimsotherwise will wait for viktors16:42
rpodolyaka1dims: ah, ok. thanks a lot!16:42
*** jgrimm has quit IRC16:43
*** harlowja_still_a has quit IRC16:47
*** zz_jgrimm has joined #openstack-oslo16:49
dhellmannihrachyshka: what's the plan for that context change we were talking about in the meeting?16:50
*** manishg has joined #openstack-oslo16:50
ihrachyshkadhellmann, I would abandon the oslo.context change, and kill string rewrite from devstack; that said, people can be uneasy loosing their names from devstack logs. So I guess with this in mind, we may actually need to go forward introducing a config option to enable names, as you said.16:52
ihrachyshkaI'll update the patches some time next week (this week I'm off for a code sprint)16:53
* dims steps out for a bit16:53
dhellmannihrachyshka: ok. There are 2 ways to do that. devstack can change the log format option that exists now to replace the user_identity value with the names in whatever format it wants, or we can make oslo.log have some new options for "parts" of the format, and then devstack can set only the one it wants to set16:53
dhellmannihrachyshka: the first is faster, but the latter might be a nice thing for deployers16:54
ihrachyshkadhellmann, the first one is what we already have, though we do it for specific projects only now (neutron, nova)16:55
dhellmannihrachyshka: right16:55
ihrachyshkadhellmann, I want to get rid of that rewrite, so option 216:55
dhellmannihrachyshka: option 2 still requires devstack to do something, though16:55
dhellmannit still has to change the new option, since the default format will match what we emit now16:55
ihrachyshkasince that rewrite caused some problems before (though I need to admit that the patch series caused me even more)16:55
ihrachyshkadhellmann, yeah, but something will be specific, not 'rewrite whatever oslo.log should have provided to us'16:56
dhellmannok16:56
dhellmannthe trick will be to figure out how to make the options backwards-compatible in oslo.log16:57
dhellmannI suppose we could get the dictionary of values from the context, then replace user_identity with a new string based on the format option16:57
ihrachyshkadhellmann, well, it refers, abstractly, to user_identity, and oslo.context is the one that constructs it.16:57
dhellmannyes, but I think in retrospect that was a mistake16:58
ihrachyshkaremember, user_identity is not a real value from contex16:58
*** ozamiatin has quit IRC16:58
dhellmanncontext should tell log what the identity values are, and log should do the formatting16:58
dhellmannright16:58
ativelkovdansmith: hi, are you around?16:59
*** e0ne has quit IRC16:59
dansmithativelkov: am now17:02
dhellmannihrachyshka: https://etherpad.openstack.org/p/logging-flexibility17:02
ativelkovdansmith: wanted to sync-up with you on field constrains/validation in versioned_objects. I've made an initial commit: https://review.openstack.org/#/c/196041/17:03
dansmithativelkov: ah, yeah I took a partial look through it last week, but the spec deadline was taking most of my time17:03
ativelkovdansmith: I see. Well, there is no rush here, I just wanted to check if the chosen approach looks good to you in general17:05
*** mriedem has quit IRC17:05
dhellmannihrachyshka: ok, I think that captures all of my current ideas on this, what do you think?17:05
dhellmannihrachyshka: if I write this up as a spec, shall I include you on the list of implementers?17:09
dansmithativelkov: I'll try to get to it today17:09
dansmithativelkov: thanks for doing it17:09
ihrachyshkadhellmann, ack ,seems reasonable17:10
ihrachyshkadhellmann, yes, sure17:10
dhellmannihrachyshka: ok, I'll write this up today or tomorrow17:10
ihrachyshkadhellmann, need to go, sorry. add me to reviewers if you do. thanks a lot.17:11
* dhellmann heads to lunch17:11
* ihrachyshka heads to dinner17:11
dhellmannihrachyshka: thanks for working through the design with me17:11
*** sigmavirus24 is now known as sigmavirus24_awa17:15
*** ihrachyshka has quit IRC17:16
*** sdake has joined #openstack-oslo17:16
*** exploreshaifali has joined #openstack-oslo17:16
*** achanda has quit IRC17:17
*** sdake_ has quit IRC17:20
openstackgerritSteve Martinelli proposed openstack/oslo.cache: handle utf8 encoding properly  https://review.openstack.org/19647717:22
stevemardims: dhellmann sorry for the hold up ^17:22
*** hogepodge has quit IRC17:26
*** hogepodge has joined #openstack-oslo17:27
*** browne has quit IRC17:28
*** dontalton has joined #openstack-oslo17:32
*** yamahata has joined #openstack-oslo17:33
dhellmannstevemar: one comment inline17:34
openstackgerritDoug Hellmann proposed openstack/oslo-specs: Add user-identity-format-flexibility for oslo.log  https://review.openstack.org/19675217:34
stevemardhellmann: oh we don't have those in the keystone tests like taht17:34
dhellmannstevemar: I'm not sure what you get in that case. possibly a bytestring?17:35
dhellmannstevemar: better to be explicit17:36
dhellmanndims: https://review.openstack.org/196752 is the result of the discussion in today's meeting with ihrachyshka17:36
openstackgerritSteve Martinelli proposed openstack/oslo.cache: handle utf8 encoding properly  https://review.openstack.org/19647717:37
stevemardhellmann: tested everything out, it still works so i'm happy17:37
stevemari think you're right17:37
*** yassine has quit IRC17:37
* dims gets back 17:37
stevemarw/o u'' infront it'll be a bytestring17:37
dhellmannstevemar: are there any strings that can't be encoded to utf-8? I don't think so, but that's the other failure mode17:38
* dhellmann thinks we have a function in oslo.utils for this17:38
stevemarhehe17:39
dhellmannoslo_utils.encodeutils.safe_encode, but that looks like overkill for this17:39
openstackgerritSamuel de Medeiros Queiroz proposed openstack/oslo-specs: policy: Dynamic Policies Overlay  https://review.openstack.org/19675317:40
dhellmannstevemar: how about set errors='xmlcharrefreplace' just to be safe?17:40
*** samueldmq has joined #openstack-oslo17:41
stevemardhellmann: okie dokie17:42
dimsdhellmann: stevemar: starr'ed both reviews, getting into the release mode17:42
*** ViswaV_ has quit IRC17:42
openstackgerritSteve Martinelli proposed openstack/oslo.cache: handle utf8 encoding properly  https://review.openstack.org/19647717:43
stevemardhellmann: donezo17:43
*** ViswaV has joined #openstack-oslo17:43
openstackgerritSamuel de Medeiros Queiroz proposed openstack/oslo-specs: policy: Dynamic Policies Overlay  https://review.openstack.org/19675317:43
dhellmannstevemar: +217:43
stevemardhellmann: \o/17:44
*** exploreshaifali has quit IRC17:45
*** jaosorior has quit IRC17:46
*** achanda has joined #openstack-oslo17:46
*** jaosorior has joined #openstack-oslo17:47
*** mriedem has joined #openstack-oslo17:52
*** abitha has joined #openstack-oslo18:00
*** sigmavirus24_awa is now known as sigmavirus2418:03
openstackgerritMerged openstack/oslo.cache: handle utf8 encoding properly  https://review.openstack.org/19647718:07
*** exploreshaifali has joined #openstack-oslo18:08
openstackgerritJoshua Harlow proposed openstack/taskflow: Use `encodeutils.exception_to_unicode` for exception -> string function  https://review.openstack.org/19245818:09
openstackgerritJoshua Harlow proposed openstack/taskflow: Allow regeneration of built-in matched python exceptions  https://review.openstack.org/19581718:10
openstackgerritBrant Knudson proposed openstack/oslo.cache: Docs  https://review.openstack.org/19646418:12
openstackgerritBrant Knudson proposed openstack/oslo.cache: Cleanup exceptions  https://review.openstack.org/19647818:13
openstackgerritBrant Knudson proposed openstack/oslo.cache: Make symbols private  https://review.openstack.org/19646318:15
*** crc32 has joined #openstack-oslo18:15
openstackgerritJoshua Harlow proposed openstack/taskflow: Rename logbook module -> models module  https://review.openstack.org/18999518:19
openstackgerritBrant Knudson proposed openstack/oslo.cache: Make symbols private  https://review.openstack.org/19646318:22
openstackgerritBrant Knudson proposed openstack/oslo.cache: Docs  https://review.openstack.org/19646418:24
ativelkovdansmith: I found that field gets into _changed_fields set even if is assigned to the same value that it contained before. But if it is read_only the exception is risen only if the values differ. This seems inconsistent. Is it a bug or an intentional behavior?18:25
*** browne has joined #openstack-oslo18:26
openstackgerritBrant Knudson proposed openstack/oslo.cache: Module docs  https://review.openstack.org/19646418:28
*** openstackgerrit has quit IRC18:30
*** openstackgerrit has joined #openstack-oslo18:30
*** ozamiatin has joined #openstack-oslo18:33
*** achanda has quit IRC18:35
*** achanda has joined #openstack-oslo18:36
openstackgerritSamuel de Medeiros Queiroz proposed openstack/oslo-specs: policy: Dynamic Policies Overlay  https://review.openstack.org/19675318:36
*** achanda has quit IRC18:41
*** stevemar has quit IRC18:43
*** rpodolyaka1 has quit IRC18:44
*** stevemar has joined #openstack-oslo18:44
dansmithativelkov: IIRC, we intentionally made the read-only field ignore identical values, I think because we were doing some obligatory behavior in our API that we would have had to change18:54
dansmithativelkov: I think the read-only case is fine, but agree that we shouldn't mark the thing as dirty unless we actually change the value18:54
*** Rockyg has joined #openstack-oslo18:55
ativelkovdansmith: so, is it ok if I change it so non-readonly fields will not be marked as changed unless the values differ?18:55
dansmithativelkov: yeah, I think that's probably a good idea18:56
ativelkovdansmith: I am going to touch it anyway, as I've found that compound fields (lists, sets, dicts) are not marked as changed if they are modified by append/insert/update etc - so I am going to change it as part of my next commit :)18:57
dansmithah, okay18:57
*** _amrith_ is now known as amrith19:00
*** manishg has quit IRC19:01
*** hogepodge has quit IRC19:02
*** manishg has joined #openstack-oslo19:02
*** manishg has quit IRC19:02
*** hogepodge has joined #openstack-oslo19:03
*** manishg_ has joined #openstack-oslo19:04
*** manishg_ has quit IRC19:04
openstackgerritJoshua Harlow proposed openstack/taskflow: Retain atom `revert` result (or failure)  https://review.openstack.org/19294219:05
*** manishg_ has joined #openstack-oslo19:05
*** boris-42 has quit IRC19:12
*** kzaitsev_mb has joined #openstack-oslo19:12
*** haypo has joined #openstack-oslo19:16
*** haypo has quit IRC19:16
*** haypo has joined #openstack-oslo19:16
openstackgerritRoxana Gherle proposed openstack/oslo.config: Add enforce_type option when setting an override  https://review.openstack.org/19535519:17
openstackgerritJoshua Harlow proposed openstack/taskflow: Build-out + test a redis backed jobboard  https://review.openstack.org/17695119:17
*** shardy has quit IRC19:22
*** achanda has joined #openstack-oslo19:22
*** shardy has joined #openstack-oslo19:23
openstackgerritJoshua Harlow proposed openstack/taskflow: Integrate futurist (and **remove** taskflow originating code)  https://review.openstack.org/19627519:23
*** kzaitsev_mb has quit IRC19:26
*** kzaitsev_mb has joined #openstack-oslo19:31
openstackgerritAlexander Tivelkov proposed openstack/oslo.versionedobjects: Compound Field validation (WiP)  https://review.openstack.org/19681919:32
*** thangp has joined #openstack-oslo19:40
*** achanda has quit IRC19:48
*** manishg_ has quit IRC19:54
*** shardy has quit IRC19:55
*** jaosorior has quit IRC19:56
openstackgerritJoshua Harlow proposed openstack/taskflow: Replace taskflow.types.timing alias classes with source(s)  https://review.openstack.org/19627819:56
*** stevemar has quit IRC19:56
*** stevemar has joined #openstack-oslo19:57
openstackgerritJoshua Harlow proposed openstack/automaton: Disallow adding transitions from terminal states  https://review.openstack.org/19532319:59
openstackgerritJoshua Harlow proposed openstack/automaton: Add `is_actionable_event` checking function  https://review.openstack.org/19195519:59
*** achanda has joined #openstack-oslo20:00
*** jaosorior has joined #openstack-oslo20:00
*** shardy has joined #openstack-oslo20:01
*** kzaitsev_mb has quit IRC20:02
*** manishg has joined #openstack-oslo20:03
*** manishg has quit IRC20:07
*** stevemar has quit IRC20:08
*** kzaitsev_mb has joined #openstack-oslo20:11
openstackgerritJoshua Harlow proposed openstack/automaton: Add a bigger CD-player state-machine doctest(ed) example  https://review.openstack.org/19147720:11
*** ozamiatin has quit IRC20:15
*** stevemar has joined #openstack-oslo20:15
*** JTen has quit IRC20:17
*** JTen has joined #openstack-oslo20:19
*** manishg has joined #openstack-oslo20:20
*** achanda has quit IRC20:22
*** manishg_ has joined #openstack-oslo20:24
*** manishg has quit IRC20:24
*** JTen has quit IRC20:26
*** dontalton has quit IRC20:26
*** ihrachyshka has joined #openstack-oslo20:31
*** manishg_ has quit IRC20:31
*** boris-42 has joined #openstack-oslo20:31
openstackgerritOpenStack Proposal Bot proposed openstack/taskflow: Updated from global requirements  https://review.openstack.org/19483620:34
openstackgerritMerged openstack/oslo.policy: Add six and oslo.utils to requirements  https://review.openstack.org/19584620:36
*** zz_jgrimm has quit IRC20:37
*** browne has quit IRC20:41
*** zz_jgrimm has joined #openstack-oslo20:45
*** zz_jgrimm is now known as jgrimm20:45
*** stevemar has quit IRC20:49
*** stevemar has joined #openstack-oslo20:50
*** exploreshaifali has quit IRC20:51
*** jgrimm has quit IRC20:52
*** jgrimm has joined #openstack-oslo20:55
*** stevemar has quit IRC20:55
*** kgiusti has quit IRC21:02
*** manishg has joined #openstack-oslo21:04
*** JTen has joined #openstack-oslo21:05
mtreinishdhellmann: you said that have a script to find and fix oslo namespaced imports right?21:05
mtreinishthe oslo.db release just broke subunit2sql because we never switched it over21:06
*** Rockyg has quit IRC21:09
haypomtreinish: you can to replace "oslo." with "oslo_" :-)21:09
mtreinishhaypo: yes I realize that :)21:10
mtreinishI was about to push a patch to do that21:10
*** jgrimm has quit IRC21:13
*** stpierre has quit IRC21:17
dhellmannmtreinish: yep, let me get that for you21:17
*** gordc is now known as gordc_21:17
dhellmannmtreinish: https://review.openstack.org/#/c/195263/21:17
*** gordc_ is now known as gordc_afk21:17
mtreinishdhellmann: cool thanks21:20
mtreinishfwiw, you probably should respin the tool to add oslo.db now too21:20
dhellmannmtreinish: stand by, I'll have the subunit2sql patch for you in a sec21:20
dhellmannit handles oslo.db, just not as a special case21:20
dhellmannmost of those are special case forms that I found based on different use patterns21:20
mtreinishoops, see that now21:20
dhellmannmtreinish: I didn't see subunit2sql because it was under infra, and I didn't scan those :-(21:21
mtreinishdhellmann: yeah I figured that was the case, no worries21:21
mtreinishI think subunit2sql is about the only infra project that uses oslo stuff directly21:22
dhellmannmtreinish: https://review.openstack.org/#/c/196872/ should do it for you21:22
mtreinishdhellmann: cool, thanks21:22
*** mriedem is now known as mriedem_away21:24
*** browne has joined #openstack-oslo21:25
mtreinishdhellmann: when that lands you'll be tied for the #3 contributor (by commit count) to subunit2sql :)21:27
*** kevinbenton has quit IRC21:31
openstackgerritJoshua Harlow proposed openstack/oslo.utils: Provide a common exception caused by base class  https://review.openstack.org/19687421:32
harlowjaok jd__ i think ^ will let tooz/taskflow share that common stuff (and use it for base exeption classes)21:34
harlowjamaybe should be elsewhere, idk21:34
openstackgerritJoshua Harlow proposed openstack/oslo.utils: Provide a common exception caused by base class  https://review.openstack.org/19687421:34
harlowjahaypo let me know what u think also, since u might have some better ideas on ^21:40
*** kzaitsev_mb has quit IRC21:42
*** crc32 has quit IRC21:42
*** thangp has quit IRC21:43
*** zz_jgrimm has joined #openstack-oslo21:52
mtreinishzzzeek: on subunit2sql those lines you added to the alembic env.py a while back are now causing failures on the latest release of oslo.db: http://logs.openstack.org/72/196872/1/check/gate-subunit2sql-python27/187988c/console.html#_2015-06-29_21_33_10_79421:53
mtreinishzzzeek: tbh I'm not entirely sure I understand what https://review.openstack.org/#/c/147703/ did to fix the issue back then21:54
zzzeekmtreinish: the fix there was so that the env.py shares the same database connectivity as that of the applicaiton as a whole21:55
mtreinishah, ok that makes sense21:56
zzzeekmtreinish: and it would now be failing because we removed “_session_maker”, which we can put back in, or you can use a new name there if I can go get it for you21:56
mtreinishzzzeek: ok yeah probably switching to the new name makes the most sense. I'll respin dhellmann's patch with that and also require oslo.db 2.0.0 as the min version21:56
zzzeekmtreinish: at the moment it woudl be facade._factory._writer_maker21:58
zzzeekmtreinish: but i htink we should really add a public API to LegacyEngineFacade for this (which is what “facade” is there)21:58
mtreinishzzzeek: ok, sure I'm in favor of doing that. But that'll require a new release for the public api, so in the meantime I guess I'll just use facade._factory._writer_maker and put a comment todo switch to the future public api22:00
zzzeekmtreinish: well see if it works :)22:00
*** sdake_ has joined #openstack-oslo22:01
openstackgerritMichael Bayer proposed openstack/oslo.db: Add legacy get_sessionmaker() method  https://review.openstack.org/19688522:03
zzzeekmtreinish:  ^^^^22:03
*** sdake has quit IRC22:04
mtreinishzzzeek: awesome thanks22:06
*** Rockyg has joined #openstack-oslo22:09
mtreinishzzzeek: in the meantime I respun https://review.openstack.org/196872 hopefully using _writer_maker will work to unblock things22:10
zzzeekmtreinish: yah hope im not missing anything22:10
*** Rockyg has quit IRC22:12
*** manishg has quit IRC22:12
*** Rockyg has joined #openstack-oslo22:13
mtreinishzzzeek: looks like it worked, I just missed a call: http://logs.openstack.org/72/196872/2/check/gate-subunit2sql-python27/fad1662/console.html#_2015-06-29_22_11_32_91522:14
zzzeekok22:14
*** ozamiatin has joined #openstack-oslo22:15
*** manishg has joined #openstack-oslo22:16
*** bknudson has quit IRC22:20
*** tsekiyama has joined #openstack-oslo22:21
*** tsbot_ has joined #openstack-oslo22:22
*** exploreshaifali has joined #openstack-oslo22:23
*** ozamiatin has quit IRC22:25
*** zzzeek has quit IRC22:26
*** prad has quit IRC22:31
*** jaosorior has quit IRC22:36
*** yassine has joined #openstack-oslo22:38
openstackgerritJoshua Harlow proposed openstack/automaton: Add a bigger CD-player state-machine doctest(ed) example  https://review.openstack.org/19147722:43
openstackgerritKevin Benton proposed openstack/oslo.messaging: Verify that version in 'prepare' is a string  https://review.openstack.org/19386722:45
*** yassine has quit IRC22:47
*** dims_ has joined #openstack-oslo22:55
*** exploreshaifali has quit IRC22:56
*** ihrachyshka has quit IRC22:56
*** dims has quit IRC22:59
*** dims_ has quit IRC23:00
*** sdake has joined #openstack-oslo23:02
*** jecarey has quit IRC23:02
*** zzzeek has joined #openstack-oslo23:03
*** sdake_ has quit IRC23:05
*** ozamiatin has joined #openstack-oslo23:27
*** boris-42 has quit IRC23:32
*** zzzeek has quit IRC23:56

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