Wednesday, 2014-03-26

*** morganfainberg is now known as morganfainberg_Z00:33
*** yamahata has quit IRC00:34
*** mriedem has joined #openstack-oslo00:37
openstackgerritJoshua Harlow proposed a change to openstack-dev/hacking: Add a tool that can fix the import order  https://review.openstack.org/6898801:00
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Persistence cleanup part uno  https://review.openstack.org/8140501:25
*** yamahata has joined #openstack-oslo01:58
*** harlowja is now known as harlowja_away02:27
*** zhiyan_ is now known as zhiyan02:32
*** mriedem has left #openstack-oslo03:06
*** mriedem has quit IRC03:06
*** arnaud has quit IRC03:26
openstackgerritZhongyue Luo proposed a change to openstack/oslo-incubator: Adds test condition in test_periodic  https://review.openstack.org/7207105:38
*** markmcclain has joined #openstack-oslo07:37
*** flaper87|afk is now known as flaper8707:57
*** markmcclain has quit IRC07:57
openstackgerritAnastasia Karpinska proposed a change to openstack/taskflow: Move 'inputs and outputs' to developers docs  https://review.openstack.org/8301008:56
openstackgerritIvan Melnikov proposed a change to openstack/taskflow: Use same code to reset flow and parts of it  https://review.openstack.org/8282509:28
openstackgerritIvan Melnikov proposed a change to openstack/taskflow: Optimize dependency links in flattening  https://review.openstack.org/8246909:28
openstackgerritAnastasia Karpinska proposed a change to openstack/taskflow: Move 'inputs and outputs' to developers docs  https://review.openstack.org/8301009:43
openstackgerritIvan Melnikov proposed a change to openstack/taskflow: Add timeout to WaitForOneFromTask  https://review.openstack.org/8301809:49
*** bauzas has joined #openstack-oslo09:51
*** yamahata has quit IRC10:15
openstackgerritIvan Melnikov proposed a change to openstack/taskflow: SQLAlchemy requirements put in order  https://review.openstack.org/8302510:39
openstackgerritAnastasia Karpinska proposed a change to openstack/taskflow: Move 'inputs and outputs' to developers docs  https://review.openstack.org/8301010:41
*** yamahata has joined #openstack-oslo11:40
*** beav has quit IRC11:43
*** bogdando has quit IRC11:58
*** yamahata has quit IRC12:06
*** bogdando has joined #openstack-oslo12:10
*** dims_ has quit IRC12:18
*** dims_ has joined #openstack-oslo12:21
*** beav has joined #openstack-oslo12:49
*** bknudson has joined #openstack-oslo13:03
*** yamahata has joined #openstack-oslo13:18
*** zhiyan is now known as zhiyan_13:19
*** zhiyan_ is now known as zhiyan13:19
*** bknudson has quit IRC13:23
*** lbragstad has quit IRC13:38
openstackgerritIvan Melnikov proposed a change to openstack/taskflow: Run worker-based engine tests faster  https://review.openstack.org/8306913:39
openstackgerritIhar Hrachyshka proposed a change to openstack/oslo-incubator: Qpid: advance thru the list of brokers on reconnect  https://review.openstack.org/6744913:50
openstackgerritIhar Hrachyshka proposed a change to openstack/oslo-incubator: Qpid: advance thru the list of brokers on reconnect  https://review.openstack.org/6744913:53
ihrachysdhellmann: please consider the following patches for incubator: https://review.openstack.org/#/c/67450/ , https://review.openstack.org/#/c/67449/13:54
dhellmannihrachys: regarding cycle(), how many brokers do you expect to have in the parameters list?13:55
* dhellmann wonders why having a copy is a bad thing13:55
ihrachysdhellmann: well, not that I consider this as a really bad thing...13:56
ihrachysdhellmann: but those incubator patches are backports from oslo.messaging13:56
ihrachysdhellmann: so I think possible enhancements belong there13:56
dhellmannihrachys: I keep forgetting that, yeah, nevermind13:56
ihrachysyou have excuse: this already took looots of time :)13:57
ihrachysI myself keep forgetting it :D13:57
ihrachysdhellmann: there's actually a patch for oslo.messaging for this: https://review.openstack.org/#/c/81183/4/oslo/messaging/_drivers/impl_qpid.py13:58
*** lbragstad has joined #openstack-oslo14:21
*** beav has quit IRC14:27
dims_bnemec, here's a blast from the past (https://bugs.launchpad.net/heat/+bug/1297880) saw your name on the first review of multi_cloud blueprint :)14:46
bnemecdims_: Nice. :-)14:50
bnemecThat was basically an interview question.14:50
bnemecI said if I didn't get hired I was going to send them a bill. ;-)14:51
dims_:)14:52
*** yamahata has quit IRC15:03
*** yamahata has joined #openstack-oslo15:05
*** yamahata has quit IRC15:09
*** yamahata has joined #openstack-oslo15:10
openstackgerritAnastasia Karpinska proposed a change to openstack/taskflow: Move 'inputs and outputs' to developers docs  https://review.openstack.org/8301015:26
*** bknudson has joined #openstack-oslo15:30
openstackgerritAnastasia Karpinska proposed a change to openstack/taskflow: Move 'inputs and outputs' to developers docs  https://review.openstack.org/8301016:12
*** boris-42 has quit IRC16:24
openstackgerritJenkins proposed a change to openstack/cliff: Updated from global requirements  https://review.openstack.org/8312016:25
*** bauzas has quit IRC16:29
dhellmannhave any of you been looking at pbr changes? I'd like to merge https://review.openstack.org/#/c/82356/ this week so we can release a new version and stop breaking installation of anything other than OpenStack libs using it.16:35
*** boris-42 has joined #openstack-oslo16:36
dims_dhellmann, don't we have to update global-requirements.txt in requirements repo first?16:40
dhellmanndims_: not in this case -- this is unsyncing the requirement so we don't enforce the version of pip in pbr, but we will still enforce it when we configure our CI systems16:41
dims_ah ok16:41
dhellmannthe issue is anyone using cliff or another library packaged with pbr can't install the lib without a recent pip, even if they wouldn't need a newer pip for their environment for any other reason16:42
dhellmannand pbr itself is not actually using the new version of pip16:42
dims_+A. thanks for the explanation16:43
dhellmanndims_: thank you!16:44
*** lbragstad has quit IRC16:49
*** harlowja_away is now known as harlowja16:58
*** arnaud has joined #openstack-oslo17:30
*** lbragstad has joined #openstack-oslo17:50
*** morganfainberg_Z is now known as morganfainberg17:50
harlowjadhellmann sweet, let me know when that fix goes in a and i can try to see if anvil can happily build all those packages on rhel617:54
harlowja*due to the pip1.4 issue17:54
harlowjawill run my anvil cloud-init script to see how that goes (fails automatically if it can't build)17:55
openstackgerritBen Nemec proposed a change to openstack-dev/pbr: Add support for nested requirements files  https://review.openstack.org/8314918:00
openstackgerritBen Nemec proposed a change to openstack/oslo.messaging: WIP: Split requirements  https://review.openstack.org/8315018:01
*** ruhe has joined #openstack-oslo18:10
*** mriedem has joined #openstack-oslo18:26
openstackgerritJenkins proposed a change to openstack/oslo.version: Updated from global requirements  https://review.openstack.org/8316618:33
openstackgerritAndreas Jaeger proposed a change to openstack/oslo-incubator: Improve help strings  https://review.openstack.org/7199218:45
*** zhiyan is now known as zhiyan_18:52
*** markmcclain has joined #openstack-oslo19:08
*** _cjones_ has joined #openstack-oslo19:11
_cjones_Hello. I have a quick question about using/developing oslo. I'm creating a new neutron driver, and it requires its own cfg options. How do I get these to be properly registered in my unit tests?19:12
_cjones_https://gist.github.com/cjones-/1f534d6fa09421a4630919:13
_cjones_Oops. Just forgot to import my cfg. Sorry to bother you guys.19:18
harlowjanp19:19
dhellmann_cjones_: the ConfFixture for oslo.messaging has a good example of how to do that cleanly: http://git.openstack.org/cgit/openstack/oslo.messaging/tree/oslo/messaging/conffixture.py#n2819:25
dhellmann_cjones_: and see http://git.openstack.org/cgit/openstack/oslo.messaging/tree/tests/test_qpid.py for an example of it being used19:25
*** bauzas has joined #openstack-oslo20:10
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Persistence cleanup part one  https://review.openstack.org/8140520:30
*** asalkeld has joined #openstack-oslo20:43
asalkeldhttps://review.openstack.org/#/c/83197/20:43
asalkelddhellmann, is this ^ do-able20:44
dhellmannasalkeld: we should just add an option to the theme to turn off the logo, no?20:45
asalkeldif we can20:45
*** pvaneck has joined #openstack-oslo20:45
asalkeldif you know a way, I can do the work20:45
asalkeldI am not sure how options are passed in20:45
dhellmannasalkeld: what's the timeline for this? can it wait a bit?20:46
asalkeldwell I can do a tempory workaround20:46
asalkeldand do the oslosphinx change later20:46
dhellmannlet me find an example of using an option20:47
asalkeldcool20:47
dhellmannhttps://bitbucket.org/dhellmann/sphinxcontrib-spelling/src/600ad91be8c00d5f0681be2424c011d24ed1e79f/sphinxcontrib/spelling/__init__.py?at=master#cl-1720:47
dhellmannthat defines an option20:47
dhellmannI'm not sure if that automatically makes it available to the theme20:47
dhellmannI think probably?20:47
asalkeldooo, nice20:47
asalkeldI'll play20:47
_cjones_dhellmann. Thanks. I'll take a look.20:53
*** boris-42 has quit IRC20:59
*** boris-42 has joined #openstack-oslo21:15
*** zaneb has joined #openstack-oslo21:31
zanebo hai21:31
zanebdhellmann: did you want to discuss bug 1288586?21:32
dhellmannhi, zaneb21:32
dhellmannyeah, what's going on there?21:32
* dhellmann re-reads bug report21:32
zanebso basically, we register identical options in a bunch of groups21:33
zaneband because we only ever look for one group for an option...21:33
zaneband now they all compare equal...21:33
dhellmannah, yeah, that's almost certainly not a case the generator expected to see21:33
zanebthey all show up in the first group :/21:34
zanebevidently not ;)21:34
asalkeldpartly an issue of __eq__ in oslo.config i think21:34
zanebso the other issue is that keystone client registers an option in two groups too21:35
zanebonce in the group where it's required21:35
dhellmannI'm not sure an individual Opt knows the group it is registered in21:35
zaneband once in the default group where it's not21:35
zanebdhellmann: correct, it doesn't21:35
dhellmannwe should be able to work around this in heat, though21:35
dhellmannthe latest version of the generator has a feature we added for getting options out of libraries using entry points21:36
dhellmannthat mechanism requires you to explicitly provide the group, since we're not scanning code21:36
* dhellmann looks for example21:36
dhellmannthis module has the function we defined for oslo.messaging: http://git.openstack.org/cgit/openstack/oslo.messaging/tree/oslo/messaging/opts.py21:37
dhellmannbasically, return an iterable of (group_name, option_list) pairs21:37
dhellmannuse it by calling generate_sample.sh with the -l option21:37
dhellmannso you might run "generate_sample.sh -l heat.opts" instead of "generate_sample.sh heat"21:38
zanebhacky, yet interesting ;)21:38
dhellmannyes, well, deadlines :-)21:39
dhellmannthere is a non-zero, but not > 50%, chance that code scanning is going to be deprecated at some point, since that is equally or more challenging to do properly21:39
zanebwait, I can just stick this in the original heat.common.config file that contains the options already?21:40
zanebthat doesn't actually seem so bad21:40
dhellmannand, of course, if you have drivers or something where you don't want all the options loaded at one point, you can define more than one entry point21:40
dhellmannyeah, I don't know where heat defines its options21:40
dhellmannif you have them in one place already, you're 90% of the way to done21:41
zanebhttps://github.com/openstack/heat/blob/master/heat/common/config.py21:41
zanebsweet21:41
zanebnext question is if we have a version of generator.py synced that works with this ;)21:43
dhellmannzaneb: you also need to register the entry point: http://git.openstack.org/cgit/openstack/oslo.messaging/tree/setup.cfg#n5321:43
dhellmannand then generating the sample will require having heat installed, to make that entry point work21:43
dhellmannnova is doing that already, to get the oslo.messaging options, so you can look at how they do it21:44
*** asalkeld is now known as asalkeld_bbq21:44
*** mriedem has quit IRC21:48
harlowjawooohoo, https://review.openstack.org/#/c/82356/ merged21:52
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Set logbook/flowdetail/atomdetail meta to empty dict  https://review.openstack.org/8294422:02
zanebharlowja: for a brief moment there I thought the tox version was dropping back to 1.4, and I rejoiced22:03
*** dhellmann is now known as dhellmann_22:03
harlowjazaneb just pip (less rejoice)22:03
zanebsigh22:03
harlowjabuilding packages on rhel seems to be broke22:03
harlowjarhel622:03
harlowjadue to pbr trying to pull in pip 1.422:04
* zaneb is looking forward to rhel 7 ;)22:04
harlowjadef22:04
harlowjaanyways zaneb your duck discussion was the highlight of my morning, ha22:06
harlowja(maybe thats sad, lol)22:06
zanebharlowja: I aim to entertain ;)22:07
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Add last_modified & created_on attributes to jobs  https://review.openstack.org/6409222:07
harlowjazaneb although i'm waiting for the calculator/matlab response, lol22:08
*** bknudson has quit IRC22:09
harlowja*i know people that worked at mathworks and on matlab code, its not something u want to see, lol22:09
harlowja*it will make u sick, lol22:09
zanebeveryone uses calculators, approximately 0% of people use Matlab22:09
zanebapproximately22:10
harlowjaya, rounding errors taken into account (0.01 scientists)22:10
zanebtherefore give everyone a calculator and self-service access to a VM to run Matlab in22:10
harlowjamatlab is apparently some montrosity of java code + fortran + c++ from what i remember22:10
harlowja*what i remember those folks telling me22:11
zaneborly, Java too?22:11
zanebouch22:11
harlowjagui is in java i think22:11
harlowjaya, def ouch (part of the reason all those people that i knew that worked there left, lol)22:14
*** bauzas has quit IRC22:27
*** dhellmann_ is now known as dhellmann22:31
harlowjadhellmann so if anvil built dep packages, would anyone u know use them22:35
harlowjaa guy here wants to try to see about adding that support22:35
dhellmanndep?22:35
dhellmannor deb?22:35
harlowja*deb22:35
dhellmannwe build our own based on virtualenvs, so we probably wouldn't use them -- that's not to say *no one* would22:36
harlowjaits complicated but might be interesting (the hard part is the building of all python dependencies that can't be found in known repositories)22:36
harlowjaah, u guys want the pkg + virtualenv route to22:36
harlowja*went with the pkg22:36
*** dhellmann is now known as dhellmann_22:41
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Should be greater or equal to zero and not greater than  https://review.openstack.org/8323622:56
*** harlowja has quit IRC22:58
*** harlowja has joined #openstack-oslo23:03
*** bknudson has joined #openstack-oslo23:05
*** dims_ has quit IRC23:12
*** flaper87 is now known as flaper87|afk23:18
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Add conditional execution support (WIP)  https://review.openstack.org/8324423:18
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Fix spelling mistake  https://review.openstack.org/8324623:23
*** asalkeld_bbq has quit IRC23:26
*** dims_ has joined #openstack-oslo23:30
*** mriedem has joined #openstack-oslo23:32
*** yamahata has quit IRC23:37

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