05:00:26 #startmeeting ironic 05:00:27 Meeting started Tue Jan 20 05:00:26 2015 UTC and is due to finish in 60 minutes. The chair is devananda. Information about MeetBot at http://wiki.debian.org/MeetBot. 05:00:28 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 05:00:30 The meeting name has been set to 'ironic' 05:00:32 hi folks! 05:00:36 o/ 05:00:38 hi devananda 05:00:42 o/ 05:00:47 o/ 05:00:49 \o 05:01:09 o/ 05:01:10 as usual, the agenda is on the wiki - 05:01:12 #link https://wiki.openstack.org/wiki/Meetings/Ironic 05:01:15 o/ 05:01:43 today's a holiday inthe US. extra thanks to those who are here anyway :) 05:01:52 #topic announcements 05:01:59 what holiday? 05:02:09 no special announcements from me -- other than a reminder that the midcycle sprints are coming up 05:02:18 (yes, there are two -- one in the EU and one in the US) 05:02:19 ahh, MLK 05:02:22 mrda: yup 05:02:51 if you plan on attending a sprint and have not already "purchased" a ticket through eventbrite, please do so 05:02:59 that helps the organizing folks know how many are coming 05:03:13 that's it for me -- anyone else have announcements? 05:03:28 #link https://wiki.openstack.org/wiki/Sprints/IronicKiloSprint 05:03:39 ah, thanks jroll 05:03:59 #topic subteam status reports 05:04:05 #link https://etherpad.openstack.org/p/IronicWhiteBoard 05:04:19 deva so the midcycle meeting at Grenoble is already a coding sprint? Will it discuss kilo2 target specs? 05:04:42 s/already/aslo 05:04:50 s/aslo/also 05:05:26 wanyen: because many folks can't make it to one or the other (or either) event, I don't think we have a critical mass to do significant planning work 05:05:31 wanyen: and we should continue doing that online 05:05:44 deva; ok 05:05:49 wanyen: so I'd rather the folks who attend help each other focus on *implementing* the mountain of work we have 05:06:05 ok - back to subteam status ... 05:06:24 dtantsur led a bug-triage day last week 05:06:33 it looks like it went really well! 05:07:04 I see that we have an agenda item to discuss the iRMC driver, so let's not go into that here 05:07:12 naohirot: thanks for the update on the etherpad, too 05:07:27 devananda: you are welcome. 05:07:47 it looks like the iLO driver still has many specs that need reviews ... 05:08:04 devananda: kilo-2 is comming, will be iRMC management driver a part of it as well as power driver? 05:08:17 deva, yes ples review ilo specs 05:08:21 #info bug triage day last week went well. should repeat it periodically 05:08:29 #info iLO driver has many specs up that still need reviews 05:08:47 naohirot: I hope so ... we'll see what folks are able to review 05:09:18 here is status of ilo third-party ci 05:09:20 devananda and all: I'm ready to update as soon as I got comments :) 05:09:23 we are in the process of setting up third party ci 05:09:27 looking to add tests for iscsi_ilo and agent_ilo in gate and check pipelines 05:09:30 planning some changes in devstack (lib/ironic) and devstack-gate (devstack-vm-gate-wrap.sh) for this. 05:09:34 will raise gerrit reviews and pick ironic folks to have a look at this first. 05:09:42 s/pick/ping :) 05:09:48 rameshg87: awesome! 05:10:50 rameshg87: please don't hesitate to ask questions about setting up the CI system. I work with (and very briefly worked on) the infra team 05:11:07 at the least, I can point you to docs or the people who know more 05:11:11 devananda, i follow a blog written by Jay Pipes 05:11:31 rameshg87: if that's the one I'm thinking of, it's a good walk through :) 05:11:33 devananda, it's explained in detail except that lots of things in openstack-infra has changed since tutorial was written 05:11:38 yep 05:11:48 devananda, just need to figure out where things are right now :) 05:11:59 anteaya may be able to help there 05:12:00 there's also some infra people in this TZ that can help if required. 05:12:07 jhesketh for example 05:12:14 rameshg87: you should use the fork of the os-ext-testing repository from ramy asselin: 05:12:18 devananda, mrda, thanks .. 05:12:30 jaypipes, great .. 05:12:48 jaypipes, thanks. i was making changes to that and was planning to raise a pull request to you :) 05:12:51 and maybe jaypipes is in *every* timezone :) 05:13:23 lol 05:14:13 ok - going to time box this section 05:14:22 thanks again, everyone, for the status updates 05:14:36 #topic driver naming conventions 05:14:54 naohirot: I think you stumbled into a much larger question accidentally here 05:15:27 and by "larger" I actually mean "it's a giant bikeshed" 05:15:28 devananda: yes, should I explain background? 05:15:52 naohirot: sure 05:16:34 devananda: I got a comment from JayF during the reivew of iRMC Management spec. 05:16:49 https://review.openstack.org/#/c/136020/10/specs/kilo/irmc-management-driver.rst 05:17:18 please look at the line 30 05:18:01 JayF and jroll and I had started discussing it just before the meeting 05:18:03 devananda: I saw devananda and jroll's conversation in the Ironic channnel 05:18:10 :) 05:18:44 short version from my POV - as we add more driver interfaces, the names of drivers either: 05:18:44 it seems it's famous boot and deploy problem. 05:18:55 chaning driver name involves backward compatibility 05:19:12 - become longer and more descriptive and tend towards a list of interface classes from which that driver is composed 05:19:21 - or shorter and "cute" 05:19:52 I've said it since the summit, I think we need composable drivers 05:19:58 as in a column for each type 05:20:06 what I'd like to discuss here is how to approach this problem. 05:20:16 but either way we go, changing current driver names would require us to keep the existing pythong enrypoints for compatibility 05:20:23 jroll, do you mean operator picks up the interfaces for the composable driver ? 05:20:45 rameshg87: I'm not entirely sure it will work, ideally the operator just puts driver names in the db and it just works 05:20:51 anyway, that's beyond this discussion. 05:21:12 I think a longer, more descriptive name is better. We already have enough trouble about 'what's the difference between drivers' without bringing cutesy names into it. 05:21:14 I tend to think it's fine to go outside of the current "convention" that isn't really defined 05:21:15 I'd prefer the first option, issuing a bp and redactor 05:21:37 jroll: I disagree for two reasons. first (and possibly solvable) is that this leads to a combinatorial explosion of testing requirements. second (and human in nature) is that operators are probably going to pick a reasonably small subset of the potential combinations 05:21:42 so we should just give them those choices 05:21:51 for irmc, name them similar to what JayF suggested. leave the rest alone for now 05:22:01 like - who would compose ipmi-power and ilo-boot 05:22:06 devananda: maybe it's just me being a nerd 05:22:13 when ilo implements both power and boot 05:22:20 this doesn't happen for all drivers. should we just break the convention whenever it is required only ? 05:22:33 that's a trivial example which we would immediately hit, were we to allow arbitrary compositing 05:22:43 yeah, I think it's fine to break convention 05:22:43 devananda: I generally see the matrix as being pxe vs some kind of BMC boot * the two "major" deploy drivers 05:23:04 devananda: that matrix of 4 drivers per new virtualmedia-capable management driver is going to be common 05:23:08 JayF: that statement assumes there are no other deploy drivers 05:23:18 JayF: and it assumes other interfaces are not being mixed in through other means 05:23:19 and the only way to really fix that is to have fewer deploy drivers 05:23:26 such as console or raid 05:23:26 or start talking about drivers in ways other than static names 05:23:42 exactly 05:23:46 I think it's worth noting that OpenStack generally is quite opinionated 05:23:53 mrda: yup 05:23:57 I'm all for the opinion here 05:24:01 lol 05:24:18 and I wouldn't mind having cute names. we already give our projects names -- why not the drivers? :) 05:24:21 I mean, lets look at the iRMC example again 05:24:34 what "opinion" would we have? All 4 drivers would have merit in different use case.s 05:24:38 (unless good reason not to follow suit) 05:24:49 it's just another thing to bikeshed over 05:25:37 today we effectively have: (power) + (boot) + (deploy) + (management) + (console) 05:26:08 in some cases, many of these are provided by a single implementation, eg, ilo provides power, boot, management, and console 05:26:26 so we get just (ilo) + (iscsi, agent) 05:26:39 devananda: I see, now I understood the real background of the driver naming 05:26:51 I imagine that other vendor-specific drivers will tend towards a similar state 05:27:01 (vendor) + (deploy method) 05:27:27 devananda: name consists of 5 words ideally. 05:27:48 but what if I want to use the IPMI 2.0 standard SOL session instead of iLO's ? 05:28:02 right now, I can't. 05:28:16 that's an opinion. I think it's fine if Ironic has that sort of opinion. 05:28:28 ++ 05:29:27 Sure. but that still doesn't help the issue at hand with iRMC. Should we say we only want to support a given kind of boot? 05:29:41 Not quite sure why a user wants to use ipmi and iLO deploy and boot combination 05:29:57 I'm ok with just supporting virtualmedia, as long as all irmc hardware has VM support 05:30:37 That means booting anything using iRMC driver requires CIFS/NFS 05:32:02 oh, that's a thing 05:32:03 I mean 05:32:05 I just want us to get somewhere with the conversation; have a specific answer for naohirot so that spec doesn't stay in limbo, even if we have to continue thinking about overall naming and composability of drivers 05:32:16 if we want to support all four; name them distinctly like JayF suggested 05:32:19 I obviously think the best path for that is implement the 4 drivers, name them what I suggested :) 05:32:19 +1 05:32:23 JayF: ++ 05:32:32 er, I mean, +1 on getting to a specific answer 05:32:40 I'm looking at the ilo* drivers right now -- there are three 05:32:42 (not counting fake) 05:32:47 * JayF would rather not stay up to look at a non-moving IRC meeting 05:33:25 JayF: of the four you're suggesting,a nd the three that ilo implements ,what's missing? 05:33:44 deva, ilo driver doesn nt use ipmi 05:33:44 vm_iscsi? 05:33:48 it's just a matrix, pxe/agent vs pxeboot/virtualmedia 05:33:57 I think they may not have agent/virtualmedia yet 05:34:01 wanyen: I know :) that was just an example to illustrate a point 05:34:02 but imbw 05:34:21 that's why iLo driver only has 3 drivers not 4 05:34:33 JayF: IloVirtualMediaAgentDriver 05:35:27 devananda: agent + pxe is missing 05:35:48 we do not have a driver that uses iLo management + pxe boots + IPA deploy 05:35:54 JayF, yes, it's not there .. 05:35:57 oh. right 05:36:06 agent + pxe boot + ilo for power, mgmt 05:36:10 see; I almost think that's a bug 05:36:19 there's no reason that doesn't exist other than because it doesn't 05:36:28 because there is iscsi + pxe boot + ilo for power, mgmt 05:36:30 yea 05:36:56 JayF: so this is where, apparently, the authors of that driver (or we as a community) had an opinion 05:37:00 I mean, it's not a bug until someone wants it 05:37:02 or we just skipped it 05:37:08 because no one wanted it 05:37:21 devananda, JayF, there was a reason for that have iscsi + pxe boot + ilo for power, mgmt. it helps to deal with uefi systems 05:37:25 I was more suspecting it was an oversight 05:37:45 in short, I don't think we should be telling the driver authors what combinations of interfaces they should be providing. they should listen to their users and implement that 05:37:46 devananda, JayF, when agent supports uefi, we can as well have it 05:38:18 devananda: that's reasonable; but I would still say the drivers should be named more descriptively, even if we don't want to implement the full matrix 05:38:29 but I want that to be a decision; not an oversight 05:38:31 or we should document the mapping 05:38:36 deva ++ 05:38:48 given it was modelled on what drivers iLo had before; I suspect it was not a decision explicitly mad 05:38:50 *made 05:38:56 JayF: fair points 05:39:08 naohirot: what combinations of interfaces matter to you / /your users? 05:39:53 devananda: I just would like to follow the ilo implementation as the first step. 05:40:21 rameshg87: are you saying that PXE boot is necessary for UEFI support (and works better than iLO vmedia boot for that) ? 05:40:28 devananda: so it's difficult to answer your question.:-) 05:40:47 deva, ipmi toll does not handle boot mode 05:40:51 naohirot: are you planning to test all of them, or just one? 05:41:10 devananda, setting boot device doesn't work well with ipmi. pxe boot + ilo mgmt on uefi works 05:41:12 so we have pxe-ilo driver using ilo to manage boot mode 05:41:48 rameshg87: ahh. gotcha. so for a user who wants to use PXE boot, they need to use iLO mgmt (rather than IPMI) to enable UEFI 05:41:51 rameshg87: thanks 05:41:58 devananda, yeah 05:42:07 devananda: aiui, that's the same difference with iRMC as well 05:42:19 devananda: at least that's what I gleaned from the spec 05:42:22 devananda: I think right now there is no concrete customer, my concern is to implement workable driver and ask potential customer's feedback. 05:43:01 naohirot: my advice would then be, start with the simplest one that provides the functionality you think your customers want 05:43:07 devananda: that's the reason I'd like to implement the way ilo does right now. 05:43:09 rameshg87: do you mean it does not support 'persistent' option? 05:43:16 naohirot: rather than trying to support 3 separate drivers initially 05:43:34 Haomeng|2, no. setting boot device itself doesn't work properly with ipmi. it's not related to persistent option. 05:43:34 s/separate/different combinations of/ 05:43:47 Haomeng|2, i mean only on uefi machines 05:43:49 rameshg87: you mean boot mode, not device, right? 05:43:56 devananda, both infact :) 05:43:57 rameshg87: ok 05:44:16 devananda: I'd rather shipping small set of driver rather than complete one. 05:44:20 rameshg87: oh, hmmm. I haven't seen problems setting boot device like that. thanks 05:44:36 naohirot: then as a suggestion, why not do the virtual media boot drivers later? 05:44:54 naohirot: the pxe / agent deploy drivers, if pxe booting, should be very quick to get up and proof of concept 05:45:05 devananda, for reference, we have code to handle that - https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/pxe.py#L334-L348 05:45:13 JayF: ++ 05:45:15 JayF: ++ just need power driver for that 05:45:17 JayF: That's what I'm doing. 05:45:31 cool, then if we do that I'd be OK with pxe_irmc / agent_irmc drivers 05:45:35 jroll: I think the power driver already got approved, no? 05:45:49 JayF: I implement PXE+iRMC without virtual media first. 05:45:53 perfect 05:45:54 devananda: maybe? idk if everything is wired up 05:46:15 people can ignore me if I'm wrong :P 05:46:33 JayF: :) 05:46:43 jroll: 05:46:44 http://specs.openstack.org/openstack/ironic-specs/specs/kilo/irmc-power-driver.html 05:46:50 oops 05:46:55 bad paste, but right link 05:46:57 devananda: cool, but is there code 05:47:16 oh... 05:47:26 it's irrelevant for this discussion though 05:47:28 ignore me 05:48:16 naohirot: does that work for you? just pxe_irmc and agent_irmc for now 05:48:34 devananda: yes 05:49:14 #agreed iRMC work to proceed with two drivers (pxe_irmc and agent_irmc) and no vmedia support initially, but that may come later 05:49:26 #topic open discussion 05:49:32 devananda: agent_irmc uses virtual media, but pxe_irmc doesn't use virtualmedia. 05:49:34 wanyen: Hi, do you have time to discuss with secure mode 05:49:50 lintan, sure 05:50:03 naohirot: ah, gotcha. that's fine too 05:50:05 I have a small question about deploy_key that i put to instance_info during deployment 05:50:08 #undo 05:50:09 Removing item from minutes: 05:50:18 do we really need it? 05:50:23 wanyen: first, do you think is it necessary to have one interface for secure boot or trust boot? 05:50:24 #agreed correction - agent_irmc will use vmedia, and pxe_irmc will not 05:50:27 #topic open discussion 05:50:39 vdrok_: I'm not aware of this, isn't that something ironic puts in? 05:50:54 vdrok_: (or it doesn't go there at all) 05:51:05 lintan, no I don't think so. I thin make them seprate will be more clear 05:51:14 jroll, yes, but it's checked only here - https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/iscsi_deploy.py#L220-L221 05:51:15 s/thin/think 05:51:20 devananda: Just make sure there is no misunderstainding. agent_irmc and iscsi_irmc use virtual media, pxe_irmc doesn't use virtual media. 05:51:31 which is called on continue_deploy 05:51:52 and it seems that it can't really change 05:51:52 wanyen: but they are very similar and work for the same goal 05:52:02 vdrok_: right, that's a pxe driver thing, I'm not sure what it does though 05:52:12 vdrok_: but I thought ironic puts it there automatically 05:52:43 vdrok_: it is created here: https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/iscsi_deploy.py#L336 05:52:45 vdrok_: https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/iscsi_deploy.py#L334-338 05:52:45 lintan, they protect bare-metal node at differnt phases and user may want to be sure what they will have 05:52:58 vdrok_: and lives only temporarily -- just for the duration of that deploy ramdisk 05:53:03 devananda, yes 05:53:14 devananda, but do we need it actually? 05:53:24 vdrok_: it is used as a very crude authentication method 05:53:32 vdrok_: the deploy ramdisk POSTs it back 05:53:35 and ironic validates it 05:53:48 devananda: doesn't the keystone token cover auth? 05:53:50 lintan, for security feature I think it's importatn for user to know what they end up with, either trusted boot or secure boot 05:54:08 gah. it's late. I mean authorization 05:54:27 mmm 05:54:41 jroll: you're correct - keystone token covers authentication. this token authorizes that deploy ramdisk to receive the instance image 05:54:49 huh 05:54:57 because, presumably, no other ramdisk received *taht* token on boot 05:54:59 I guess that's useful 05:55:09 even if other ramdisks received the same keystone token 05:55:34 wanyen, we can left the choice for user, but from perspective of Ironic, they are same 05:56:12 wanyen, similar I mean, they can share a interface 05:56:45 it's not all that secure, but it's better than not having it. I would much rather inject some key material over the OOB (vmedia) channel ... but that's not possible with standard IPMI in any way I know of 05:57:09 devananda, but it can change only if user will explicitly change it in instance_info? 05:57:15 lintan, I would like ot use r differnt flavors for trusted boot vs secure boot. 05:57:18 vdrok_: it does not change 05:57:33 oh, right, its internal 05:57:43 lintan, for managerinterface, we can discuss what would be best : eitehr to have two interfaces or one 05:57:43 vdrok_: it is created by the PXE driver during deploy, then deleted when the deploy is done 05:57:47 right 05:57:52 wanyen, different flavor is OK with me 05:58:24 does trusted boot imply secure boot? 05:58:28 (just curious) 05:58:35 wanyen, we still need to save extra spec in ironic db 05:58:35 lintan: falvor would be better choice as user would know what he wants 05:58:52 jroll: yes trusted boot are secure boot as well 05:58:59 stendulker: (or she) 05:59:07 jroll: he :) 05:59:11 ... 05:59:19 lintan, flavor will be passed as part of the instance_info ti ironic 05:59:28 anyway, I think our time is up 05:59:39 yep 05:59:40 wanyen: ironic doesn't know about flavors 05:59:45 i had one item for open discussion :( 05:59:51 jroll : Trusted and secure boot differ and they work bit differently but try to achieve the same goal of having uncompromised OS image 05:59:55 i was waiting for these to complete 06:00:07 rameshg87: we started open discussion 10 minutes ago ... 06:00:16 stendulker: right 06:00:20 jroll, I meant flavor will be copied into instance_info/capabilities 06:00:24 devananda, i was waiting to avoid chaos 06:00:34 rameshg87: embrace the chaos :) 06:00:38 heh 06:00:42 rameshg87: or bring it up on the mailing list? 06:00:43 rameshg87: :) 06:00:44 rameshg87: to the channel then :) 06:00:47 also, we're out of time 06:00:50 thanks everyone! 06:00:54 thanks devananda! 06:00:59 thanks folks :D 06:01:01 #endmeeting