Tuesday, 2015-07-28

* dims peeks to see if we broke the WORLD yet00:06
*** sputnik13 has quit IRC00:07
harlowjaha00:11
dimsharlowja: https://review.openstack.org/#/c/205779/ is ready again00:14
harlowjacool00:14
dimsadjusted the test case for a numeric level other than 500:14
harlowjacools00:15
harlowjalet's see what happens with that review, ha00:15
dimsthank you sir00:15
harlowjanp00:16
dimsharlowja: getting greedy...i have a quick hit link with a handful of reviews in various oslo projects if you get a chance (http://bit.ly/oslo-quick-hits)00:18
dimsback in a bit!00:18
harlowjasureee00:18
*** dims has quit IRC00:22
*** mtanino_ has joined #openstack-oslo00:25
*** mtanino has quit IRC00:26
*** tsekiyam_ has joined #openstack-oslo00:27
*** tsekiyama has quit IRC00:31
*** dims has joined #openstack-oslo00:32
*** salv-orlando has joined #openstack-oslo00:33
openstackgerritDavanum Srinivas (dims) proposed openstack/oslo.log: Define TRACE logging level  https://review.openstack.org/20577900:35
harlowjadims soooo does https://github.com/openstack/oslotest/blob/master/oslotest/base.py#L46 get affected by ^00:36
harlowjashould that by default now capture TRACE level?00:37
*** salv-orlando has quit IRC00:37
openstackgerritMerged openstack/oslo-incubator: Updated from global requirements  https://review.openstack.org/20616600:44
*** openstackgerrit has quit IRC00:46
*** openstackgerrit has joined #openstack-oslo00:47
*** zz_dimtruck is now known as dimtruck00:49
openstackgerritJoshua Harlow proposed openstack/oslotest: Allow TRACE and integer logging levels for 'OS_DEBUG'  https://review.openstack.org/20627000:54
harlowjadims perhaps ^ follows your 20577900:54
*** kevinbenton has quit IRC00:54
harlowjapretty sure that would also be useful for taskflow tests, since it already uses 500:55
*** kevinbenton has joined #openstack-oslo00:57
openstackgerritJoshua Harlow proposed openstack/oslotest: Allow TRACE and integer logging levels for 'OS_DEBUG'  https://review.openstack.org/20627000:59
openstackgerritJoshua Harlow proposed openstack/taskflow: Avoid adding 1 to a failure (if it gets triggered)  https://review.openstack.org/20627301:07
*** salv-orlando has joined #openstack-oslo01:44
*** dimtruck is now known as zz_dimtruck01:45
*** salv-orlando has quit IRC01:48
*** jlvillal has quit IRC01:58
*** jlvillal has joined #openstack-oslo01:59
*** tsekiyam_ has quit IRC02:03
*** mtanino_ has quit IRC02:06
*** stevemar has joined #openstack-oslo02:07
*** sigmavirus24 has quit IRC02:07
openstackgerritJoshua Harlow proposed openstack/taskflow: Extend and improve failure logging (WIP)  https://review.openstack.org/20590302:17
*** dims has quit IRC02:35
openstackgerritJoshua Harlow proposed openstack/taskflow: Extend and improve failure logging (WIP)  https://review.openstack.org/20590302:37
*** sputnik13 has joined #openstack-oslo02:44
*** stevemar has quit IRC03:01
*** zz_dimtruck is now known as dimtruck03:02
*** Kennan2 has quit IRC03:20
*** Kennan has joined #openstack-oslo03:20
*** stevemar has joined #openstack-oslo03:50
*** dimtruck is now known as zz_dimtruck03:51
*** stevemar has quit IRC03:52
*** jamespage has quit IRC04:05
*** harlowja_at_home has joined #openstack-oslo04:32
*** rpodolyaka1 has joined #openstack-oslo04:48
*** yamahata has joined #openstack-oslo04:59
openstackgerritJoshua Harlow proposed openstack/taskflow: Extend and improve failure logging  https://review.openstack.org/20590305:11
*** e0ne has joined #openstack-oslo05:14
*** sputnik13 has quit IRC05:15
*** harlowja_at_home has quit IRC05:32
*** rpodolyaka1 has quit IRC05:34
*** ihrachyshka has joined #openstack-oslo05:37
*** e0ne has quit IRC05:42
*** e0ne has joined #openstack-oslo05:44
*** e0ne has quit IRC05:51
*** jamielennox is now known as jamielennox|away05:52
*** sputnik13 has joined #openstack-oslo05:55
*** salv-orlando has joined #openstack-oslo05:55
*** e0ne has joined #openstack-oslo05:55
*** jamielennox|away is now known as jamielennox05:56
*** sputnik13 has quit IRC05:57
*** harlowja_at_home has joined #openstack-oslo06:04
*** rpodolyaka1 has joined #openstack-oslo06:07
*** ozamiatin has joined #openstack-oslo06:08
*** e0ne has quit IRC06:13
*** ihrachyshka has quit IRC06:20
*** ozamiatin has quit IRC06:21
*** harlowja_at_home has quit IRC06:23
*** jamespage has joined #openstack-oslo06:24
*** rpodolyaka1 has quit IRC06:34
*** rossella_s has quit IRC06:37
*** rossella_s has joined #openstack-oslo06:38
*** jamespage_ has joined #openstack-oslo06:40
*** nkrinner has joined #openstack-oslo06:42
*** rpodolyaka1 has joined #openstack-oslo06:46
-openstackstatus- NOTICE: zuul is stuck and about to undergo an emergency restart, please be patient as job results may take a long time06:46
*** ChanServ changes topic to "zuul is stuck and about to undergo an emergency restart, please be patient as job results may take a long time"06:47
*** jamespage_ has quit IRC06:48
*** salv-orlando has quit IRC06:59
*** cdent has joined #openstack-oslo07:02
*** sdake has joined #openstack-oslo07:07
*** achanda has quit IRC07:11
*** achanda has joined #openstack-oslo07:18
*** ozamiatin has joined #openstack-oslo07:23
*** browne has quit IRC07:35
*** achanda has quit IRC07:35
*** e0ne has joined #openstack-oslo07:37
*** rpodolyaka1 has quit IRC07:39
*** yamahata has quit IRC07:44
*** achanda has joined #openstack-oslo07:46
*** salv-orlando has joined #openstack-oslo07:50
*** sdake has quit IRC07:57
*** achanda has quit IRC08:00
*** achanda has joined #openstack-oslo08:01
-openstackstatus- NOTICE: zuul has been restarted and queues restored. It may take some time to work through the backlog.08:03
*** ChanServ changes topic to "#openstack-oslo"08:03
*** achanda has quit IRC08:04
*** achanda has joined #openstack-oslo08:11
*** ndipanov has quit IRC08:12
*** rpodolyaka1 has joined #openstack-oslo08:22
*** ihrachyshka has joined #openstack-oslo08:28
*** achanda has quit IRC08:32
*** alexpilotti has joined #openstack-oslo08:34
*** yassine__ has joined #openstack-oslo08:40
openstackgerritMerged openstack/taskflow: Fix seven typos and one readability on taskflow documentation  https://review.openstack.org/20589208:42
openstackgerritMerged openstack/oslo.service: Activate pep8 check that _ is imported  https://review.openstack.org/20530908:43
openstackgerritMerged openstack/oslo.middleware: Added verbose debug logging to CORS  https://review.openstack.org/20071508:47
openstackgerritMerged openstack/oslo.config: preserve preformatted help text  https://review.openstack.org/20570808:48
*** achanda has joined #openstack-oslo08:51
openstackgerritMerged openstack/oslo.service: Allow LoopingCall to continue on exception in callee  https://review.openstack.org/19360508:56
*** achanda has quit IRC09:00
openstackgerritMerged openstack/oslotest: Allow TRACE and integer logging levels for 'OS_DEBUG'  https://review.openstack.org/20627009:01
openstackgerritMerged openstack/tooz: No longer need kazoo lock custom retry code  https://review.openstack.org/18214609:07
*** boris-42 has quit IRC09:10
*** ndipanov has joined #openstack-oslo09:12
*** achanda has joined #openstack-oslo09:17
*** exploreshaifali has joined #openstack-oslo09:24
openstackgerritDmitry Tantsur proposed openstack/oslo.log: Set verbose to True and deprecate it  https://review.openstack.org/20643709:27
*** achanda has quit IRC09:33
*** rpodolyaka1 has quit IRC09:57
*** haypo has joined #openstack-oslo09:57
openstackgerritDmitry Tantsur proposed openstack/oslo.log: Set verbose to True and deprecate it  https://review.openstack.org/20643710:14
*** dims has joined #openstack-oslo10:31
*** salv-orl_ has joined #openstack-oslo10:34
*** salv-orlando has quit IRC10:37
*** rossella_s has quit IRC10:37
*** ruhe has left #openstack-oslo10:37
*** rossella_s has joined #openstack-oslo10:38
ozamiatindroyal: hi, i'd like to merge this patch https://review.openstack.org/#/c/204736/ but tests are failing, could you please take look?10:40
*** salv-orl_ has quit IRC10:47
openstackgerritVictor Stinner proposed openstack/oslo.db: Fix test_migrations on Python 3  https://review.openstack.org/20647610:50
*** salv-orlando has joined #openstack-oslo11:00
*** salv-orl_ has joined #openstack-oslo11:01
ozamiatinsdague: around?11:04
*** salv-orlando has quit IRC11:05
ozamiatinsdague: hi, I need your help with devstack + zmq plugin11:05
ozamiatinsdague: I'm running devstack from my forked branch: https://github.com/ozamiatin/devstack you can find stackrc and local.conf modified there11:06
ozamiatinsdague: I'm trying to make it choose oslo.messaging feature/zmq branch but it takes old zmq driver anyway11:07
ozamiatinsdague: what I'm doing wrong?11:08
sdagueozamiatin: you are not specifying gitref11:09
sdaguegitref - an optional git ref (branch / ref / tag) that will be cloned. Defaults to master.11:09
sdaguehttp://docs.openstack.org/developer/devstack/plugins.html11:09
sdaguealso, you'll have to specify branch for oslo.messaging, everything defaults to master11:10
ozamiatinsdague: yeah, but gitref relates to plugin repo right? branch for oslo.messaging is specified in stackrc11:11
ozamiatinsdague: https://github.com/ozamiatin/devstack/blob/master/stackrc#L36211:12
ozamiatinozamiatin: I'm still missing something but don't understand what exactly ((11:14
ozamiatinsdague: ^^11:14
*** rpodolyaka1 has joined #openstack-oslo11:14
ozamiatinsdague: one more thing is that it clones the proper branch to /opt/stack/oslo.messaging but installs the default package11:16
sdagueozamiatin: so something else might be installing a thing at a bad time, you'll have to debug that11:17
ozamiatinsdague: ok, thanks, I'll try to figure it out11:25
*** jaosorior has joined #openstack-oslo11:37
*** dguitarbite has quit IRC11:45
*** kgiusti has joined #openstack-oslo12:06
*** gordc has joined #openstack-oslo12:11
*** rpodolyaka1 has quit IRC12:18
*** rpodolyaka1 has joined #openstack-oslo12:18
*** rpodolyaka1 has quit IRC12:19
*** tdurakov has joined #openstack-oslo12:24
tdurakovharlowja; hi, are you around?12:26
dimstdurakov: he is in the west coast so about 4 hours he'll be here12:27
tdurakovdims, ok, thank you12:27
*** bknudson has joined #openstack-oslo12:30
*** stevemar has joined #openstack-oslo12:31
*** rpodolyaka1 has joined #openstack-oslo12:33
*** rpodolyaka1 has quit IRC12:37
*** stevemar has quit IRC12:38
*** rpodolyaka1 has joined #openstack-oslo12:39
*** ozamiatin has quit IRC12:44
*** stevemar has joined #openstack-oslo12:45
*** gordc is now known as gordc_meeting12:56
*** bknudson has quit IRC12:59
*** zz_dimtruck is now known as dimtruck13:08
*** amotoki has joined #openstack-oslo13:08
*** LimorStotland has joined #openstack-oslo13:13
*** prad has joined #openstack-oslo13:15
*** ganso_ has joined #openstack-oslo13:15
*** zzzeek has joined #openstack-oslo13:17
*** browne has joined #openstack-oslo13:19
*** bknudson has joined #openstack-oslo13:20
*** dguitarbite has joined #openstack-oslo13:28
*** dguitarbite is now known as Guest1185913:28
*** stevemar has quit IRC13:50
*** mriedem_away is now known as mriedem13:53
*** sigmavirus24_awa has joined #openstack-oslo13:57
*** stevemar has joined #openstack-oslo13:57
*** sigmavirus24_awa is now known as sigmavirus2413:57
*** rpodolyaka2 has joined #openstack-oslo14:02
*** rpodolyaka1 has quit IRC14:02
*** stevemar has quit IRC14:02
*** yamahata has joined #openstack-oslo14:09
*** boris-42 has joined #openstack-oslo14:10
*** jecarey_ has joined #openstack-oslo14:14
*** ozamiatin has joined #openstack-oslo14:15
*** tsekiyama has joined #openstack-oslo14:21
*** Guest11859 has quit IRC14:23
*** jaypipes has joined #openstack-oslo14:29
*** yamahata has quit IRC14:33
*** rossella_s has quit IRC14:37
*** rossella_s has joined #openstack-oslo14:37
*** stevemar has joined #openstack-oslo14:38
*** stevemar has quit IRC14:46
*** rpodolyaka2 has quit IRC14:49
*** rpodolyaka1 has joined #openstack-oslo14:49
*** stevemar has joined #openstack-oslo14:54
*** sdake has joined #openstack-oslo14:55
*** achanda has joined #openstack-oslo14:56
*** rpodolyaka1 has quit IRC14:58
*** rpodolyaka1 has joined #openstack-oslo15:01
*** rpodolyaka1 has quit IRC15:06
*** rpodolyaka1 has joined #openstack-oslo15:07
*** achanda has quit IRC15:09
*** nkrinner has quit IRC15:10
*** eezhova has quit IRC15:10
*** eezhova has joined #openstack-oslo15:10
*** gordc_meeting has quit IRC15:12
*** mtanino has joined #openstack-oslo15:18
*** exploreshaifali has quit IRC15:21
*** browne has quit IRC15:32
*** sdake has quit IRC15:35
*** stevemar has quit IRC15:44
*** gordc has joined #openstack-oslo15:45
*** ozamiatin has quit IRC15:46
*** alexpilotti has quit IRC15:47
zzzeekjd__: hey want to confirm gnocchi only makes *one* SQLAlchemyIndexer for a Python process, not for every request, right?15:50
openstackgerritMarian Horban proposed openstack/oslo.service: [WIP] Added class SignalHandler  https://review.openstack.org/20497216:02
*** ihrachyshka has quit IRC16:06
*** ashleighfarnham has joined #openstack-oslo16:12
*** ashleighfarnham has quit IRC16:16
*** ashleighfarnham has joined #openstack-oslo16:17
*** cdent has quit IRC16:18
*** e0ne has quit IRC16:20
*** LimorStotland has quit IRC16:20
*** sdake has joined #openstack-oslo16:22
*** browne has joined #openstack-oslo16:25
*** rpodolyaka1 has quit IRC16:25
jd__zzzeek: yes!16:39
*** dims has quit IRC16:52
*** dims has joined #openstack-oslo16:52
*** dims has quit IRC16:52
*** dims has joined #openstack-oslo16:53
tdurakovis there any way to change value provided by store params  in taskflow.engines.run?16:53
*** jaypipes has quit IRC16:54
*** jaypipes has joined #openstack-oslo16:55
tdurakovhere is snippet: http://paste.openstack.org/show/406108/16:55
dimsharlowja: ^^^16:56
*** haypo has left #openstack-oslo16:57
*** ihrachyshka has joined #openstack-oslo16:59
*** exploreshaifali has joined #openstack-oslo17:04
*** sputnik13 has joined #openstack-oslo17:07
*** jamespage_ has joined #openstack-oslo17:09
*** jamespage_ has quit IRC17:18
*** rpodolyaka1 has joined #openstack-oslo17:19
*** rpodolyaka1 has quit IRC17:20
*** boris-42 has quit IRC17:20
*** stevemar has joined #openstack-oslo17:21
*** jamespage_ has joined #openstack-oslo17:22
*** boris-42 has joined #openstack-oslo17:22
*** jamespage_ has quit IRC17:34
*** yassine__ has quit IRC17:36
*** achanda has joined #openstack-oslo17:42
*** amotoki has quit IRC17:48
openstackgerritThang Pham proposed openstack/oslo.versionedobjects: Make direct call to object's obj_from_primitive  https://review.openstack.org/20663717:50
*** rpodolyaka1 has joined #openstack-oslo17:58
*** mriedem is now known as mriedem_meeting18:00
harlowjai am around, was in meeting18:01
*** achanda has quit IRC18:02
*** achanda has joined #openstack-oslo18:02
harlowjatdurakov whats up18:03
harlowjatdurakov ah, change stored params, hmmm18:04
harlowjayes that shoudl be possible, if u do it before run, using the load() call instead18:10
harlowja<<< e = engines.load(f)18:10
harlowja<<< e.prepare()18:10
harlowja<<< e.storage.<do things with storage>18:10
harlowjathen18:10
harlowja<<< e.run()18:10
harlowjatdurakov ^18:10
*** sputnik13 has quit IRC18:13
*** sputnik13 has joined #openstack-oslo18:14
openstackgerritlifeless proposed openstack-dev/pbr: Export ChangeLog and AUTHORS in install  https://review.openstack.org/20233918:19
lifelessharlowja: care to eyeball ^ its two weeks old now, and getting it in a release is blocking getting current docs for mock on rtd18:21
harlowjalifeless checking, thats cool, fixes i think the need for some files i have setup18:37
*** rossella_s has quit IRC18:37
harlowjaie https://github.com/openstack/taskflow/blob/master/ChangeLog (which if it doesn't exist, will cause sphinx to say WTFmate)18:37
*** rossella_s has joined #openstack-oslo18:38
*** stevemar has quit IRC18:48
*** rpodolyaka1 has quit IRC18:49
harlowjalifeless all done18:51
harlowjalifeless let me know if u think i can then remove https://github.com/openstack/taskflow/blob/master/ChangeLog18:51
harlowjapretty sure i can after that, but will try18:51
lifelessi thunk so18:51
harlowjacool18:52
harlowjathunks18:52
harlowja*not those kind of thunks*18:52
harlowjalol18:52
harlowjanm18:52
*** ozamiatin has joined #openstack-oslo18:56
openstackgerritDan Smith proposed openstack/oslo.versionedobjects: Support using the version manifest for obj_make_compatible()  https://review.openstack.org/20665718:59
*** e0ne has joined #openstack-oslo19:03
*** rpodolyaka1 has joined #openstack-oslo19:05
*** zzzeek has quit IRC19:06
*** zzzeek has joined #openstack-oslo19:08
harlowjabknudson ok, will fix up those debtcollector stuff, as for the moved module attribute, that one i'm not entirely sure about :-P19:11
harlowjapossibly http://wrapt.readthedocs.org/en/latest/wrappers.html#object-proxy but not sure19:11
harlowjato much crap can happen with random module properties19:12
bknudsonharlowja: that would be cool19:12
harlowjabknudson like just accessing the property would warn?19:12
harlowjaor performing actions on the module attribute/property19:12
harlowjaor all the above :-P19:12
bknudsonI'd expect a warning if I had any code that did module1.HTTPClient19:13
bknudsonwhere HTTPClient had been renamed to Client or something19:13
bknudsonor HTTPClient had been removed19:14
harlowjaya, thats accessing it, thats tough i think19:14
harlowjabut might be wrong, idk19:15
bknudsonyou'd need to make module different so you can override getattr19:15
bknudsonI could have sworn I found an example somewhere19:16
*** exploreshaifali has quit IRC19:21
*** mriedem_meeting is now known as mriedem19:27
*** ozamiatin has quit IRC19:29
*** tdurakov_ has joined #openstack-oslo19:31
tdurakov_harlowja, ping19:33
harlowjatdurakov_ whats up19:33
harlowjabknudson ya, making the full module different just to change one attribute == scary, lol19:34
tdurakov_thanks for response)19:34
harlowjanp!19:34
bknudsonmaybe it's used for lazy loading of imports?19:35
bknudsone.g., http://git.openstack.org/cgit/openstack/python-keystoneclient/tree/keystoneclient/__init__.py#n5219:35
tdurakov_http://paste.openstack.org/show/406108/ - look, if you run this snippet in execute of B task would be printed 'hello world' while i expected to see 'new param' as a result of A task execution19:36
tdurakov_harlowja^19:36
bknudsonI don't know how I'd print out a warning for use of a renamed constant?19:37
bknudsonso I guess all I can do is docstring19:37
harlowjatdurakov soooo, ya, i know whats up there19:37
tdurakov_and another question: is there any 'if/else' type flows in taskflow?19:37
harlowjatdurakov http://docs.openstack.org/developer/taskflow/engines.html#scoping (so the param lookup is preferring the injected stuff)19:38
harlowjawhich is the 'store={'param': 'hello world'}'19:38
harlowja#3 and #4 in that scoping rule list19:38
harlowjai've considered changing that, but it will break to many people19:38
harlowjatdurakov http://paste.openstack.org/show/406132/19:39
harlowjatry that19:39
harlowjaalters the start name, to be different19:39
tdurakov_harlowja: it would work:)19:40
lifelessbknudson: you can but its very evil19:40
harlowjatdurakov_ as for 'if else' there is somewhat like that, its not the same kind of if/else u would normally think of19:41
lifelessbknudson: replace the module during import with a rich object that has __getattribute__ or __getattr__ and issues deprecation warnings19:41
harlowjatdurakov_ https://github.com/openstack/taskflow/blob/master/taskflow/examples/switch_graph_flow.py19:41
harlowjaits called 'switches'19:41
bknudsonlifeless: do you have an example?19:41
tdurakov_i saw your patch)19:41
tdurakov_is there any way to get flow context vars in decider method?19:42
tdurakov_also to implement `if/else` i need 2 decider method one for each node, it seems strange19:42
tdurakov_harlowja^19:43
harlowjatdurakov_ flow programming is sorta different like this, although i'm def willing to see how to make it better19:43
harlowjaas for flow context vars, not currently, could be added19:43
tdurakov_++ for context vars19:43
harlowjaor just providing the storage object to decider methods, ha19:44
harlowjaprobably more flexible that way19:44
harlowjathen u lookup wahtever u want19:44
bknudsonhere's an example from stackoverflow: http://stackoverflow.com/questions/2447353/getattr-on-a-module19:44
tdurakov_sure, anyway it would be more flexible)19:45
bknudsonI'm going to try it just to see what it looks like19:45
openstackgerritThang Pham proposed openstack/oslo.versionedobjects: Fix ComparableVersionedObject in python 3.4  https://review.openstack.org/20667919:45
tdurakov_<harlowja> tdurakov_ flow programming is sorta different like this, although i'm def willing to see how to make it better - what about new method with u,v,w, decider params19:46
*** ozamiatin has joined #openstack-oslo19:47
harlowjatdurakov_ hmmm how would that differ from what exists?19:47
tdurakov_where u - parent node, v,w - children and decider selects one from them19:47
tdurakov_it could be extended to the list of children19:47
tdurakov_harlowja, what do you think?19:47
harlowjahmmm19:48
harlowjathats buildable with the current stuff right?19:48
lifelessbknudson: no :) its evil.19:48
harlowjatdurakov although somewhat painful i guess19:48
lifelessbknudson: do we really need to do that ?19:48
lifelessbknudson: and yes - that stackoverflow19:49
tdurakov_yeah, there is a lot of overhead for this now19:49
harlowjatdurakov maybe then just some utility helper functions vs new method?19:49
bknudsonlifeless: use warnings.warn() when using a constant that we're going to remove?19:49
tdurakov_if you decide to override link method you wouldn't break current api19:50
tdurakov_bu give a lot of flexibility for you lib users:)19:50
tdurakov_*but19:50
harlowjahmmmm, tdurakov  maybe u want to throw together an example, might make it more clear19:50
harlowjasputnik13 ^19:50
lifelessbknudson: thats the use case, but do we need it badly enough to do the shenanigans involved?19:50
sputnik13??19:51
bknudsonlifeless: probably not19:51
harlowjasputnik13 and the octavia people def wanted that decider tdurakov , so maybe they have some thoughts to19:51
tdurakov_harlowja, sure19:51
lifelessbknudson: I mean, its a constant. we could leave it there forever with approximately zero cost.19:51
sputnik13oh19:51
harlowjasputnik13  check backlog19:51
harlowjadecider stuff19:51
sputnik13kk19:51
harlowjau probably interested in, i forget the other octavia people to, tdurakov  but def maybe a simple POC would help19:51
lifelessbknudson: probably more important would be to introduce a coding style guideline not to do module level constants19:51
bknudsonlifeless: the docstring should be adequate... also, I agree that we can just leave it.19:51
lifeless[except if they reallllly will be forever]19:52
harlowjaforeverrr!19:52
harlowjalol19:52
bknudsonlifeless: I like having the guideline since we've got a reason not to do it.19:52
tdurakov_ok, i'll create poc for that:)19:52
tdurakov_harlowja^19:52
harlowjatdurakov if we can just build ontop of the current link() method somehow, that'd be cool, making a helper that glues stuff together in a nice way would be cool19:52
harlowjatdurakov great :)19:52
tdurakov_i'll push wip patch to gerrit and add you as reviewer19:53
harlowjatdurakov great, and sputnik13 cause i'm sure he's interested :-P19:54
harlowjaanddd tdurakov  maybe some of the folks in #openstack-lbaas (the octavia folks)19:56
tdurakov_kk, about scoping stuff, here is usecase from nova, i need to check 2 hosts in flow. i create class for this, initial check is made from host variable i pass in `store` dict to run method, few tasks later i need to run this again but with another host.19:56
harlowjaya, tdurakov  i'm thinking we might want to make it optional changeable, so that storage stuff is prefered 'last'19:57
harlowjaso storage provided values are more like 'global' scope19:57
harlowjavs what it is now19:57
harlowjaie instead of 1.. 6 http://docs.openstack.org/developer/taskflow/engines.html#scoping19:57
tdurakov_similiar to snippet i've send. scoping seems reasonable, but here is one thing to add19:57
harlowjait could be19:58
harlowja1.19:58
harlowja2.19:58
harlowja5.19:58
harlowja6.19:58
harlowja3.19:58
harlowja4.19:58
harlowjavs 1...619:58
harlowjacould make that selectable i guess19:58
harlowjabut don't want people to shoot themselves, lol19:58
harlowja(cause people will always try to, lol)19:59
tdurakov_r = taskflow.engines.run(flow, store={'param': 'hello world'}) -  r would be a a set of all values('hello world', 'new_param', 'c_param')19:59
harlowjar?19:59
harlowjaoh19:59
harlowjagotcha19:59
harlowjayes, thats possible20:00
harlowjavs the collapsed values its right now20:00
harlowja*collapsed/flattened20:00
harlowjahttps://github.com/openstack/taskflow/blob/master/taskflow/storage.py#L873 (can be provided a custom flattening function)20:01
harlowjatdurakov ^20:01
harlowjaright now as u see, it selects last20:01
harlowja*first i mean, ha20:01
harlowjabut anyway, improvements welcome :)20:02
bknudsonlifeless: harlowja: here's an example https://review.openstack.org/#/c/205833/3/keystoneclient/httpclient.py20:02
tdurakov_instead of changing scope order we could return all possible values:) not sure this is good idea, configurable scope ordering seems better one:)20:02
harlowjatdurakov could be either, i'm not sure either, scope ordering is really a 'advanced' feature (not sure how many people would have any idea wtf that is, lol)20:03
harlowjaya, USER_AGENT global :(20:03
harlowjabknudson sad face, lol20:03
harlowjawith proxy, hmmm20:03
lifelessbknudson: that is how you do it20:03
tdurakov_harlowja, ok, thank you Joshua!:)20:04
harlowjatdurakov_ lots of things we can try :)20:04
lifelessbknudson: but still, evil20:04
harlowjatdurakov_ are u working on nova stuff + taskflow + possiblities??20:04
harlowja(out of curosity)20:04
tdurakov_yep)20:04
harlowjaniceeee20:04
harlowja+20020:04
harlowja:-P20:05
harlowjatdurakov_ i can throw some kind of scoping order tweaking patch up20:05
*** alexpilotti has joined #openstack-oslo20:06
harlowjatdurakov_ https://review.openstack.org/#/c/187376/ refactors part of that, so that will make it easier to do this kind of stuff (if we want)20:06
harlowjahttps://review.openstack.org/#/c/187376/ should make it 'cleaner'20:06
harlowja*imho*20:06
harlowjanot perfect still, but cleaner :)20:06
tdurakov_harlowja, it would be great)20:07
harlowja*never perfect!* :)20:07
harlowjatdurakov_ cools20:07
openstackgerritMerged openstack-dev/pbr: Export ChangeLog and AUTHORS in install  https://review.openstack.org/20233920:07
harlowjabknudson lifeless  so ya, idk, should debtcollector provide such a pattern, unsure20:09
harlowjai'll let u guys figure that out, i did my 5 patches , lol20:09
lifelessI dunno20:11
lifelessits just an awfully heavy hammer20:11
*** kgiusti has left #openstack-oslo20:11
lifelessprobably ok...20:11
*** alexpilotti has quit IRC20:12
*** dimtruck is now known as zz_dimtruck20:12
*** e0ne has quit IRC20:19
*** jaypipes has quit IRC20:20
*** e0ne has joined #openstack-oslo20:21
*** e0ne has quit IRC20:21
*** mtanino has quit IRC20:23
*** salv-orlando has joined #openstack-oslo20:31
*** jaypipes has joined #openstack-oslo20:31
*** haypo has joined #openstack-oslo20:32
haypodhellmann: hi. could you please approved https://review.openstack.org/#/c/200416/ again (dnspython3)?20:33
haypodhellmann: i'm working on porting Swift to Python 3, and dnspython3 will help20:34
*** salv-orl_ has quit IRC20:34
haypodhellmann, lifeless: FYI swift is still stuck at pbr < 1.0 because they still use hacking 0.8. i'm working on a patch to upgrade hacking to 0.10: https://review.openstack.org/#/c/205977/20:35
lifelesshaypo: thanks20:35
haypolifeless: oh i didn't check before for pbr20:37
haypolifeless: i just checked: it's now possible to use pbr 1.320:37
haypolifeless: so i will be able to use environment markers in requirements to install dnspython3 on python 3, and dnspython on python 220:37
haypolifeless: are you now a core reviewer on requirements too?20:38
lifelessI am20:38
haypolifeless: oh, i have a new victim to harass to get a review :)20:39
haypolifeless: hello! could you please review https://review.openstack.org/#/c/200416/ ? :-D20:39
*** ganso_ has quit IRC20:40
*** mtanino has joined #openstack-oslo20:41
lifelesshaypo: done (-2) :)20:41
haypolifeless: why not using "python_version < '3'" in global requirements instead of "python_version=='2.7' or python_version=='2.6'" or "python_version=='2.7'"20:41
*** gordc has quit IRC20:41
haypolifeless: oh. i wasn't aware of https://review.openstack.org/#/c/196633/20:42
*** alexpilotti has joined #openstack-oslo20:42
haypoit occurs me more and more often than i write a duplicate patch20:42
haypoit's strange. why do people don't warn me that they are also working on python3?20:43
haypolifeless: ah! this patch uses python_version<'3.0' and python_version>='3.0' :-)20:43
haypoby why not adding a space after ';' for readability?20:43
lifelesshaypo: I don't think it adds or removes anything20:44
haypolifeless: it adds readability20:46
lifelesswe don't anywhere else in the file20:47
lifelessif we're going to say we care about this, we should auto-format it for folk20:47
lifelessI'm not going to -1 a patch for being consistent with the current file20:47
haypolifeless: i voted +1 on https://review.openstack.org/#/c/196633/20:48
haypolifeless: i'm not going to nitpick on this one, it blocks me a long chain of patches on swift :)20:49
haypodnspython3 (req) => hacking 0.10 (swift) => fix tox -e py34 (swift)20:50
haypoit's amazing how much things i had to modify to add the most basic support of python 3 in swift20:51
*** alexpilotti has quit IRC20:52
lifelessyup20:57
*** rpodolyaka1 has quit IRC21:02
*** jaypipes has quit IRC21:04
openstackgerritTimofey Durakov proposed openstack/taskflow: .gitignore update  https://review.openstack.org/20669721:06
*** rpodolyaka1 has joined #openstack-oslo21:07
*** rpodolyaka1 has quit IRC21:08
lifelesszzzeek: https://review.openstack.org/#/c/205201/21:18
lifelesszzzeek: I want to make sure you're not blocked: you're editing the wrong file in that proposal21:18
zzzeeklifeless: so you said.  did you see my response?21:19
zzzeekah you have one. let me read21:19
zzzeeklifeless: so.  i dont want to “require” this version.  I just want it to be installable.   otherwise, why does global-requirements have any < > signs at all?  why not make it 100% “===“ signs ?21:20
zzzeeklifeless: what is the point to having *two* files ?21:20
openstackgerritJoshua Harlow proposed openstack/debtcollector: Expose a top level 'deprecate' function  https://review.openstack.org/20626221:21
lifelesszzzeek: if we pin in our releases we get deadlocked because we can't shift the version of anything21:22
lifelesszzzeek: so we can't pin releases - and the tools that interact with PyPI are not designed to deal with hard-pins except in rare cases21:23
lifelesse.g. if lots of things on PyPI have hard pins and upper bounds, dep resolution becomes ridiculously hard - its NP21:24
lifelesszzzeek: but for CI stability we need insulation from releases, both of our code and of other code21:24
zzzeeklifeless: but this upper-bounds file *is* an upper bound21:24
*** tdurakov_ has quit IRC21:24
lifelesszzzeek: and thus we have a separate file that is *not* reflected into setuptools metadata, that defines an exact set of packages that works21:25
lifelesszzzeek: for CI.21:25
zzzeekbasiaclly what youre saying is, every time I release a new SQLAlchemy as 1.0.x that fixes something for an openstack app, we need to bump global reqiuresments to “sqlalchemy >1.0.X < 1.1.0”.  it’s basically a hard pin21:25
lifelesszzzeek: I am confused. You say that there is a bug fixed in 1.0.8 that affects everyone21:25
zzzeeklifeless: it is a scalability improvement21:26
zzzeeklifeless: certain errors ppl getting in their logs are alleviated21:26
lifelessso, generally speaking you don't need to do anything. the proposal bot will.21:26
lifelesse.g. https://review.openstack.org/#/c/206650/21:26
lifelessit recalculates whats installable and proposes it as a merge21:26
zzzeeklifeless: great21:27
zzzeeklifeless: so then I can abandon my thing :)21:27
lifelessit was broken due to some infray things for a little bit21:27
lifelessbut its fixed again now21:27
lifelessyes, I think you can.21:27
zzzeeklifeless: ah.  in which case i never would have seen the 1.0.6 being stuck and wouldnt have even been trying to do this :)21:28
lifelesswhen the bot's proposed changes fail, it generally means something broke upstream and we need to blacklist a version (temporarily while we adjust, or permanently while they rectify)21:28
*** BAKfr has quit IRC21:30
lifelessfungi: https://review.openstack.org/#/c/203358/ +2A please21:31
*** BAKfr has joined #openstack-oslo21:36
*** jamespage_ has joined #openstack-oslo21:38
openstackgerritMerged openstack/taskflow: Remove legacy py2.6 backwards logging compat. code  https://review.openstack.org/20344121:40
*** jamespage_ has quit IRC21:40
*** jaosorior has quit IRC21:41
*** dims has quit IRC21:42
*** gordc has joined #openstack-oslo21:42
*** mriedem has quit IRC21:54
*** bknudson has quit IRC21:59
*** dims has joined #openstack-oslo22:02
*** jecarey_ has quit IRC22:08
*** zz_dimtruck is now known as dimtruck22:13
*** gordc has quit IRC22:31
*** ihrachyshka has quit IRC22:37
*** rossella_s has quit IRC22:37
*** rossella_s has joined #openstack-oslo22:37
*** mriedem has joined #openstack-oslo22:47
*** zzzeek has quit IRC22:56
*** dims has quit IRC23:05
*** sigmavirus24 is now known as sigmavirus24_awa23:07
*** dimtruck is now known as zz_dimtruck23:14
openstackgerritJoshua Harlow proposed openstack/debtcollector: Add a 'removed_property' property  https://review.openstack.org/20625323:17
*** xek has quit IRC23:18
*** xek has joined #openstack-oslo23:20
*** dims has joined #openstack-oslo23:34
openstackgerritJoshua Harlow proposed openstack/futurist: Allow providing a callback to certain executors to reject new work  https://review.openstack.org/20526223:41
*** zz_dimtruck is now known as dimtruck23:42
openstackgerritJoshua Harlow proposed openstack/futurist: Allow providing a callback to certain executors to reject new work  https://review.openstack.org/20526223:47
*** salv-orlando has quit IRC23:52
*** sdake has quit IRC23:56
*** ozamiatin has quit IRC23:58
*** ozamiatin has joined #openstack-oslo23:58

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