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

Liping Mao (limao) limao at cisco.com
Wed Jul 12 02:34:40 UTC 2017


Can you help to attach your kuryr.conf configuration file?

Regards,
Liping Mao

发件人: Hyunsun Moon <hyunsun.moon at gmail.com>
答复: OpenStack List <openstack-dev at lists.openstack.org>
日期: 2017年7月12日 星期三 09:44
至: OpenStack List <openstack-dev at lists.openstack.org>
主题: [openstack-dev] [kuryr] Subnet pool does not exist error

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/f93f7280/attachment.html>


More information about the OpenStack-dev mailing list