16:00:41 #startmeeting oslo 16:00:42 Meeting started Mon Jun 29 16:00:41 2015 UTC and is due to finish in 60 minutes. The chair is dims. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:00:43 o/ 16:00:43 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:00:45 The meeting name has been set to 'oslo' 16:00:46 hi 16:00:48 o/ 16:00:52 o/ 16:00:53 o/ 16:01:06 hi 16:01:12 sup sup 16:01:30 o/ 16:01:40 let's get started 16:01:41 #topic Red flags for/from liaisons 16:01:49 #info initial (unstable-API) releases for oslo.cache, oslo.reports, oslo.service, automaton, futurist are in pypi 16:01:57 no red flags from keystone. 16:02:08 bknudson: yay thx 16:02:49 No red flags for Cinder. Have a number of updates we have been making to get to the latest oslo libraries. So, just working through those. 16:02:51 (though the keystone team would like a stable release of oslo.cache, get on that stevemar!) 16:03:15 bknudson: what about that change to oslo.service? 16:03:33 stevemar: seems to be going ok 16:03:38 wouldn't call it a red flag yet. 16:03:43 stevemar: let's use bugs for tracking items left to do for oslo.cache so we know when we will get to stable API? 16:03:43 I only wonder whether there is a chance to get any resolution for https://review.openstack.org/#/c/176333/ 16:03:51 not a really red flag though 16:04:06 oslo.service is changing the API on us 16:04:19 but I guess they feel they can do that at this stage. 16:04:38 bknudson: 0.1.x are all really early - forklift then adjust API mode 16:04:39 if there's another release of oslo.service keystone will be broken since we're using the old interface 16:04:47 speaking of oslo.cache, seems like we switched API very seriously, and it's not clear how to adopt it. so docs would help. 16:05:27 same thing will happen if we change keystone to use oslo.cache and then have to fix the api. 16:05:29 ihrachyshka: oslo.cache, you should see the spec. it's not the memorycache.py or cache.py from old oslo-incubator 16:05:40 ihrachyshka: there were no APIs, it was in keystone before 16:06:00 stevemar, oh I thought it's the incubator code, but ok, I'll check the spec then 16:06:18 ihrachyshka: dogpile is the interface 16:06:35 keystone is going to break and since the changes aren't backwards-compat there's no way to not break 16:06:37 dims, meaning, we should use it directly? no oslo.cache? 16:06:52 I pity the fool that does continuous delivery. 16:07:13 ihrachyshka: encourage you to see the spec :) 16:07:18 ack 16:07:21 maybe we should do this in a feature branch or something 16:07:25 * bnemec pictures bknudson wearing dozens of gold chains 16:07:31 lol 16:08:27 on that topic 16:08:30 #topic Releases for this week 16:08:30 Releases for this week. Here are the unreleased changes 16:08:30 #link http://paste.openstack.org/show/324570/ 16:08:45 please take a look at the link 16:09:14 i'll roll these out this afternoon my time (it's mid-day now for me) 16:09:46 seems ok to me :) 16:09:47 thx dims 16:10:22 if anyone has concerns that we will break someone, please ping me on #openstack-oslo 16:10:39 haypo and i pinged some nova folks for a possible oslo.db issue 16:10:45 oslo.service will break keystone 16:11:03 bknudson: what changed in the API? 16:11:18 the service needs to be derived from a class... 16:11:44 and there's an enforcement check that it is indeed derived from a class 16:11:44 https://review.openstack.org/#/c/196183/ 16:11:57 this was the change: https://review.openstack.org/#/c/194143/ 16:12:08 Move service abstract base class check to launch_service methods 16:12:11 this is the fix: https://review.openstack.org/#/c/196175/ 16:12:22 y, we have a fix it's just not merged yet. 16:12:36 yeah, we should make that transition smoother 16:12:51 it's actually not bad at all since we can put in the current change now 16:12:53 why are we enforcing the type there in the first place? 16:13:41 bknudson: looks like just one more keystone core is needed 16:13:54 dims: it is right on the brink of merging! 16:14:10 only a few more months and another core will look at it. 16:14:16 haha 16:14:59 ok, so if we going to live with the backward incompatibility i can +2 the keystone fix 16:15:09 some people are scared of dynamic languages and their crazy duck typing, so need to check interfaces with ABC. 16:15:11 dims: it sounds like things will be fine for keystone if we wait a bit, but do we know about anyone else? 16:15:34 dhellmann: will check on nova before i release 16:15:34 bknudson: ++, it's very unfortunate 16:15:52 #topic New libraries and drivers - how is it going? 16:15:53 #link specs - http://specs.openstack.org/openstack/oslo-specs/ 16:16:04 i fixed a case of it in cinder (for the service isinstance check); so they should be fine 16:16:05 docs, docs, docs is what i hear 16:16:18 dims: spec is ready for review https://review.openstack.org/#/c/187338/ 16:16:31 dstanek: I abandoned the revert of the change to check the interface since it was getting lots of -1. 16:16:34 * harlowja_still_a docs have been made, its like brushing your teeth, do a little everynow and then and it pays off :-P 16:17:07 dims: need to merge this https://review.openstack.org/#/c/193502/ to proceed with driver 16:17:15 devstack plugin has flushed what appears to be a bug in the proton packaging - I'm currently trying to work around/fix that 16:17:42 ozamiatin: ack, starred both for review later today 16:18:00 dims: thanks 16:18:03 kgiusti: thanks, is there a bug somewhere? 16:18:20 thanks dstanek and morganfainberg 16:18:25 dims: I think it's in the upstream proton packaging 16:18:58 dims: the packaged .so files are being put in the 'pure' library, not the platform path 16:19:17 kgiusti: ack, usually we just create one for our gate break so folks know there's a known failure 16:19:47 dims: ok that makes sense - I'll do that. 16:20:05 #topic Ongoing work & Review priorities 16:20:05 #link https://etherpad.openstack.org/p/liberty-oslo-priorities-tracking 16:21:04 found a bunch of missing requirements in a few projects, added a tox target to find these, please look at 16:21:05 https://review.openstack.org/#/q/status:open+topic:pip-missing-reqs,n,z 16:21:38 i'll do the same exercise for adding tox target for bandit this week 16:21:49 if anyone wants to help, please let me know 16:22:27 i know the octavia folks want https://review.openstack.org/#/c/164922/ (once i rebase it) 16:22:33 if anyone wants to look over that, or ask questions... 16:22:59 dhellmann: how can we move this forward? https://review.openstack.org/#/c/176333/ (per ihrachyshka) 16:24:00 * dhellmann looks 16:24:54 dims, ihrachyshka: my plan was to get all of the projects to adopt oslo.context, and then remove logging customization from devstack and make the default format in oslo.log useful 16:25:20 oh i guess i don't need to rebase https://review.openstack.org/#/c/164922/ (so ya, people look it over, ha) 16:25:46 dhellmann, what are 'all the projects' and how do we detect those not there yet? 16:25:48 dims, ihrachyshka : that particular change though is likely to break existing operators who are relying on the uuid 16:26:12 ihrachyshka: that's a good question -- certainly anything participating in the coordinated release 16:26:19 dhellmann: added a line to https://etherpad.openstack.org/p/liberty-oslo-priorities-tracking - not sure which reviews we have for "get all of the projects to adopt oslo.context" 16:26:35 dims: i haven't started with that, yet 16:26:46 dhellmann: ack will leave question marks there for now 16:26:47 I'm hoping to get to it soon, when this namespace package work is closer to done 16:27:08 right, so do you need eyes on namespace reviews? which ones are left? 16:27:40 we're getting oslo.db today? 16:28:02 dhellmann: still on the table, will check with haypo before cutting one 16:28:04 that leaves config, messaging, serialization, and utils 16:28:05 dhellmann, well, honestly, I could leave with devstack just not doing overwrite. if it's uuid that we end up with, fine. the main point is that all services should be consistent. I suppose that operators do not rely on devstack, so we can clean it up there maybe? 16:28:56 the original problem was about devstack not putting some valuable info in logs (pids of workers), which is included in default format string 16:29:02 * harlowja_still_a hopes operators don't rely on devstack :-/ 16:29:13 ihrachyshka: I'm ok with adding variables, I guess, I just want to make sure we can actually get those values. Do we always know the project name, user name, etc? 16:29:57 dhellmann, we should. keystone provides it. projects can obviously avoid using them... 16:30:18 ihrachyshka: I think the commit message on https://review.openstack.org/#/c/176333/1 confused me into thinking you wanted these to be the default in the logs, but I think you just mean they should always be available and devstack might make them the default 16:30:30 keystone doesn't always have project name. 16:31:02 dhellmann, yeah, but if a project does not override the default format string, then its log format is changed in terms of uuid -> name 16:31:05 you can do stuff with domain-scoped tokens 16:31:08 ihrachyshka: we might want project_name, etc. to default to the uuid if they aren't provided 16:31:15 there is still an easy way to fall back though 16:31:27 project names aren't unique, they're only unique within the domain 16:31:39 ihrachyshka: devstack should eventually set one format string for all projects using oslo.log and oslo.context, but it can't do that right now because the contexts aren't all the same 16:31:45 dhellmann, and that's what the patch does. if user_name is not specified, it uses 'user' (which is uuid) 16:32:07 user names are also only unique within the user's domain 16:32:12 bknudson, what do you mean - domain? I probably miss things. 16:32:14 ihrachyshka: ok, as I said, I think I was confused by the commit message talking about changing default behaviors 16:32:38 ihrachyshka: domain is a namespace for users, groups, and projects. 16:32:47 bknudson: yeah, I think the goal here is to make devstack log names instead of uuids, so we should be ok as far as uniqueness 16:33:09 uuids are unique, names aren't 16:34:09 ihrachyshka: you're changing the default for user to be name or uuid. I don't think that's what you should do. Instead, I think you should keep user the uuid and just make it possible to refer to user_name in the log format string. Then devstack and use user_name and the defaults can use uuid. 16:34:47 ihrachyshka: I pointed out the backwards incompatible change in my comment on line 79 16:35:34 bknudson: right, I think names are only going to be useful to devstack users 16:35:41 or maybe private cloud users 16:36:13 dhellmann, ack 16:36:39 as I said, I'm fine with uuid as long as we get that devstack rewrite of the option killed 16:37:43 ihrachyshka: do you have that link handy? 16:38:02 dhellmann, which one? to devstack rewrite? 16:38:04 in the meantime, let me open up the topic 16:38:07 ihrachyshka: yes 16:38:07 #topic Open discussion 16:38:07 Any stuck reviews? or specs? 16:38:21 hmmmm 16:38:38 when is sileht back? 16:38:48 dhellmann, https://review.openstack.org/#/c/172508/ 16:38:57 be nice to see if https://review.openstack.org/#/c/194880/ is ok with him and all that 16:39:37 harlowja_still_a: no, sileht is still on vacay 16:39:40 k 16:40:01 i think https://review.openstack.org/#/c/194880/ could merge, but really want to double check with him 16:40:11 it seems like someone could kick https://review.openstack.org/#/c/194880/ and it would go, (since the dependent merged) 16:41:28 ok it has been kicked :-P 16:41:38 ihrachyshka: maybe we want a new option to oslo.log/oslo.context to replace user_idt_format in the context, and let devstack set that? 16:42:03 ihrachyshka: probably in oslo.context 16:42:19 well, except that doesn't know about oslo.config at all :-/ 16:43:15 dhellmann, meh. sounds like too much of a hassle. I was under impression that those names are unique, but if keystone devs say it's not the case, then I tend to rethink whether we should even try to apply such a change. 16:43:24 ok 16:43:46 if you put the name in addition to the id that would be fine 16:44:00 bknudson: does a devstack user need both? 16:44:11 I assume this is for usability 16:44:25 yes, that's my understanding 16:44:25 I don't have every user's uuid memorized 16:44:41 oh, I guess we have to pass uuids to some commands, don't we 16:44:48 u better get studying bknudson 16:46:33 looks like we are done for today. thanks everyone 16:46:38 #endmeeting