yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #87322
[Bug 1944948] Re: IPv6 slaac subnet creation causes FixedIpsSubnetsNotOnSameSegment error
Reviewed: https://review.opendev.org/c/openstack/neutron/+/811719
Committed: https://opendev.org/openstack/neutron/commit/84b6db3b0528a39450f48297d289cd9c618e3beb
Submitter: "Zuul (22348)"
Branch: master
commit 84b6db3b0528a39450f48297d289cd9c618e3beb
Author: Harald Jensås <hjensas@xxxxxxxxxx>
Date: Wed Sep 29 13:26:36 2021 +0200
[OVN] Allow IP allocation with different segments for OVN service ports
Allow IP allocation with different segments also for IPv6
auto allocation for OVN service ports.
See change: Ib51cde89ed873f48db4daebc27a0980da9cc0f19
Change-Id: Ic6db2f66be596756b1fed9ffeffc7b049f6e957f
Closes-Bug: #1944948
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1944948
Title:
IPv6 slaac subnet creation causes FixedIpsSubnetsNotOnSameSegment
error
Status in neutron:
Fix Released
Bug description:
When trying to create IPv6 SLAAC subnet in multisegment network
Neutron raises the FixedIpsSubnetsNotOnSameSegment error. But the
subnet is actually created.
Steps to reproduce:
$ openstack network create --share --provider-network-type geneve --provider-segment 777 test_net
SEGMENT=`openstack network segment list --network test_net | awk '/777/ {print $2}'`
$ openstack network segment set --name segment777 $SEGMENT
$ openstack network segment create --network-type geneve --segment 778 --network test_net segment778
$ openstack subnet create --network test_net --network-segment segment777 --ip-version 4 --subnet-range 10.77.7.0/24 --dhcp segment777-v4
$ openstack subnet create --network test_net --network-segment segment778 --ip-version 4 --subnet-range 10.77.8.0/24 --dhcp segment778-v4
$ openstack subnet create --network test_net --network-segment segment777 --ip-version 6 --subnet-range 2001:10:77:7::/64 --dhcp --ipv6-address-mode slaac segment777-v6
Expected result:
Subnet created with no errors
Actual result:
Subnet created, but API throws an exception:
BadRequestException: 400: Client Error for url: http://10.0.0.105:9696/v2.0/subnets, Cannot allocate addresses from different segments.
Version:
- Devstack (Neutron master)
- OVN 21.03
There's a Bugzilla about this topic [0]
[0] https://bugzilla.redhat.com/show_bug.cgi?id=1939601
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1944948/+subscriptions
References