18:01:48 #startmeeting ironic-api-v2 18:01:48 Meeting started Tue Sep 20 18:01:48 2016 UTC and is due to finish in 60 minutes. The chair is jroll. Information about MeetBot at http://wiki.debian.org/MeetBot. 18:01:49 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 18:01:51 The meeting name has been set to 'ironic_api_v2' 18:02:21 our (lack of) agenda is here 18:02:23 #link https://wiki.openstack.org/wiki/Meetings/Ironic_v2_API 18:02:31 devananda: so, you had something to share today yeah? 18:02:35 I did! 18:02:46 a draft of a bunch of specs for us to begin thinking about is here 18:02:48 #link https://review.openstack.org/367583 18:02:52 hi sorry i'm late 18:02:56 rloo: hi hi! 18:02:59 hey :) 18:03:22 oh, multiple specs, neat 18:03:25 yah 18:03:28 so we need to review deva's patch, right? 18:03:43 the last couple times we met to talk about these, it became apparent that much of the work could be parcelled out 18:04:00 so I went about writing specs for the big things that seemed like they could be done incrementally, within microversions 18:04:17 one of those specs, "api-evolution", is just the problem statements for each of them 18:04:34 the other 4 specs have some amout of detail of a proposed solution for each problem 18:04:44 awesome 18:04:48 this doesn't yet cover everything from the etherpad, but it covers a lot 18:04:52 i like that approach but wouldn't it be better to have a separate patch for each spec? or are they starting points, to be flushed out more in the spec? 18:05:08 I'd like to know what you both think of this approach 18:05:19 rloo: agreed -- and I'd like to file an RFE to go with each spec 18:05:34 devananda: yes, that is what i was thinking. for 'admin' purposes, ha ha. 18:05:53 yeah, agree with separate rfe/spec for each 18:05:58 if I do that, should the all encompassing spec be the first one in the chain (we land it as a signal of intent) or the last one (we land it as a signal of completion of planning) ? 18:06:24 i think the all encompassing one (w/o having read it) should be first. 18:06:34 wouldn't that be similar to the states spec we did? 18:06:51 yeah, I think first as well 18:07:11 maybe the subsequent patches can remove those problems from the all encompassing spec as they go? 18:07:23 and at the end, that spec is gone, because we have no problems anymore :) 18:07:49 jroll: hah :) interesting idea 18:07:52 or should the all-encompassing spec be a spec. I mean, does it need to be a spec? do the individual specs stand alone w/o it? 18:08:02 rloo: they do stand alone 18:08:10 or they could -- right now, I think they include references to it 18:08:16 meta spec! 18:08:43 but I think it's possible to land the api-evolution "metaspec" as a backlog item, then move each problem description out into a new spec (when it lands) 18:08:50 and at the end, remove the metaspec from backlog 18:08:55 and not change any of the unit tests 18:09:01 yeah, that's my thought 18:09:33 that'd be a fun thing to do, something different :) 18:09:54 if you'd like to peer at the metaspec, here's a rendering: 18:09:56 #link http://docs-draft.openstack.org/83/367583/2/check/gate-ironic-specs-docs-ubuntu-xenial/2f1716f//doc/build/html/specs/approved/api-evolution.html 18:10:45 nice, looks good 18:11:04 if other issues come up, would we update this spec? 18:11:18 the API could/will most likely continue to evolve... 18:11:19 I think we could follow the same sort of process again 18:12:01 ok, maybe we should clamp this down then, once we approve it, to indicate that it reflects issues raised until newton cycle or something like that. 18:12:20 jroll: for barcelona, what are you hoping to get out of the f2f discussion? 18:12:54 you mean the fishbowl/workroom sessions? 18:12:55 devananda: I haven't thought about it too much - maybe we focus on one of the hard pieces and get consensus there? 18:13:54 rloo: if someone were to later on propose another specific change to the API, that should follow the usual process, I would think 18:14:10 I could even do that for each of these, and not land a metaspec at all 18:14:29 but its presence seemed useful to capture that we've all had this discussion in the past, which identified many issues 18:14:32 i haven't read the metaspec -- but i do wonder whether we need it. 18:14:38 maybe we don't 18:14:57 jroll: I am not going to be a good judge of which one of these is hard 18:15:01 yes, its presence is useful. what happened to that spec section/directory you wanted to add that had 'useful' info but not necessarily specs? 18:15:03 jroll: i think they're all easy ;) 18:15:13 devananda: not hard, but contentious 18:15:24 or we could spend 40 minutes debating frameworks :D 18:15:43 hah hah hah 18:15:47 though thinking more about it, maybe we leave the "get off WSME/pecan" out of this 18:15:55 jroll: you may notice that I left that off 18:16:12 we should decide though, about getting off wsme/pecan. or make it a xproject thing to decide. 18:16:16 the four specific proposals here are all ones that I feel like we can do // shouldn't be too contentious 18:16:35 rloo: it will never happen cross-project, imo 18:16:44 jroll: too bad 18:17:04 there will be upgrade concerns and impact on 3rd party drivers -- we will need to agree on how we handle that, but I don't think anyone objects to, eg, "stop overloading node.properties with control metadata" 18:17:48 yup. so the sooner we make these changes, the better. 18:17:49 right 18:17:58 so I was thinking about talking about that one, though 18:18:06 because there's a lot of impact there 18:18:23 the rest seem fairly obvious 18:18:36 for reference 18:18:38 #link http://docs-draft.openstack.org/83/367583/2/check/gate-ironic-specs-docs-ubuntu-xenial/2f1716f//doc/build/html/specs/approved/evolve-driver-info.html 18:19:01 and yes, there is a lot of impact 18:19:17 but it's limited to specific drivers 18:19:31 ahhh 18:19:44 I was thinking of "make capabilities a first class thing" 18:20:01 right - which I did not include 18:20:04 yeah, we need to do that too. 18:20:09 ehhh... 18:20:14 that's a can of worms 18:20:31 I have intentionally focused this on things that I do not think are contentious // that we can actually achieve 18:20:57 considering we expect this to be a somewhat ongoing thing, one spec at a time... why did you focus on those? 18:21:19 jroll: I think these four could all be done in one cycle 18:21:31 with the appropriate deprecation periods following it 18:22:19 we could still lay it out and do these four first 18:22:29 like, these easier changes are great 18:22:48 but we have some seriously terrible things in our API that I would like to try to fix sooner than later 18:22:55 and that's what I originally intended for this group to do 18:23:00 (the hard stuff) 18:23:25 the hard stuff is what i think the f2f meetings will be useful for. 18:23:27 I'm not saying "this is a bad way to do this", just surprised, as it isn't what I imagined 18:23:45 rloo: right, not sure any of this needs summit time 18:23:56 jroll: which items from https://etherpad.openstack.org/p/ironic-v2-api do you feel are hard // need summit time? 18:24:14 * devananda notes that "make capabilities a first class thing" isn't on there 18:25:02 it is, #4 18:25:12 your spec proposes a partial fix for #4 18:25:47 jroll: no - my spec is a complete fix for #4 18:25:55 it doesn't address how the nova scheduler uses capabilities 18:26:05 I did not interpret that as the problem described by #4 18:26:08 but I think task tracking, API version deprecation, a deploy API, multitenant without nova, get off pecan/wsme - are all hard things that need discussion 18:26:40 maybe we understand #4 differently, but I think putting those at node.capabilities is important and part of #4 18:27:01 and I think #4 is about more guarantees about what is in our json blobs in general 18:27:16 I see 18:27:36 "Having undefined configurations/options is a separate problem that should be fixed with better documentation and more unity between different drivers +1000" 18:28:02 I agree with whoever wrote that -- that it's a separate problem from "some values in node.properties.capabilities actually change how Ironic behaves" 18:28:14 so that is what I focused on 18:28:37 anyhow -- if the structure here is good, I'll continue writing proposals for the harder changes (task tracking, deploy API, etc) 18:28:47 got it 18:28:54 yeah, I'm good with the plan/structure 18:29:03 I'm not sure I agree we can do the first four in ocata, but hey :) 18:29:11 certainly willing to try 18:29:18 :) 18:29:27 i hadn't thought about ocata, but now i'm starting to worry about everything i'd like to see in ocata... 18:29:52 heh 18:29:54 so much to do :) 18:30:21 so i think we should decide which harder things we'd like to see in ocata, so that we can get those in good enough shape to discuss at the summit. 18:30:56 maybe we pick one right now? 18:31:12 and we need to remind/ask folks to spend time before the sessions, getting uptospeed/reading the proposals first. 18:31:27 rloo: indeed 18:32:03 maybe we post a sign, like at the county fair, "if you haven't read these 1,000 lines of spec proposal, you do not get to ride this ride" :) 18:32:07 I'd love to see version deprecation mechanisms worked on, in a cross-project context 18:32:11 we should make capabilities a first class citizen. do we even know whether it is a dict that can take any key? 18:32:22 rloo: it is, afaik 18:32:36 rloo: it can right now, except in some cases, where the drivers do different things 18:32:44 it's bizarre :(: 18:32:58 devananda: i think we probably need to let folks know that the sesssions are not going to be spent describing the problem but discussing the solution. unless we don't know what the problem is. 18:33:20 well, at the midcycle we made a list of the problems :) 18:33:34 yeah, i know it can take any key now. in the new world, would we want to predefine what is allowed for capabilities? 18:33:36 jroll: I would like to see that as well, but I do not think it will happen 18:33:44 devananda: ever? 18:34:05 rloo: you temp the can of worms I was referring to earlier... 18:34:11 jroll: not this cycle anyway 18:34:19 sure 18:34:21 jroll: but I may be wrong 18:34:21 devananda: gotta face the worms head on! 18:34:35 jroll: anyhow, I don't think we should take that one on ourselves yet 18:34:49 i wonder how productive the barcelona summit will be... depends on who shows up... 18:35:04 devananda: yeah, I just wonder how soon we'll want it, I suspect it is soon 18:35:25 jroll: you could always propose it to the xproject part. if you propose, does it mean you have to have a solution? 18:35:44 so, other ideas: task tracking tokens ? deploy API without Nova ? better multi-user support ? 18:36:25 I'd hold off on the last one, but task tracking seems like it could be doable, not crazy hard 18:37:02 do either of you have an idea of the operators' pain points. the really bad ones they would like fixed sooner rather than later? 18:37:07 rloo: IME, xproject discussions often lack a concrete solution going in - sometimes the goal is to see who in the room can think of one 18:37:26 right, deva said it better than me 18:37:49 clint to the rescue with the architecture whatever group 18:37:56 rloo: nova interaction. rolling upgrades. stuck nodes. better debugging of IPA. (just off of memory ) 18:38:18 I'd agree with those 18:38:24 devananda: and those are higher than these api issues? 18:38:49 probably 18:39:18 hmm. we should use the summit to discuss any hard issues that prevent us from getting something done in ocata. 18:39:32 what nova interactions are left ? :) 18:39:43 rloo: capabilities :p 18:39:47 heh 18:39:55 yeah maybe we should focus on capabilities 18:39:58 why do i hear 'capabilities' again? 18:40:08 yup. i think we should tackle that then. 18:40:18 jroll: speaking of summit time, we should definitely discuss the nova / scheduler / resource tracker stuff 18:40:28 we rushed in an API change for that in newton 18:40:44 and maybe it will be sufficient to work on the easier api stuff via spec discussions, and not at summit. 18:40:49 devananda: as in kind of a knowledge sharing session, or? 18:40:51 rloo++ 18:41:00 jroll: yes, knowledge/plan sharing 18:41:12 ++ 18:41:17 * rloo hopes there are enough (knowledgeable) developers and reviewers in ocata to get the work done. 18:41:33 we don't have a lot of f2f time, but IMO that's important enough to give it some time 18:41:35 rloo: me too .... 18:41:39 probably a fishbowl for the nova/scheduling/... 18:41:41 devananda: agree 18:41:51 I think there are enough people in nova, this is now one of their priorities 18:42:04 jroll: if you think these 4 things, plus, say, task tracking, are uncontentious enough that we won't need summit time for them -- tht's great 18:42:18 is that a joint nova/ironic session? 18:42:47 we can see what is being proposed for summit sessions; can always have one to discuss things we want to see done... 18:42:47 it's just sharing time, I think if we can get jay pipes in to an ironic session and it should be sufficient 18:43:26 true. i think with nova, if you bring one nova person, you get a few more for free. with neutron, you get them all :) 18:43:27 that's another session where folks should read the docs ahead of time 18:43:39 devananda: I think the capabilities thing might need one, if we go further than "move a few capabilities to driver_info" 18:44:00 I don't think we need to take that on in ocata, tbh 18:44:03 now, the nova/scheduling/ stuff could do with a meta spec! 18:44:43 jroll: or to put it another way, I have no idea how to solve that at the moment // in this cycle 18:44:47 rloo: there's already 10+ specs in nova :) 18:44:50 devananda: sure 18:45:07 jroll: that's what i mean. wading through them all to understand how the new nova scheduling will work... 18:45:46 rloo: yeah 18:45:55 it's dense, and confusing 18:46:00 maybe jay and I can write a thing 18:46:25 jroll: that'd be good. can be the basis of your summit session :) 18:46:30 so wrt the api stuff... 18:46:35 what did we decide? 18:47:00 sounds like "probably don't need a barcelona session" 18:47:02 I'll add a task tracking spec 18:47:18 and we're not going to look at capabilities in ocata? 18:47:29 rloo: not the major overhaul of it, at least 18:47:41 right, just the move some to driver_info bit 18:48:00 oh, yuck. still keep the rest in properties/capabilities? 18:48:18 we need to get more of the scheduling work done to be able to move those out 18:48:23 currently people use them in nova 18:48:25 what jroll said ^ 18:48:32 SIGH. ok. 18:48:59 we all want them gone. soon. 18:49:08 i guess you don't like the idea of a shim in the ironic-virt driver to convert capabilities <-> properties/capabilities? 18:49:11 we *will* do it, just needs a bit more work 18:49:19 ok, i can be patient. 18:49:25 I mean, we could do that too 18:49:35 but there's some complications, idk 18:49:48 probably worth shaking out scheduler changes first 18:49:54 it isn't worth the complications. i don't think. there's already lots of other work to do anyway. 18:50:07 ya 18:50:11 jroll: agreed. let's not complect the scheduler changes more than they already need to be 18:50:23 right 18:50:53 so action items for now is deva writes more words, the rest of us review said words, yes? 18:51:07 yup. 18:51:13 cool 18:51:15 anything else? 18:51:16 yah 18:51:18 nope 18:51:33 yah - I write more words. nope - nothing else :) 18:51:35 rloo? 18:51:39 i'm good. 18:51:42 thanks, ya'll 18:51:44 cool 18:51:48 yes, thanks 18:51:50 thx deva! 18:51:50 oh before we go 18:51:56 next week or skip a week? 18:52:02 skip is good with me 18:52:12 i'm always happy to skip 18:52:22 heh, cool, see you here in 2 weeks :) 18:52:37 #endmeeting