Handle port with both ipv4 and ipv6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kuryr-libnetwork |
Fix Released
|
Undecided
|
hongbin |
Bug Description
The steps to reproduce:
$ neutron net-create test
$ neutron subnet-create test 10.2.0.0/24
$ neutron subnet-create --ip-version 6 test fe81::/64
$ IP=$(neutron port-create test | grep -oE "\b([0-
$ docker network create -d kuryr --ipam-driver=kuryr --subnet 10.2.0.0/24 --gateway 10.2.0.1 -o neutron.
$ docker run --net=foo -itd --name=container1 --ip $IP busybox
81977d6a45de1a5
docker: Error response from daemon: failed to create endpoint container1 on network foo: NetworkDriver.
From the server log, there is an exception: http://
UPDATE 1:
This bug was tracked down to kuryr-libnetwork for handling ports with dual networks (ipv4 & ipv6). The steps to reproduce:
$ neutron net-create test
$ neutron subnet-create test 10.2.0.0/24
$ neutron subnet-create --ip-version 6 test fe80::/64
$ docker network create --driver=kuryr --ipam-driver=kuryr --subnet 10.2.0.0/24 --gateway 10.2.0.1 --ipv6 --subnet fe80::/64 --gateway fe80::1 --opt neutron.
$ neutron port-create test
$ docker run --net=dualnet -itd --name=container --ip 10.2.0.4 --ip6 fe80::8 busybox
e4953813d80b3d2
docker: Error response from daemon: IpamDriver.
Changed in kuryr: | |
assignee: | nobody → hongbin (hongbin034) |
Changed in kuryr: | |
importance: | Undecided → High |
description: | updated |
no longer affects: | kuryr |
Changed in kuryr-libnetwork: | |
assignee: | nobody → hongbin (hongbin034) |
summary: |
- Error on configuring container interface + Handle port with both ipv4 and ipv6 |
Changed in kuryr-libnetwork: | |
status: | New → In Progress |
Fix proposed to branch: master /review. openstack. org/439251
Review: https:/