Comment 2 for bug 1677316

Revision history for this message
Hyunsun Moon (hyunsun-moon) wrote :

Looks like RequestAddressType options is set correctly now with the latest Docker version.
See the log below.

2017-07-21 08:59:53.107 13 INFO kuryr_libnetwork.controllers [-] Received JSON data {u'V6': False, u'Options': None, u'Pool': u'10.10.10.0/24', u'AddressSpace': u'no_address_space', u'SubPool': u''} for /IpamDriver.RequestPool
2017-07-21 08:59:53.322 13 INFO kuryr_libnetwork.controllers [-] Creating subnetpool with the given pool CIDR
2017-07-21 08:59:53.422 13 INFO kuryr_libnetwork.controllers [-] Received JSON data {u'Address': u'10.10.10.1', u'Options': {u'RequestAddressType': u'com.docker.network.gateway'}, u'PoolID': u'840a2580-eb12-4f6c-a270-cde64f77bc41'} for /IpamDriver.RequestAddress
2017-07-21 08:59:53.592 13 CRITICAL kuryr [-] Unhandled error: IOError: write error
2017-07-21 08:59:53.592 13 ERROR kuryr IOError: write error
2017-07-21 08:59:53.592 13 ERROR kuryr
2017-07-21 08:59:53.594 12 INFO kuryr_libnetwork.controllers [-] Received JSON data {u'NetworkID': u'r7aagh38lcptc9m2693q6dr3o', u'IPv4Data': [{u'Pool': u'10.10.10.0/24', u'Gateway': u'10.10.10.1/24', u'AddressSpace': u''}], u'IPv6Data': None, u'Options': {}} for /NetworkDriver.AllocateNetwork