yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #88367
[Bug 1962306] [NEW] [Prefix Delegation] router add segment fails with Subnet for router interface must have a gateway IP
Public bug reported:
Steps to reproduce:-
Update ipv6_pd_enabled = true in neutron.conf and restart neutron-api service.
$ openstack network create ipv6-pd
$ openstack subnet create --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --use-default-subnet-pool --network ipv6-pd ipv6-pd-1
$ openstack router add subnet router1 ipv6-pd-1
Add subnet fails with below Error:-
BadRequestException: 400: Client Error for url: http://192.168.0.5:9696/v2.0/routers/417bc2ad-019a-470c-b0ca-61a1d81c3d7d/add_router_interface, Bad router request: Subnet for router interface must have a gateway IP.
The issue is caused with https://review.opendev.org/c/openstack/neutron/+/699465 in order to fix
https://bugs.launchpad.net/neutron/+bug/1856675.
Workaround:-
Create segment with --gateway specified, this will cause the issue #1856675 but working prefix-delegation, so need to fix it without re introducing previous bug:-
openstack subnet create --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --use-default-subnet-pool --network ipv6-pd --gateway :: ipv6-pd-1
** Affects: neutron
Importance: Undecided
Assignee: yatin (yatinkarel)
Status: New
** Changed in: neutron
Assignee: (unassigned) => yatin (yatinkarel)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1962306
Title:
[Prefix Delegation] router add segment fails with Subnet for router
interface must have a gateway IP
Status in neutron:
New
Bug description:
Steps to reproduce:-
Update ipv6_pd_enabled = true in neutron.conf and restart neutron-api service.
$ openstack network create ipv6-pd
$ openstack subnet create --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --use-default-subnet-pool --network ipv6-pd ipv6-pd-1
$ openstack router add subnet router1 ipv6-pd-1
Add subnet fails with below Error:-
BadRequestException: 400: Client Error for url: http://192.168.0.5:9696/v2.0/routers/417bc2ad-019a-470c-b0ca-61a1d81c3d7d/add_router_interface, Bad router request: Subnet for router interface must have a gateway IP.
The issue is caused with https://review.opendev.org/c/openstack/neutron/+/699465 in order to fix
https://bugs.launchpad.net/neutron/+bug/1856675.
Workaround:-
Create segment with --gateway specified, this will cause the issue #1856675 but working prefix-delegation, so need to fix it without re introducing previous bug:-
openstack subnet create --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --use-default-subnet-pool --network ipv6-pd --gateway :: ipv6-pd-1
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1962306/+subscriptions
Follow ups