16:01:16 #startmeeting ironic_neutron 16:01:17 Meeting started Mon Jun 13 16:01:16 2016 UTC and is due to finish in 60 minutes. The chair is Sukhdev. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:01:19 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:01:22 The meeting name has been set to 'ironic_neutron' 16:01:24 o/ 16:01:46 lets give a minute or so for others to join 16:02:03 hi 16:02:12 o/ 16:02:46 #topic: Agenda 16:02:51 #link: https://wiki.openstack.org/wiki/Meetings/Ironic-neutron#Meeting_June_13.2C_2016 16:03:01 jroll : are you here? 16:03:14 hi! 16:03:38 #topic: Announcements 16:03:51 Anybody has any announcements for the team? 16:04:14 lets dive into the agenda - 16:04:38 #topic: Security Groups update 16:05:00 1) I have captured the details based upon our discussion last week 16:05:16 see here - https://wiki.openstack.org/wiki/Meetings/Ironic-neutron#Security_Groups_support_for_Baremetal_Deployments 16:05:28 Feel free to update/correct 16:05:55 quick question on this 16:06:07 jroll : sure 16:06:09 is this going on top of the current changes, or are they being reworked to include this? 16:06:36 There will be enhancement on top of one of the patches 16:06:50 ok cool 16:07:05 I think so too. 16:07:07 who's writing the RFE? :) 16:07:32 * devananda comes in, a bit late 16:07:38 jroll : I did not know if we needed an RFE, but, I can do it - 16:07:49 read the update this morning, looks good :) 16:08:00 Sukhdev: new features always need one :) thanks 16:08:06 * jroll not sure if this needs a spec or not 16:08:46 jroll : most of the work is done in the neutron side - very little on the Ironic side - which I will get into in a sec 16:09:10 sure 16:09:26 jroll : I will write up an RFE and ping you with the pointer 16:09:30 we need to ensure that the doc impact of the new config options is covered 16:09:41 thanks Sukhdev 16:09:46 sambetts : good point 16:10:13 sambetts : As a part of this modification, we can update it as well 16:10:24 do we need the doc impact for a new config option? the config guide is generated automatically. 16:10:44 amotoki: what about the install guide? 16:10:58 sambetts: we need the flag 16:11:11 we should document this in the install guide, yes 16:11:23 let's not spend precious meeting time arguing about docs :) 16:11:29 heh true :) 16:11:39 I meant update to this - https://review.openstack.org/#/c/228496/ 16:11:44 I just was thinking that specs document that sort of stuff 16:11:53 this spec covers the documentation - right? 16:12:16 sambetts: yeah, the RFE can call it out too though 16:12:21 Sukhdev: are we putting the sec group stuff into that spec? 16:12:58 sambetts : I was thinking - we can add a step to describe in there - yes 16:13:09 yes, those are the docs we will update, whether it's a separate patch or not 16:14:09 "if you wish to firewall your provisioning network, blablabla" 16:14:29 not a big deal, can we move on to the interesting parts? 16:14:38 jroll : right - that makes sense 16:14:46 Now the update on the second part - which amotoki and I worked last week (from the neutron side) 16:15:27 When I tried pass the SG port-create from Ironic driver, neutron rejected it - "not found" 16:15:56 amotoki and I worked on it and discovered that the issue with the tenant-id 16:15:56 more precisely "SG not found" 16:16:32 The way devstack sets things up is as follows: 16:16:51 It creates a tenant "service" 16:17:12 when I was testing this thing, I was creating networks and SG as admin 16:17:58 and later Ironic driver sends the port-create as service tenant - hence, neutron does not find SG for service, 16:18:06 hence, the failure 16:18:18 Now, we have a question for the team - 16:18:18 so we need to document that the SG is created in the right tenant? 16:18:25 Sukhdev: I've been looking at the devstack configuration around ironic's service user lately, and I think we should change a few things 16:18:28 the point is that security groups are only visible to a same tenant. 16:19:16 amotoki: that makes complete sense, and implies that devstack setup should be creating a SG on both accounts 16:19:22 sambetts: creating the networks/SGs as the user ironic runs as seems common sense, but yeah probably worth documenting 16:19:52 it is completely worth documented 16:20:16 yea, we will need to document this 16:20:18 and upate devstack 16:20:36 fwiw, here is the change I'm proposing to our devstack plugin to adjust the service account: https://review.openstack.org/#/c/325599/5/devstack/lib/ironic 16:20:40 This is how ironic config looks - http://paste.openstack.org/show/508516/ 16:22:32 #link: https://review.openstack.org/#/c/325599/5/devstack/lib/ironic 16:23:15 devananda : so, in real life deployments, I assume admins will create these n/w and SG and users will use them 16:23:23 amotoki: IIUC, we would need to create security groups on the tenant that ironic uses to communicate with neutron, and another SG on the tenant that will run the actual "nova boot" command 16:23:53 Sukhdev: yes. we should give them examples of how to do that 16:24:23 devananda : SG for tenant n/w works just fine - I have already tested it 16:24:23 Sukhdev: users shouldn't be using the SG and networks that we've setup right? they should be using their own 16:24:54 devananda : only for the provisioning n/w is the issue - as Ironic driver sends this information - for tenant n/w it comes from nova 16:25:09 sambetts++ 16:25:13 devananda: yes. IIUC the provisioning network is owned by 'service' tenant, so i think so. 16:25:38 to be specific, the cloud admin will need to create a service user for Ironic, and create the provisioning & cleaning neutron networks, as well as appropriate SG on those, from within that ironic service user 16:26:05 that's my understanding 16:26:32 we'll need to do that in devstack, and we also need to document it 16:26:47 devananda +1 16:26:48 and we *also* should set up the default end-user SG in devstack, too 16:27:01 and those networks and sec groups shouldn't affect the nova user at all 16:27:35 do we need to create a default end-user SG too in devstack? 16:27:49 those SG are setup for us already as i understand it, it should be the same as in a VM env right 16:28:01 in my understanding it is a normal SG which nova uses. 16:28:05 sambetts : yes 16:28:06 if it's the same SG that already exist -- great 16:28:50 amotoki devananda : the normal (default) SG will not work for BM servers 16:28:52 the 'default' SG exists by default. 16:29:07 Sukhdev: could you elaborate more? 16:29:46 amotoki : default SG deny everthing for ingress and allow everything on egress 16:29:55 this prevents the booting of the BM server 16:30:10 Sukhdev: we don't boot via network in the tenant network 16:30:52 when we issue port-create, if a default SG is used, the behavior I described above applies 16:31:07 we don't issue prt create for the tenant network 16:31:30 sambetts: nova does that, right? 16:31:40 devananda: up 16:31:43 yup* 16:32:08 yes (or a user can create a port in advance before launching an instance) 16:32:13 sambetts : as I expained earlier - tenant n/w SG works fine (nova boot --security-group ) 16:32:46 amotoki : thanks for the reminder 16:33:46 just to wrap it up - the default SG will not work - we need one for provisioning n/w which allows ingress and egress premissions so the BM can PXE boot from TFTP server 16:34:33 and for tenant n/w user can define and specify in nova boot - which works just fine - when the BM boots up and is available for use 16:34:35 Sukhdev: confirmation: what you talk about are provisioning/cleaning networks. I think the default SG works for users. 16:35:06 amotoki : right - we are in sync 16:35:17 Sukhdev: yeah 16:35:46 Does this make sense to everybody? are we good with this? 16:35:56 and we don't need to create a custom tenant SG in devstack? the existing ones should be fine? 16:36:19 sambetts : no - we need to address that 16:36:28 sambetts: for tenants, we'll need 'allow ssh' but I think that's default in devstack 16:36:46 jroll: cool, thats what I thought :) 16:36:51 for provisioning/cleaning, we'll need allow dhcp/tftp/tcp6385 16:37:07 jroll +1 16:37:19 +1 16:37:19 *thumbs up* 16:37:27 I really wish we'd focus on the existing work though, before we focus on security groups, etc 16:37:52 jroll : moving on to the real work - which is the next one on the agenda 16:38:15 #topic: update on integration/testing of patches 16:38:40 I have updated my test setup last week with all new patches - 16:38:44 so as a note, grenade testing is now non-voting in the check queue as of last week - which was the major thing we wanted to block on here \o/ 16:39:06 \o/ 16:39:18 :-D 16:39:43 * devananda is eager to revisit testing this work, now that grenade is up 16:39:45 as a :( note, nearly everything is in merge conflict status now https://review.openstack.org/#/q/status:open+project:openstack/ironic+branch:master+topic:bug/1526403 16:40:02 jroll, Sukhdev: I'm going to rebase patches tomorrow if you do not mind 16:40:08 vsaienko: ++ 16:40:16 vsaienko: +1 here 16:40:19 vsaienko :+1 16:40:26 I will review them tomorrow, this is once again highest priority for ironic now 16:40:35 * sambetts plans on pushing a new version of the nova PG patch tomorrow 16:40:45 sambetts: I was actually working on that 16:40:49 sambetts: nice, thank you 16:40:58 at least rebasing it and handling the comments 16:41:07 vsaienko : I noticed couple of issues - let me explain - if we can address as part of rebase 16:41:29 mjturek1: Oh cool, if your on top of it then +1 I'll get reviewing then, are you handling the config_drive stuff? 16:41:50 looking into it, sambetts could I ping you later about it? 16:42:03 vsaienko : so, the order in which the patches are applied has become important now 16:42:05 mjturek1: Sure 16:42:09 thx :) 16:42:59 like I mentioned, the order in which these patches are applied has become important now 16:43:30 I ran into the issue with "network_interface" vs. "network_provider" 16:43:51 do we still have the old one somewhere? 16:44:05 and then after spending many cycles and bugging devananda, later realized that one patch deprecates it 16:44:19 jroll : right 16:44:40 Sukhdev: did you leave a comment on the patch? 16:44:46 vsaienko : when you rebase, can you please mark the ones that are not valid as abandoned 16:45:32 jroll : no - wanted to check with the team to make sure I was not making mistake - hence, I am bringing it up here - so, that no body else wastes time the way I did 16:45:34 Sukhdev: which patch has the wrong value? 16:45:39 er, wrong variable name? 16:46:28 Sukhdev: I think that we moved to network_interface everywhere 16:46:38 one of these - https://review.openstack.org/#/c/317390/4/ironic/dhcp/neutron.py and https://review.openstack.org/#/c/285852/53/ironic/dhcp/neutron.py 16:47:53 So, what I was going to ask the team is that lets take out the one's are no valid anymore and mark them abandoned 16:48:24 vsaienko: I assume https://review.openstack.org/#/c/285852/53 isn't needed, that got split up, right? 16:49:29 vsaienko: that looks like it still covers a large chunk of the actual logic additoon 16:49:33 jroll: ^ 16:49:50 sambetts: I think this is the replacement: https://review.openstack.org/#/c/285852/53 16:50:00 jroll: it is needed 16:50:02 er 16:50:06 those are the same, wtf 16:50:08 ? thats the same patch 16:50:19 ignore me :) 16:50:24 heh :-P 16:50:32 I think its just the earlier PSs 16:50:43 aren't broken out 16:51:07 * jroll is unclear where Sukhdev is seeing network_provider 16:51:18 I would like to ensure that this patch gets high priorty because it affects the nova driver work: https://review.openstack.org/#/c/325197/ 16:51:36 Sukhdev: you have this patch? https://review.openstack.org/#/c/297895/2/nova/virt/ironic/driver.py 16:51:57 jroll : to be honest, now I am confused as hell as well :-):-) 16:52:29 good, not just me 16:52:34 anyway, that'll get picked up in review 16:52:59 So, I was going to make a suggestion - 16:53:37 as vsaienko is going to rebase these patches, if we can mark the ones that are needed as abandoned 16:53:45 I think sambetts's one 325197 is important. it is related to nova work. 16:53:48 yes, you mentioned that :) 16:54:05 and if the order matters, if we can update the comments on the patches, it will help others 16:54:58 if the order matters, that should be reflected in the commit dependency order 16:55:06 also, please ensure all relevant patches share the same gerrit topic 16:55:26 I see the one by zhenguo niu that jroll just linked has the topic "master" 16:55:45 sam linked that, but yeah 16:55:47 after a correct rebase you should just be able to apply the top of the tree of commits for ironic, python-ironicclient and nova and everything should then be correct 16:56:01 sambetts: exactly 16:56:13 #link I would like to ensure that this patch gets high priorty because it affects the nova driver work: https://review.openstack.org/#/c/325197/ 16:56:13 Lastly, I have been trying to keep the list of updated patches in the agenda of this meeting wiki - please update it as well 16:56:36 if we keep the same topic on them, it's only one link :) 16:56:45 jroll: bah. yes. I fail at reading :) 16:56:55 Sukhdev: are they listed in the order of priority? 16:57:13 amotoki : not really 16:57:52 nova non-priority feature freeze is two weeks away, so dependencies should be prioritize I think from the project management perspective. 16:58:43 ++ I've proposed a session to the ironic midcycle in 1 week which is a group review lets get these things merged session 16:59:06 we need nearly all of the ironic and ironicclient patches to make the nova stuff work, it's mostly in a single chain, prioritize in the order of the chain :) 16:59:19 sambetts: my goal is to undermine you and get them merged before the midcycle :D 16:59:27 ;) all the better 16:59:39 20 second warning 16:59:51 jroll : thanks 17:00:02 we are almost out of time - 17:00:17 thanks y'all 17:00:24 thanks for attending folks 17:00:27 bye 17:00:28 thanks everyone 17:00:30 thanks 17:00:32 #endmeeting