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

Vikas Choudhary choudharyvikas16 at gmail.com
Wed Jan 20 06:48:22 UTC 2016


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 <wenchma at gmail.com> wrote:

> 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 subnetpool-list
>
> +--------------------------------------+-------+-------------------+-------------------+------------------+
> | id                                   | name  | prefixes          |
> default_prefixlen | address_scope_id |
>
> +--------------------------------------+-------+-------------------+-------------------+------------------+
> | 3c52c9dd-579e-4648-8ea7-e2af059d2914 | kuryr | [u'10.10.1.0/24'] | 24
>              |                  |
>
> +--------------------------------------+-------+-------------------+-------------------+------------------+
>
> it got invalid gateway CIDR address:  /24 , I don't know why
>
> Thanks you & Best regards !
> Mars Ma
> -------------------------------------
>
> On Wed, Jan 20, 2016 at 11:53 AM, Vikas Choudhary <
> choudharyvikas16 at gmail.com> wrote:
>
>> 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 helps.
>>
>> -Vikas
>>
>> On Wed, Jan 20, 2016 at 9:01 AM, Mars Ma <wenchma at gmail.com> wrote:
>>
>>> 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
>>> GlobalDefault (most likely the backing datastore is not configured)
>>>
>>> $ ./scripts/run_kuryr.sh
>>>  * Running on http://0.0.0.0:2377/ (Press CTRL+C to quit)
>>>  * Restarting with stat
>>>  * Debugger is active!
>>>  * Debugger pin code: 451-362-807
>>>
>>> 127.0.0.1 - - [14/Jan/2016 09:23:03] "POST /Plugin.Activate HTTP/1.1"
>>> 200 -
>>> 127.0.0.1 - - [14/Jan/2016 09:23:03] "POST
>>> /NetworkDriver.GetCapabilities HTTP/1.1" 200 -
>>> 127.0.0.1 - - [14/Jan/2016 09:23:03] "POST
>>> /IpamDriver.GetDefaultAddressSpaces HTTP/1.1" 200 -
>>>
>>> any comment is appreciated ?
>>>
>>> Thanks you & Best regards !
>>> Mars Ma
>>> -------------------------------------
>>>
>>>
>>> __________________________________________________________________________
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe:
>>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>
>> __________________________________________________________________________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160120/f571b7f7/attachment.html>


More information about the OpenStack-dev mailing list