Libnetwork Remote Network Driver Design in kuryr-libnetwork

Bug #1774977 reported by Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kuryr-libnetwork
Fix Released
Undecided
Yang

Bug Description

In the document, it shows that when user input commands like "sudo docker run --net=foo -itd --name=container1 busybox", '/IpamDriver.RequestAddress' will get a POST call which the 'options' is empty, just like this:
{
    "Address": "",
    "PoolID": "941f790073c3a2c70099ea527ee3a6205e037e84749f2c6e8a5287d9c62fd376",
    "Options": {},
}
but I have checked the workflow, and I found it's not true. The Options will be non-empty.

-----------------------------------
Release: on 2018-05-15 07:55
SHA: 33cec28d8a552a869e9cde982c7c2f16afee7bb5
Source: https://git.openstack.org/cgit/openstack/kuryr-libnetwork/tree/doc/source/devref/libnetwork_remote_driver_design.rst
URL: https://docs.openstack.org/kuryr-libnetwork/latest/devref/libnetwork_remote_driver_design.html

Yang (sijie)
Changed in kuryr-libnetwork:
assignee: nobody → Yang (sijie)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kuryr-libnetwork (master)

Fix proposed to branch: master
Review: https://review.openstack.org/572085

Changed in kuryr-libnetwork:
status: New → In Progress
Revision history for this message
Yang (sijie) wrote :

Now, I have submit the patch.

Changed in kuryr-libnetwork:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kuryr-libnetwork (master)

Reviewed: https://review.openstack.org/572085
Committed: https://git.openstack.org/cgit/openstack/kuryr-libnetwork/commit/?id=42b0c306a05d08f0ecc52a41fb40acddbdb7bb75
Submitter: Zuul
Branch: master

commit 42b0c306a05d08f0ecc52a41fb40acddbdb7bb75
Author: SijieYang <yangsijie151104@126.com>
Date: Mon Jun 4 18:47:32 2018 +0800

    modify the kuryr workflow document

    In the document, it shows that when user input commands like "sudo docker run --net=foo -itd --name=container1 busybox", '/IpamDriver.RequestAddress' will get a POST call which the 'options' is empty, just like this:
    {
        "Address": "",
        "PoolID": "941f790073c3a2c70099ea527ee3a6205e037e84749f2c6e8a5287d9c62fd376",
        "Options": {},
    }
    but I have checked the workflow, and I found it's not true. The Options
    will be non-empty, and it will be like "com.docker.network.endpoint.macaddress": "08:22:e0:a8:7d:db".
    Fixes: Bug 1774977

    Change-Id: Ia4632fb376471893de71b57b49ca0241cf0f60c2

Changed in kuryr-libnetwork:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.