[Openstack] Neutron opendaylight plugin integration: gre tunnel interface problem

Heinonen, Johanna (NSN - FI/Espoo) johanna.heinonen at nsn.com
Thu Jun 19 03:10:02 UTC 2014


Hi,

I have been experimenting with neutron ODL plugin. I have followed the RDO instructions http://openstack.redhat.com/OpenDaylight_integration . ODL controller is up and running and I can see in the webGUI OVS-switches from controller and compute nodes (br-int/br-tun/br-ex).

I have modified /etc/neutron/plugins/ml2/ml2_conf.ini like this:
mechanism_drivers = opendaylight
[ml2_odl]
password = admin
username = admin
url = http://10.22.199.233:8080/controller/nb/v2/neutron

[odl]
tunnel_id_ranges = 1:1000
tun_peer_patch_port = patch-int
int_peer_patch_port = patch-tun
tenant_network_type = gre
tunnel_bridge = br-tun
integration_bridge = br-int
controllers = 10.22.199.233:6633:admin:admin

I run the odl.sh script in both controller and compute nodes.
I am able to launch VMs, they become active, but I cannot ping/ssh/etc the VMs (security groups are not the problem.)

When I look at the "ovs-vsctl show" in the controller node I can see the following:

root at icehouse236:~# ovs-vsctl show
8c890ed9-7311-4b13-910d-7fc29c2af559
    Manager "tcp:10.22.199.233:6640"
        is_connected: true
    Bridge br-ex
        Controller "tcp:10.22.199.233:6633"
            is_connected: true
        Port "qg-7702787d-5c"
            Interface "qg-7702787d-5c"
                type: internal
        Port br-ex
            Interface br-ex
                type: internal
        Port "p1p2"
            Interface "p1p2"
    Bridge br-int
        Controller "tcp:10.22.199.233:6633"
            is_connected: true
        Port "tap1699544b-97"
            tag: 1
            Interface "tap1699544b-97"
                type: internal
        Port "gre-10.1.0.2"
            Interface "gre-10.1.0.2"
                type: gre
                options: {key=flow, local_ip="10.1.0.1", remote_ip="10.1.0.2"}
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port br-int
            Interface br-int
                type: internal
        Port "qr-661a82cd-65"
            tag: 1
            Interface "qr-661a82cd-65"
                type: internal
    Bridge br-tun
        Controller "tcp:10.22.199.233:6633"
            is_connected: true
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
    ovs_version: "2.0.1"

according to my understanding the port "gre-10.1.0.2" should be under br-tun and not under br-int. So I am wondering what is wrong? Have I misconfigured something? If I look at the compute node the gre-tunnel interface seems to be in the right place (under the br-tun):

root at icehouse229:~# ovs-vsctl show
82782d1c-465f-45d9-8c37-af2717853b9b
    Manager "tcp:10.22.199.233:6640"
        is_connected: true
    Bridge br-int
        Controller "tcp:10.22.199.233:6633"
            is_connected: true
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal
        Port "tap34eb192a-24"
            tag: 4
            Interface "tap34eb192a-24"
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "qvob68f8ab7-b1"
            tag: 1
            Interface "qvob68f8ab7-b1"
        Port "gre-10.1.0.1"
            Interface "gre-10.1.0.1"
    Bridge br-tun
        Controller "tcp:10.22.199.233:6633"
            is_connected: true
        Port br-tun
            Interface br-tun
                type: internal
        Port "gre-0a010001"
            Interface "gre-0a010001"
                type: gre
                options: {in_key=flow, local_ip="10.1.0.2", out_key=flow, remote_ip="10.1.0.1"}
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
    ovs_version: "2.0.1"

I am running icehouse with ubuntu14.04 packages. My system consists of two servers: controller/network node and compute node.

BR
Johanna


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140619/1801a8c1/attachment.html>


More information about the Openstack mailing list