/NetworkDriver.CreateEndpoint crashes when null is given for Interface

Bug #1503959 reported by Taku Fukushima
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kuryr
Fix Committed
Undecided
Taku Fukushima

Bug Description

With the Docker CLI there's no way to specify the info for Interface property and it always null. Kuryr doesn't handle that correctly and the validation is not reflected this behaviour neither.

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

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

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

Reviewed: https://review.openstack.org/232379
Committed: https://git.openstack.org/cgit/openstack/kuryr/commit/?id=6787e0e2fabb60c9d4902b53d7cc7a41999d8384
Submitter: Jenkins
Branch: master

commit 6787e0e2fabb60c9d4902b53d7cc7a41999d8384
Author: Taku Fukushima <email address hidden>
Date: Thu Oct 8 15:09:52 2015 +0900

    Add a workaround for null Interface in /NetworkDriver.CreateEndpiont

    This patch modifies the schema to make Interface property in the request
    against /NetworkDriver.CreateEndpiont, then makes Interface an empty
    dictionary if the null value was given.

    Change-Id: I8535e739cb58258219aecfb5450410259ba45b34
    Signed-off-by: Taku Fukushima <email address hidden>
    Closes-Bug: #1503959

Changed in kuryr:
status: In Progress → Fix Committed
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.