[openstack-dev] [kuryr] Subnet pool does not exist error

Hyunsun Moon hyunsun.moon at gmail.com
Wed Jul 12 01:44:26 UTC 2017


Hi all,
I’m getting an exception when creating a service with Kuryr network.

I created and installed kuryr plugin by building plugin rootfs from the source code.
Here’s what I did after that.

$ sudo docker network create --driver=kuryr/libnetwork2:latest --ipam-driver=kuryr/libnetwork2:latest --subnet=10.10.10.0/24 --gateway=10.10.10.1 kuryr-net
$ sudo docker service create --name redis --network kuryr-net redis:3.0.6
Neutron does not get any request from Kuryr.
Here’s the error message collected from /var/log/kuryr/kuryr.log.
2017-07-11 09:21:06.950 12 INFO kuryr_libnetwork.controllers [-] Creating subnetpool with the given pool CIDR
2017-07-11 09:21:20.221 12 ERROR kuryr_libnetwork.utils [-] Unexpected error happened: Subnet with pool f96b5ff6-4065-4eed-9854-3a54122f90c9 does not exist.: KuryrException: Subnet with pool f96b5ff6-4065-4eed-9854-3a54122f90c9 does not exist.
2017-07-11 09:36:28.115 13 INFO kuryr_libnetwork.controllers [-] Subnet already deleted.
2017-07-11 09:36:28.121 13 CRITICAL kuryr [-] Unhandled error: IOError: write error
2017-07-11 09:36:28.121 13 ERROR kuryr IOError: write error
2017-07-11 09:36:28.121 13 ERROR kuryr
I tried creating a network with existing Neutron subnetpool as below, but the result was the same.
$ sudo docker network create --driver=kuryr/libnetwork2:latest --ipam-driver=kuryr/libnetwork2:latest --subnet=10.10.10.0/24 --gateway=10.10.10.1 --ip-range=10.10.10.0/24 -o neutron.pool.name=kuryr --ipam-opt=neuton.pool.name=kuryr kuryr-net

Any suggestion?

Hyunsun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170712/42d5655f/attachment.html>


More information about the OpenStack-dev mailing list