Re: [openstack-dev] [kuryr] Failed to create network with kuryr driver type

2016-02-22 Thread Mars Ma
Hi, updated the latest kuryr version, my test results as follows, still have problem with docker network( docker cannot list the created net, but neutron can show the net): ubuntu@kuryr1:~$ docker network create --driver=kuryr --ipam-driver=kuryr --subnet 10.10.1.0/24 --gateway 10.10.1.1

Re: [openstack-dev] [kuryr] Failed to create network with kuryr driver type

2016-02-02 Thread Antoni Segura Puimedon
On Tue, Feb 2, 2016 at 7:26 AM, Mars Ma wrote: > hi Vikas, > > ubuntu@kuryr1:~$ docker network create --driver=kuryr --ipam-driver=kuryr > --subnet 10.10.0.0/16 --gateway 10.10.0.1 --ip-range 10.10.0.0/24 foo > 68f14fe701710d6f3472d1626c33f0036a145aaa8d81265429e509cf759adfe1 >

Re: [openstack-dev] [kuryr] Failed to create network with kuryr driver type

2016-02-01 Thread Mars Ma
hi Vikas, ubuntu@kuryr1:~$ docker network create --driver=kuryr --ipam-driver=kuryr --subnet 10.10.0.0/16 --gateway 10.10.0.1 --ip-range 10.10.0.0/24 foo 68f14fe701710d6f3472d1626c33f0036a145aaa8d81265429e509cf759adfe1 ubuntu@kuryr1:~$ docker network ls NETWORK ID NAME

Re: [openstack-dev] [kuryr] Failed to create network with kuryr driver type

2016-01-20 Thread Baohua Yang
Hi mars Which code are u using? I repeated your steps with latest master branch. And the error from kuryr is 127.0.0.1 - - [20/Jan/2016 17:23:50] "POST /IpamDriver.GetDefaultAddressSpaces HTTP/1.1" 200 - ERROR in

Re: [openstack-dev] [kuryr] Failed to create network with kuryr driver type

2016-01-20 Thread Mars Ma
Hi Vikas, I added your fix , and also have problem, but different : $ neutron subnetpool-list +--+---+---+---+--+ | id | name | prefixes | default_prefixlen |

Re: [openstack-dev] [kuryr] Failed to create network with kuryr driver type

2016-01-20 Thread Mars Ma
Much thanks to @Vikas Thanks & Best regards ! Mars Ma On Wed, Jan 20, 2016 at 5:55 PM, Vikas Choudhary wrote: > Hi Mars, > > Your problem will be solved by this patch, > https://review.openstack.org/#/c/265744/ . It has not been

Re: [openstack-dev] [kuryr] Failed to create network with kuryr driver type

2016-01-20 Thread Mars Ma
hi Baohua, I applied the patch Vikas provided https://review.openstack.org/#/c/265732/ maybe I need to redeploy , so pull all the latest codes Thanks & Best regards ! Mars Ma On Wed, Jan 20, 2016 at 5:25 PM, Baohua Yang wrote: > Hi mars >

Re: [openstack-dev] [kuryr] Failed to create network with kuryr driver type

2016-01-20 Thread Vikas Choudhary
Hi Mars, Your problem will be solved by this patch, https://review.openstack.org/#/c/265744/ . It has not been merged yet though. Thanks Vikas On Wed, Jan 20, 2016 at 2:39 PM, Mars Ma wrote: > Hi Vikas, > > I added your fix , and also have problem, but different : > > $

Re: [openstack-dev] [kuryr] Failed to create network with kuryr driver type

2016-01-20 Thread Vikas Choudhary
Cheers :) !! On Wed, Jan 20, 2016 at 3:41 PM, Mars Ma wrote: > Much thanks to @Vikas > > Thanks & Best regards ! > Mars Ma > > > On Wed, Jan 20, 2016 at 5:55 PM, Vikas Choudhary < > choudharyvika...@gmail.com> wrote: > >> Hi Mars, >> >>

Re: [openstack-dev] [kuryr] Failed to create network with kuryr driver type

2016-01-19 Thread Mars Ma
hi Vikas, Thanks for your reply, I tried your method, looks like that the previous problem disappear, but a new problem came out: $ sudo docker network create -d kuryr --ipam-driver=kuryr kuryr Error response from daemon: failed to allocate gateway (): invalid CIDR address: /24 $ neutron

Re: [openstack-dev] [kuryr] Failed to create network with kuryr driver type

2016-01-19 Thread Vikas Choudhary
Hi Mars, Your code seems to be missing missing this fix: https://review.openstack.org/#/c/265732/ Please try with this and let us know if any issues further. Thanks -Vikas On Wed, Jan 20, 2016 at 11:41 AM, Mars Ma wrote: > hi Vikas, > > Thanks for your reply, I tried your

[openstack-dev] [kuryr] Failed to create network with kuryr driver type

2016-01-19 Thread Mars Ma
hi, I used the devstack to deploy kuryr to integrate openstack neutron and docker, but encounter some errors like: $ sudo docker network create -d kuryr kuryr Error response from daemon: failed to parse pool request for address space "GlobalDefault" pool "" subpool "": cannot find address space

Re: [openstack-dev] [kuryr] Failed to create network with kuryr driver type

2016-01-19 Thread Vikas Choudhary
Hi Mars, Please use "--ipam-driver=kuryr" also. Kuryr has its own ipam driver. Please refer this also: https://github.com/openstack/kuryr/blob/master/doc/source/devref/libnetwork_remote_driver_design.rst#libnetwork-user-workflow-with-kuryr-as-remote-network-driver---host-networking Hope this