14:00:08 #startmeeting neutron_drivers 14:00:09 Meeting started Fri Nov 30 14:00:08 2018 UTC and is due to finish in 60 minutes. The chair is mlavalle. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:00:10 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:12 The meeting name has been set to 'neutron_drivers' 14:00:20 Hi there 14:00:41 o/ 14:00:58 good morning klin 14:01:05 hi 14:01:21 good earlu monring klindgren 14:01:21 o/ 14:01:50 mlavalle, Thanks. 14:01:59 let's give haleyb and slaweq a minute to join 14:02:13 hi 14:02:17 sorry for being late 14:02:23 openstackbot having issues? 14:02:55 hi 14:03:03 ok let's get going 14:03:04 njohnston: is there any issue you see? 14:03:18 #topic RFEs 14:03:54 First one is https://bugs.launchpad.net/neutron/+bug/1764738 14:03:55 Launchpad bug 1764738 in neutron "routed provider networks limit to one host" [Wishlist,New] 14:05:03 Was Kris able to join (bug creator)? I know had planned to :) 14:05:16 I am here 14:05:42 THis one was originally proposed back in April by an operator in Sweden. Last week, in a conversation with klindgren we discovered his employer (GoDaddy?) has the same need 14:06:08 o/ 14:06:20 I also made a post to the openstack-discuss mailing list - but I don't think everyone has moved over to that. 14:06:20 http://lists.openstack.org/pipermail/openstack-discuss/2018-November/000082.html 14:08:28 in my rough understanding, this RFE request segments per provider network, while host to segment binding is global now. right? 14:09:06 I believe our needs a similar but slightly different, so I wanted to call out our similar use case. Mainly that we have a need to attach a server to multiple segments of a routed network. The primary reason being that with our network design the L2 doesn't leave the top of rack. But we are getting to the point where we are deploying more vm's into a rack than our networking team wants to give ip's for on a single vlan. So they want to expos 14:09:06 e the additional ip's on another vlan. Which in routed networks would be another segment. 14:10:18 so my understanding seem not correct. 14:11:43 in other words, to actually be able to achieve to exploit the benefits of routed networks (i.e. small L2 domains + scalability though L3 routing) you need more than one segment of the routed network to connect to the each compute. Is that a good summary 14:12:08 ? 14:12:26 Yes exactly 14:13:02 Our networking team is refusing to add more than a /22 worth IP address spacing to a vlan, due to fear of broadcast domain issues. 14:13:37 But they would happily do 10 vlans each with a /22 on the same switch. 14:13:48 that makes sense. one of the tenets of routed networks is to have small l2 broadcat domains 14:14:21 ok, I think I understand this rfe now, but I'm not an expert in routed networks so I have one, maybe not very good question: why it was limited originally? are there any potential technical issues with doing it? 14:14:26 if you start assigning big broadcat domains to the segments, we are back with the original problem 14:15:03 The limit was original put in by carl Baldwin who did the original routed network stuff with a comment 14:15:39 That basically says, we don't fully understand the use cases for multiple segments, so to simplify we are imposing an assumption that a host will be bound to only one segment 14:16:03 And that the restriction could be relaxed as those use cases are understood 14:16:27 klindgren: ok, thx, and now we have such use case for it :) 14:16:35 I see now 14:16:38 vlan is mapped to a segment and if you introduce a new vlan for a same range of your L2 network it sounds reasnable to define a new segment and assign it to an existing host. 14:17:51 at the moment of implementing originally routed networks, we didn't know the limits 14:18:27 so to simplify the implementation we made the assumption, somewhere in the IPAM, of only one segment per compute 14:18:40 and we expected to have operator feedback 14:18:46 which is now happening 14:19:05 As I am working through this locally I am running into some issues, that I am working through on fixing. Their are seemingly 2 problems. 14:19:43 one question: if one host belongs to multiple segments of a routed network, how can we select an appropriate segment for a new VM? 14:19:57 amotoki: that's part of the problem 14:20:05 you got it 14:20:21 One is that when you have multiple segments on a host and you try to bind a port from the second segment. The information that is sent to the agent contains the binding information of the first bindable segment. 14:20:46 So in routed networks the subnet is assigned to the segment. 14:20:53 https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/mech_agent.py#L106-L110 14:21:18 So if you know the subnet the ip came from - you should already know segment that should be bound for it. 14:22:09 yes, that problem seems solvable 14:22:37 if we are talking about scheduling, should placement be involved in this somehow maybe? 14:22:51 slaweq: it is already involved 14:23:10 One thing klindgren and I were looking at:... when you push information down to the agent, you'd include the segment_id with the port. Maybe using the segment_id (not to be confused with segmentation_id) to plug with rather than the network ID. 14:23:29 part of the routed networks implementation was to create an IPV4 inventory in placement 14:23:50 However, in the data that is passed around the segment_id is basically been stripped out. Which also leads to a second problem. If you are trying to use the vlan driver. And you get it to give the correct binding information for the second segment. Since the name of the bridge is done via the network_id. Both segments are part of the same network, and have the same network id 14:23:51 ahh, ok mlavalle 14:24:01 So it joins them both to the same bridge 14:24:15 When it really needs to be different bridges for each segment. 14:25:12 klindgren: is this second hurdle to avoid L2 conflicts? 14:26:01 I just don't see how it wouldn't spill traffic across the vlans 14:26:17 Or even possibly create a spanning tree loop? 14:26:31 IE: 14:26:31 -bash-4.2# brctl show 14:26:31 14:26:31 brq3188bc9c-49 8000.9e8444c8e353 no br0.401 14:26:31 br0.402 14:26:32 the second problem seems that we need to decide vlan ID for a port based on a combo of (network ID and segment ID), right? 14:26:33 tap1789c805-1c 14:26:38 tap770e7357-be 14:26:41 14:27:06 yes, that's what I meant, potential spaning tree loop 14:27:35 The vlan id comes from the segment and is populated into the device_info from information from the segment 14:27:50 ok, based on this, here's what I propose: 14:28:46 1) The use case / need is pretty clear. It was even predicted in the original routed networks implementation. So my proposal is to approve this RFE 14:29:41 2) Frequently, when we approve a RFE, we request a spec. But I don't think that applies here. We know the what well. Where we seem to be struggling is the how 14:30:22 I think klindgren and wwriverrat have made a good job identifyin the "hot spots" in the code 14:30:54 I propose to push a patch with PoC code 14:31:26 that will help us, as a team, cooperate in solving the technical issues 14:31:44 The code you are experimenting with is a good starting point 14:31:52 +1, it will be easier to see in PoC how those problems are solved 14:31:54 isn't a spec for the how? 14:33:01 yamamoto: mhhhh.... let's not get bogged down in terminology. some what and shome how 14:34:18 in this case, given where we are, I think a PoC would be more enlightening 14:34:21 i'm not against poc as far as we will have devref or spec in the end 14:34:29 I think RFE is to discuss what is needed and a spec is to discuss how it can be achieved. (the how includes what should be changed) 14:34:57 basically +1 for the proposal. PoC should work in this case. 14:35:44 Ok - I can push some PoC code here hopefully early next week, with what we did to get it working for our use case. I fully expect some parts need to be complexly re-worked. 14:36:15 one question: can this effort be done only inside neutron? is there no change in the placement side? If we need a chnage in placemment we need a pace to write down the whole picture of the chagne. 14:36:38 klindgren: hang on, let's make sure we have consensus 14:37:52 I think yamamoto and amotoki pojnt about the spec is also justified 14:38:11 I might have used wrong phrasing 14:38:30 let's use the PoC to uncover the challenges 14:38:57 and we re-group in a few weeks and see where we are are on possible impacts to Nova 14:39:10 as far as I can tell now, there shouldn't be impact 14:39:28 I honestly am not sure on the placement side. Right now I have just been trying to boot the second vm with a port that I already created on the second network. That part *does* seem to work. But I also wanted to confirm this works organically, as well. 14:39:29 because we already hva the IPv4 inventories in placement 14:39:57 but the PoC work might help uncover potential issues 14:40:18 and at that point we can take the learning and write up a spec 14:40:22 does that work? 14:40:25 mlavalle: the above makes sense to me 14:40:31 +1 14:40:41 +1 14:41:37 does that work for you klindgren and wwriverrat? 14:41:49 Yes it does 14:41:49 +1 from me :) 14:42:05 haleyb: any thoughts? 14:43:37 let's assume he is ok 14:43:43 I'm just spectating, but having worked in enterprises where the typical VLAN IP allocation size was /27 it makes total sense to me. 14:44:07 sorry, was looking at something else 14:44:37 i'm ok with what you decide 14:45:22 njohnston: absolutely. I think we are at a point where the routed networks original implemantation is meeting the reality and we need to incorporate the feedback of that reality to make this feature reach its potential 14:46:30 klindgren, wwriverrat: thanks for your feedback. I personally struggled a bit with the original form of that RFE, and your feedback was very valuable 14:47:04 No problem, thank you guys for your time. 14:47:16 I'll capture the decision in the RFE and will mark it as approved 14:49:36 klindgren, wwriverrat: I'll leave also a pointer in the RFE to the message in the ML as a reference 14:49:57 awesome 14:51:08 Next one to discuss in the list is https://bugs.launchpad.net/neutron/+bug/1793653 14:51:09 Launchpad bug 1793653 in neutron "[RFE] Enable other subprojects to extend l2pop fdb information" [Wishlist,In progress] - Assigned to ChenjieXu (midone) 14:51:58 mlavalle:thanks! 14:52:27 we might not have time to finish the discussion, but at least we can set it up for next week 14:53:10 ok 14:53:20 IIRC it was already discussed few weeks ago 14:53:34 yamamoto: did You get any feedback from ODL team? 14:53:44 yes, and Chenjie provided feedback in the RFE that now we have to digest 14:54:18 slaweq: no 14:54:47 yamamoto: ok, I just remember that we talked about it, right? 14:55:21 yamamoto: yamahata and manjeets are closer to my time zone than yours. I can take that action time 14:56:12 slaweq: i pinged yamahata and he said he would talk with relevant folks. i haven't heard anything since then. 14:56:48 mlavalle: sure, i guess it works better 14:56:54 sure, no problem :) I just wanted to ask if You have anything 14:57:02 yamamoto: cool 14:57:28 IIRC this was our biggest concern, if we should provide some abstraction for such stadium projects, right? 14:57:52 yes 14:58:05 ok 14:58:37 Chenjie: thanks for the feedback provided in the RFE. There is a lot to digest there 14:58:52 slaweq: yes. i still struggle to understand how it can work but i guess it's just me. 14:58:54 we will start the meeting with this RFE next week 14:59:22 fine for me 14:59:25 mlavalle: thank you so much! 14:59:46 everyone, thank you for your time! 14:59:47 yamamoto: your concerns are always important in this team 15:00:08 #endmeeting