<div dir="ltr">Hi Vikas,<div><br></div><div>I added your fix , and also have problem, but different :</div><div><br></div><div><div>$ neutron subnetpool-list</div><div>+--------------------------------------+-------+-------------------+-------------------+------------------+</div><div>| id                                   | name  | prefixes          | default_prefixlen | address_scope_id |</div><div>+--------------------------------------+-------+-------------------+-------------------+------------------+</div><div>| 360765af-fd5d-432c-990f-f787600c30ab | kuryr | [u'<a href="http://10.10.1.0/24">10.10.1.0/24</a>'] | 24                |                  |</div><div>+--------------------------------------+-------+-------------------+-------------------+------------------+</div><div>ubuntu@kuryr1:~$ sudo docker network create -d kuryr --ipam-driver=kuryr kuryr</div><div>Error response from daemon: Plugin Error: NetworkDriver.CreateNetwork, {</div><div>  "Err": "u'Gateway' is a required property\n\nFailed validating u'required' in schema[u'properties'][u'IPv4Data'][u'items']:\n    {u'description': u'IPv4 data',\n     u'example': {u'AddressSpace': u'foo',\n                  u'AuxAddresses': {u'db': u'192.168.42.3',\n                                    u'web': u'192.168.42.2'},\n                  u'Gateway': u'<a href="http://192.168.42.1/24">192.168.42.1/24</a>',\n                  u'Pool': u'<a href="http://192.168.42.0/24'">192.168.42.0/24'</a>},\n     u'properties': {u'AddressSpace': {u'description': u'The name of the address space.',\n                                       u'example': u'foo',\n                                       u'type': u'string'},\n                     u'AuxAddresses': {u'description': u'A list of pre-allocated ip-addresses with an associated identifier as provided by the user to assist network driver if it requires specific ip-addresses for its operation.',\n                                       u'patternProperties': {u'.+': {u'$ref': u'#/definitions/commons/definitions/ipv4',\n                                                                      u'description': u'key-vavule pair of the ID and the IP address'}},\n                                       u'type': u'object'},\n                     u'Gateway': {u'$ref': u'#/definitions/commons/definitions/cidr',\n                                  u'description': u'Optionally, the IPAM driver may provide a Gateway for the subnet represented by the Pool.'},\n                     u'Pool': {u'$ref': u'#/definitions/commons/definitions/cidr',\n                               u'description': u'A range of IP Addresses represted in CIDR format address/mask.'}},\n     u'required': [u'AddressSpace', u'Pool', u'Gateway'],\n     u'type': u'object'}\n\nOn instance[u'IPv4Data'][0]:\n    {u'AddressSpace': u'', u'Pool': u'<a href="http://10.10.1.0/24'">10.10.1.0/24'</a>}"</div><div>}</div><div>ubuntu@kuryr1:~$ neutron subnetpool-list</div><div><br></div><div>ubuntu@kuryr1:~$ </div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><span class="im" style="font-size:12.8000001907349px"><div style="font-size:12.8000001907349px">Thank you & Best regards !</div></span><div style="font-size:12.8000001907349px"><img src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif" class=""></div><div class="" style="font-size:12.8000001907349px"><div id=":1hq" class="" tabindex="0"><img class="" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div><span class="" style="font-size:12.8000001907349px"><font color="#888888"><span style="font-size:12.8000001907349px"><font color="#888888"><div>Mars Ma</div><div>-------------------------------------</div></font></span></font></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 20, 2016 at 2:48 PM, Vikas Choudhary <span dir="ltr"><<a href="mailto:choudharyvikas16@gmail.com" target="_blank">choudharyvikas16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi Mars,<div><br></div><div>Your code seems to be missing missing this fix: <a href="https://review.openstack.org/#/c/265732/" target="_blank">https://review.openstack.org/#/c/265732/</a></div><div><br></div><div>Please try with this and let us know if any issues further.</div><div><br></div><div>Thanks</div><span class=""><font color="#888888"><div>-Vikas</div><div><br></div></font></span></div><div class=""><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 20, 2016 at 11:41 AM, Mars Ma <span dir="ltr"><<a href="mailto:wenchma@gmail.com" target="_blank">wenchma@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">hi Vikas,<div><br></div><div>Thanks for your reply, I tried your method, looks like that the previous problem disappear,</div><div>but a new problem came out:</div><div><br></div><div><div>$ sudo docker network create -d kuryr --ipam-driver=kuryr kuryr</div><div>Error response from daemon: failed to allocate gateway (): invalid CIDR address: /24</div></div><div><br></div><div><div>$ neutron subnetpool-list</div><div>+--------------------------------------+-------+-------------------+-------------------+------------------+</div><div>| id                                   | name  | prefixes          | default_prefixlen | address_scope_id |</div><div>+--------------------------------------+-------+-------------------+-------------------+------------------+</div><div>| 3c52c9dd-579e-4648-8ea7-e2af059d2914 | kuryr | [u'<a href="http://10.10.1.0/24" target="_blank">10.10.1.0/24</a>'] | 24                |                  |</div><div>+--------------------------------------+-------+-------------------+-------------------+------------------+</div></div><div><br></div><div>it got invalid gateway CIDR address:  /24 , I don't know why </div><div><br></div><div class="gmail_extra"><span><div style="font-size:12.8000001907349px">Thanks you & Best regards !</div></span><div style="font-size:12.8000001907349px"><div><img src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div><span><font color="#888888"><span style="font-size:12.8000001907349px"><font color="#888888"><div>Mars Ma</div><div>-------------------------------------</div><div><br></div></font></span></font></span><div><div><div class="gmail_quote">On Wed, Jan 20, 2016 at 11:53 AM, Vikas Choudhary <span dir="ltr"><<a href="mailto:choudharyvikas16@gmail.com" target="_blank">choudharyvikas16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi Mars,<div><br></div><div>Please use "--ipam-driver=kuryr" also. Kuryr has its own ipam driver.</div><div><br></div><div>Please refer this also: <a href="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" target="_blank">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</a></div><div><br></div><div>Hope this helps.</div><div><br></div><div>-Vikas</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Jan 20, 2016 at 9:01 AM, Mars Ma <span dir="ltr"><<a href="mailto:wenchma@gmail.com" target="_blank">wenchma@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><div dir="ltr">hi,<div><br></div><div>I used the devstack to deploy kuryr to integrate openstack neutron and docker, but encounter some errors like:</div><div><br></div><div><div>$ sudo docker network create -d kuryr kuryr</div><div>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)</div><div><br></div><div>$ ./scripts/run_kuryr.sh</div><div> * Running on <a href="http://0.0.0.0:2377/" target="_blank">http://0.0.0.0:2377/</a> (Press CTRL+C to quit)</div><div> * Restarting with stat</div><div> * Debugger is active!</div><div> * Debugger pin code: 451-362-807</div><div><br></div><div>127.0.0.1 - - [14/Jan/2016 09:23:03] "POST /Plugin.Activate HTTP/1.1" 200 -</div><div>127.0.0.1 - - [14/Jan/2016 09:23:03] "POST /NetworkDriver.GetCapabilities HTTP/1.1" 200 -</div><div>127.0.0.1 - - [14/Jan/2016 09:23:03] "POST /IpamDriver.GetDefaultAddressSpaces HTTP/1.1" 200 -</div></div><div><br></div><div>any comment is appreciated ? </div><div><br></div><div>Thanks you & Best regards !</div><span><font color="#888888"><div>Mars Ma</div><div>-------------------------------------</div></font></span></div>
<br></div></div>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div></div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
</div></div><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div>