14:02:31 #startmeeting neutron_ipv6 14:02:32 Meeting started Tue Mar 18 14:02:31 2014 UTC and is due to finish in 60 minutes. The chair is sc68cal. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:02:33 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:02:35 The meeting name has been set to 'neutron_ipv6' 14:02:38 hi 14:03:06 So - we have some good news 14:03:19 the subnet attributes patch was merged yesterday 14:03:21 What's it? 14:03:26 Oh, cool! 14:03:33 and part of dzyu's patch for EUI64 addresses 14:03:41 That's excellent! Congrats, sc68cal! 14:03:44 we had to split it though 14:03:49 so we added the utility library 14:04:08 but we did not patch db_base_plugin_v2 14:04:26 Here's the bad news 14:04:33 shshang's patch did not land 14:04:47 there are concerns about networks with multiple v6 subnets 14:04:56 that's fine. :) 14:05:19 Basically if you have 2 v6 subnets with slaac 14:05:20 that's means, I can take my time and no need to rush now 14:05:29 no idea which prefix is going to be used 14:06:09 Now the good news is that since the attributes patch landed - no more rebasing to chase the HEAD alembic script 14:06:23 Yup, that is true. :D 14:06:26 well, I patched in the change, and tried it myself. the VM will get both prefixes. 14:06:26 which was like 90% of the churn 14:06:46 sc68cal: Did the client (python-neutronclient) side changes also got merged? 14:06:54 not yet 14:06:57 SridharG: good question 14:07:04 I got one -1 about unit test 14:07:09 I just restored it today 14:07:48 The other possible piece is that for Icehouse 14:07:59 we may patch it so that the v6 attributes are not returned to API requests 14:08:11 since there is nothing behind the API - since the dnsmasq changes did not land 14:08:33 but once J opens - they'll undo the disable 14:08:50 so we'd be able to continue our work 14:09:21 Otherwise - I think we did a great job given the circumstances 14:09:34 Everyone - pat yourselves on the back 14:10:08 sc68cal, do we still have time for my security group patch to get merged? 14:10:32 xuhanp: since that is a bug - it is possible 14:10:45 I have one small problem with the unit test due to recent code change. 14:10:59 sc68cal, good to know 14:12:01 #topic blueprints 14:12:24 #link https://blueprints.launchpad.net/neutron?searchtext=ipv6 Ipv6 Blueprints 14:13:34 Since we're moving towards RCs - make sure you've got your BPs all set 14:14:16 baoli: did we ever register a bp for prefix delegation? 14:14:29 sc68cal, I did 14:14:29 oh there it is 14:14:38 #link https://blueprints.launchpad.net/neutron/+spec/ipv6-prefix-delegation Prefix Delegation 14:14:53 perfect 14:15:18 if there isn't anything else, we'll continue on 14:15:54 #topic bugs 14:16:05 #link https://bugs.launchpad.net/neutron/+bugs?field.tag=ipv6 IPv6 tagged bugs 14:16:09 so if I understand you correctly, we won't be able to make the change to the code until Juno, is that correct? 14:16:33 sc68cal: Sean - congrats on getting the neutron side of the new IPv6 attributes getting merged last night 14:16:54 shshang: Yes - so usually that's the week after the summit 14:16:56 unfortunately in the Horizon community, we decided to move the Horizon BP out to Juno 14:17:19 OK, good to know. Thank you 14:17:19 it should go in very early in J hopefully 14:17:21 absubram: that's fine - since the attributes don't do anything currently 14:17:59 Any other bugs to discuss? 14:18:42 #topic reviews 14:19:15 So - I don't know if there is anything to report besides what we spoke about in the beginning 14:19:38 otherwise I'll turn us over to open discussion 14:19:56 sc68cal, I hope more people can help review my security group bug patch if that's possible :-) 14:20:10 I kind of changed the design from the beginning 14:20:23 careful what you wish for :) 14:20:43 :-) 14:21:19 But yes - we should review it since there's a chance of it getting merged for icehouse 14:21:44 anything else before we go to open discussion> 14:21:50 Other than that, we can celebrate, right? :) 14:22:35 I got my celebrating in yesterday - st. patrick's day and getting ipv6 stuff merged 14:22:55 :) 14:23:06 Go GREEN! :D 14:23:22 But yes - everyone should be proud of the work we've done 14:23:51 We built a team and made Ipv6 a priority for Neutron 14:24:08 we put it on the map, and it's only going to get better from here 14:24:16 Yup 14:24:19 sc68cal, good to have you as the lead! 14:24:46 Haha - well I don't think of it quite that way - I just start the meetings and end them 14:25:26 We had some great work that was floating around in private forks and we just pulled them out into the public 14:25:58 #topic open discussion 14:25:59 sc68cal: can you please share the link for the security group bug patch. 14:26:04 SridharG: sure. 14:26:16 https://review.openstack.org/#/c/72252/ 14:26:26 sc68cal: thanks 14:27:14 xuhanp: One thing that comes to mind 14:27:31 your TODO about finding the GUA for a router - if it's put in the subnet's gateway field 14:28:04 baoli: is GUA for a gateway unusual? 14:28:44 sc68cal, not sure. 14:28:53 sc68cal, you mean my TODO in my patch? 14:28:55 I know we've probably talked about this a couple times - where we were thinking if the admin sets it that way- we just trust that they know what they're doing 14:28:58 xuhanp: yes 14:29:48 sc68cal, I think that we are talking about LLA here. 14:30:40 the TODO on line 274 of xuhanp 's patch 14:30:54 with my security group patch. Only LLA can be used when ra mode is off 14:31:13 I think this is sc68cal is talking about? 14:31:45 I think so 14:31:56 but for Comcast - we'd be setting a gateway IP that is a LLA 14:32:10 since it'd be a physical device that we know up front 14:32:59 sc68cal, that is https://review.openstack.org/#/c/76125/ 14:33:29 right - for routers that neutron creates 14:33:45 In that case, we should check if a qr-xxx port is created by neutron when the subnet is added into a router 14:34:12 It doesn't seem to make sense to create a neutron port in that case. 14:35:03 baoli, you are saying we should not allow this subnet be attached to a router? 14:35:08 I am confused about which use case you guys refer to.... 14:35:19 baoli, would u plz elaborate? 14:35:35 if i'm not mistaken 14:35:42 xuhanp, it's a provider net, right? 14:35:47 yes 14:35:54 76125 allows you to create a subnet with a LLA address 14:36:04 then when you create a router for that subnet, it uses that LLA address 14:36:11 *attach a router that you've created 14:36:41 sc68cal, I think my qeustion is if it's a provider net, and ra is done externally, why would you need a neutron router 14:36:57 baoli: I don't think 76125 was meant to address that 14:37:07 remember this patch was in response to the -1 that you did for another review 14:37:12 where you created a v6 subnet 14:37:15 then created a router 14:37:29 with a pre-defined gateway IP that was an LLA address 14:37:52 and when Neutron tried to set the router's IP to that LLA address that was stored in the subnet's gateway attribute - it blew up 14:38:37 https://review.openstack.org/#/c/72252/2/neutron/db/securitygroups_rpc_base.py 14:38:42 sc68cal, I agree. So you are saying that this subnet with LLA gateway IP still needs to be added in a router? 14:38:43 line 264 14:39:06 sc68cal, I'm not questioning about the change. 14:39:47 I think all we're trying to fix was this error 14:39:52 400-{u'NeutronError': {u'message': u'Invalid input for operation: IP address fe80::2001:1 is not a valid IP for the defined subnet.', u'type': u'InvalidInput', u'detail': u''}} 14:40:04 which happened when you did openstack@devstack-16:~/devstack$ neutron router-interface-add 7cf084b4-fafd-4da2-9b15-0d25a3e27e67 myipv6sub 14:40:20 but I could be mistaken 14:40:46 sc68cal, I think baoli's question is do we ever need to do that. 14:41:09 xuhanp, yes, that's my question with provider net 14:41:09 to attach a provider network to the router 14:41:34 if it is provider network, then neutron doesn't need to deal with qr- interface any more, right? 14:41:35 baoli, I don't think neutron limit that provider network should not be attached to a router. 14:41:35 I don't think this error was related to a provider network and external gateway 14:41:58 so what sc68cal described is not applicable for provider network 14:42:09 this was an error encountered when you were making a neutron router with a predefined gateway 14:42:15 that was an LLA 14:42:22 Yup 14:42:30 Neutron would try and set the router's IP to an LLA address and the whole thing would blow up 14:43:27 sc68cal, yes. Now that the error is fiexed: a user can create a predefined gateway that's not on the subnet, would it make sense to add that subnet into the router any more? 14:43:37 I don't think it is fixed 14:43:49 it was supported 14:43:55 before 14:44:17 someone wants to change it but Anthoy stopped that. 14:44:28 If I remember correctly 14:46:15 yes, I knew that it was allowed, then the restriction (gateway on the same subnet) was added later 14:48:19 baoli, yep. with a configuration flag 14:48:29 boali, yes, in ipv6 subnet case, it still makes sense to add that subnet to the router 14:49:03 shshang, can you explain? 14:49:22 I think the use case you mentioned is valid, only for IPv6 14:49:40 "a user can create a predefined gateway that's not on the subnet, would it make sense to add that subnet into the router any more?" 14:49:58 I believe that's the only way that subnet would be able to get traffic out 14:50:07 if the gateway IP is an LLA address 14:50:11 yes 14:50:25 otherwise the router attach step fails and the subnet has no gateway 14:50:36 I remember in IPv6, you can add the GUA as default gateway, and you can also add LLA as default gateway 14:50:53 The latter case is the scenario baoli wants to address, right? 14:51:21 the former case will pass the check, but the latter case will blow up, because the checkpoint think it is not in the same subnet 14:51:28 Is my understanding correct, baoli? 14:51:57 shshang, if you create a subnet with a LLA gateway, and then add it to a router. 14:52:13 you would end up having two LLAs on the qr-xxx port 14:52:44 are we sure of that 14:52:44 one is predefined, one is auto-calculated, right? 14:52:59 shshange, right 14:53:03 currently it just blows up - no router is created 14:53:23 so there are no qr-xxx ports 14:53:42 Plus, it's against the routing principle to allow a gateway not on the same subnet to forward the subnet's traffic. 14:53:55 That's why my question about adding such a subnet into a router. 14:54:12 but LLAs are not on the same subnet 14:54:26 in the way Neutron thinks of things being on the same subnet 14:55:35 am I following this correctly? please let me know if I am mistaken 14:55:37 sc68cal, if a gateway with the LLA is external, then it shouldn't be added into a router with the same LLA. But as you said, it's up to the admin to do the right thing. In that case, it would be fine 14:55:48 baoli, now I see your point...I am not sure about whether it is legal to have more than 1 LLA. Let me double check 14:55:50 baoli: The gateway is not external 14:56:06 shshang, it's legal 14:56:08 This is for a subnet that you create - with a predefined LLA address, that you then create a router in neutron 14:56:22 that will use that LLA address that was set as the subnet's gateway 14:56:29 which currently fails 14:56:41 this has nothing to do with an external gateway that is a physical device 14:56:44 am I correct? 14:57:20 ok - we need to take this to the mailing list 14:57:39 we've probably discussed this a couple times and not gotten anywhere - so I will start a thread on the ML 14:57:40 baoli, according to Cisco doc, multiple IPv6 link-local addresses on an interface are not supported 14:57:41 sc68cal, if that's the case, the change (or fix), I think, will be different. 14:57:57 shshang, cisco is not supporting it 14:58:01 yup 14:58:02 but others do 14:58:16 it doesn't seem to be useful with multiple LLAs 14:58:26 baoli: I don't agree - I think xuhanp's change fixes 14:59:21 ok - I'll post on the ML 14:59:25 thanks everyone 14:59:33 sc68cal, we can discuss on the ML 14:59:35 thanks 14:59:37 #endmeeting