configuring a flat network fails

Bug #1638000 reported by Koby Aizer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-odl
Fix Released
Undecided
Unassigned

Bug Description

When trying to configure a neutron network of type flat, an error is returned.

The following error appears in q-svc.log:

2016-10-25 14:52:10.989 10705 ERROR networking_odl.ml2.network_topology [req-d0b9ba29-c640-44e8-82f7-a18ee8269bcc neutron -] Network topology element has failed binding port:
{
    "class": "networking_odl.ml2.ovsdb_topology.OvsdbNetworkTopologyElement",
    "has_datapath_type_netdev": false,
    "host_addresses": [
        null
    ],
    "support_vhost_user": false,
    "uuid": null,
    "valid_vif_types": [
        "ovs"
    ]
}
2016-10-25 14:52:10.989 10705 ERROR networking_odl.ml2.network_topology Traceback (most recent call last):
2016-10-25 14:52:10.989 10705 ERROR networking_odl.ml2.network_topology   File "/opt/stack/networking-odl/networking_odl/ml2/network_topology.py", line 117, in bind_port
2016-10-25 14:52:10.989 10705 ERROR networking_odl.ml2.network_topology     port_context, vif_type, self._vif_details)
2016-10-25 14:52:10.989 10705 ERROR networking_odl.ml2.network_topology   File "/opt/stack/networking-odl/networking_odl/ml2/ovsdb_topology.py", line 173, in bind_port
2016-10-25 14:52:10.989 10705 ERROR networking_odl.ml2.network_topology     raise ValueError('Unable to find any valid segment in given context.')
2016-10-25 14:52:10.989 10705 ERROR networking_odl.ml2.network_topology ValueError: Unable to find any valid segment in given context.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-odl (master)

Reviewed: https://review.openstack.org/397038
Committed: https://git.openstack.org/cgit/openstack/networking-odl/commit/?id=63113efea880e839a2c2380759235abe37689cb5
Submitter: Jenkins
Branch: master

commit 63113efea880e839a2c2380759235abe37689cb5
Author: Barak Dabush <email address hidden>
Date: Mon Nov 14 09:43:03 2016 +0200

    Added FLAT type network

    In port binding, added FLAT type network to the supprted types.
    Updated unitests correspondingly.
    Closes-Bug: #1638000

    Change-Id: I0a64e9c2874ee0bad4809f5380f54312c3695caa

Changed in networking-odl:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-odl 3.1.0

This issue was fixed in the openstack/networking-odl 3.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-odl (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/425246

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-odl (stable/mitaka)

Reviewed: https://review.openstack.org/425246
Committed: https://git.openstack.org/cgit/openstack/networking-odl/commit/?id=8bd69750cc230d8240d921ec5aae7b8776eedce8
Submitter: Jenkins
Branch: stable/mitaka

commit 8bd69750cc230d8240d921ec5aae7b8776eedce8
Author: Barak Dabush <email address hidden>
Date: Mon Nov 14 09:43:03 2016 +0200

    Added FLAT type network

    In port binding, added FLAT type network to the supprted types.
    Updated unitests correspondingly.
    Closes-Bug: #1638000

    Change-Id: I0a64e9c2874ee0bad4809f5380f54312c3695caa
    (cherry picked from commit 63113efea880e839a2c2380759235abe37689cb5)

tags: added: in-stable-mitaka
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.