router ext gw assigning IPv6 when IPv6 + NAT is unsupported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Hi,
this is both a question and a bug report.
Currently, when setting an external gateway on a router by using an external network with both IPv4 and IPv6 subnets, two IPs are assigned - IPv4 and IPv6. However, according to the docs [1] , Openstack Networking does not yet support NAT with IPv6.
This makes the IPv6 address on the external gateway both confusing and without any use. I propose to stop assigning IPv6 for router's external gateway to avoid such confusion. If it's not supported yet, then there's no reason to assign it.
While Master might yet include such support in the future, stable branches such as Stein or Train do not. The nature of those being stable is that they don't include big features, only bug fixes, which means that they will never support IPv6 with NAT. Therefore, even if you decide to leave this assignment in the Master branch, I think that stable branches should have this removed regardless.
Some simple variation of "[v4] if is_gw_port else [v4, v6_stateful]" should suffice - [2] .
[1] https:/
[2] https:/
Changed in neutron: | |
status: | Incomplete → Invalid |
There is (at least) one out-of-tree neutron driver that does support NAT6-6, think it's Midonet. Think removing the IPv6 address could break that.