DVR: Missing fixed_ips info for IPv6 subnets
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Dongcan Ye |
Bug Description
Reproduce Steps:
preconditions: DVR and DVR_SNAT enabled.
1. Create router, network, IPv4 subnet
# neutron router-create test_router
# neutron net-create test_net
# neutron subnet-create test_net 40.40.40.0/24 --name test_v4_subnet
2. Create two SLAAC-enabled subnets
# neutron subnet-create --ip-version 6 --ipv6_
# neutron subnet-create --ip-version 6 --ipv6_
3. Attach those subnets(one v4 subnet and two v6 subnets) to router
# neutron router-
# neutron router-
# neutron router-
4. Then set gateway for the router.
# neutron router-gateway-set test_router EXTERNAL_NETWORK
The CSNAT router interface for IPv6 will get fixed ip from one of the IPv6 subnets.
If we set gateway for the router first, and then attach interface to the router.
The CSNAT router interface for IPv6 will get fixed ip from both IPv6 subnets.
In this situation, the csnat IPv6 address will update in _update_
So we also need to process correctly for multiple IPv6 subnets.
[1] https:/
Changed in neutron: | |
assignee: | nobody → Dongcan Ye (hellochosen) |
tags: | added: ipv6 |
Changed in neutron: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. openstack. org/590157
Review: https:/