'module' object has no attribute 'ExportPortFailure'

Bug #1627911 reported by Dongcan Ye
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kuryr
Fix Released
High
Dongcan Ye

Bug Description

When users wants to expose container ports, using command:
$ docker run --net=my_kuryr_net --expose=100-102/udp -it ubuntu:14.04

If mets operatation for security group rule failed, kuryr-libnetwork raise
an exception:
docker: Error response from daemon: driver failed programming external connectivity on endpoint test5 (25477ec8f7995f25f460decf8b756cf3a02d0dfb27fd909ffb95bb42e6b57804): NetworkDriver.ProgramExternalConnectivity: 'module' object has no attribute 'ExportPortFailure'.

Dongcan Ye (hellochosen)
Changed in kuryr:
assignee: nobody → Dongcan Ye (hellochosen)
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/377182

Changed in kuryr:
status: New → In Progress
Revision history for this message
Antoni Segura Puimedon (celebdor) wrote :

This happens everytime SG creation fails, so we probably need to cut a 0.1.1 kuryr-lib release

Changed in kuryr:
importance: Undecided → High
Dongcan Ye (hellochosen)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kuryr (master)

Reviewed: https://review.openstack.org/377182
Committed: https://git.openstack.org/cgit/openstack/kuryr/commit/?id=4ade0e23a686b8bf0fe58c3bfc29d405eba0a0f5
Submitter: Jenkins
Branch: master

commit 4ade0e23a686b8bf0fe58c3bfc29d405eba0a0f5
Author: Dongcan Ye <email address hidden>
Date: Tue Sep 27 11:15:01 2016 +0800

    Add ExportPortFailure exception

    When creating security group rule failed, kuryr-libnetwork raise
    an exception:
    'module' object has no attribute 'ExportPortFailure'.
    Meanwhile ExportPortFailure is missing in the imported module.

    This patch add missing ExportPortFailure in kuryr-lib.

    Change-Id: Ia5cbe785d3bdecf0981438aa850d9d9da3ab38c8
    Closes-Bug: #1627911

Changed in kuryr:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kuryr 0.2.0

This issue was fixed in the openstack/kuryr 0.2.0 release.

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.