← Back to team overview

openstack team mailing list archive

Re: Grizzly GRE tunneling network set up problems

 

Hi Haitao,

There should be GRE full mesh links being created in br-tun while you
created a VM successfully in Quantum ovs plugin GRE mode, just like:

Bridge br-tun
        Port "gre-x"
            Interface "gre-x"
                type: gre
                options: {in_key=flow, out_key=flow,
remote_ip="xx.xx.xx.xx"}

Maybe you can check if there any error in log file
(/var/log/quantum/openvswitch-agent.log in compute node and network node),
perhaps you have wrong setting in quantum.conf (rabbit_host or others)

Chandler


2013/7/10 Haitao Jiang <jianghaitao@xxxxxxxxx>

> I just set up a multi-node Grizzly release 2013.2 with 1 controller
> node, 1 network node and 1 compute node. I use GRE tunneling.
>
> I create one VM on the compute node and was not able to ssh to it using
> netns.
>
> One thing I noticed is that on my compute node, I do not have br-int
> and br-tun in the list, nor do I find any GRE tunnels. Am I supposed
> to create the GRE tunnels manually or they should be set up
> automatically by Quantum? Any idea or suggestion to make it work?
>
> Thanks in advance!
>
> ------ Compute node --------
> -- /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini  --
> tunnel_id_ranges=1:1000
> integration_bridge=br-int
> tunneling_bridge=br-tun
> tenant_network_type=gre
> enable_tunneling=True
> local_ip = <host IP>
>
> # brctl show
> bridge name     bridge id               STP enabled     interfaces
> qbr5a9800b9-26          8000.5242b197c3d3       no
>  qvb5a9800b9-26
>                                                         tap5a9800b9-26
> virbr0          8000.525400198a10       yes             virbr0-nic
>
> # ovs-vsctl show
> 1d554b19-2a2b-493d-a123-0efb0aabc7d1
>     Bridge br-tun
>         Port patch-int
>             Interface patch-int
>                 type: patch
>                 options: {peer=patch-tun}
>         Port br-tun
>             Interface br-tun
>                 type: internal
>     Bridge br-int
>         Port br-int
>             Interface br-int
>                 type: internal
>         Port patch-tun
>             Interface patch-tun
>                 type: patch
>                 options: {peer=patch-int}
>         Port "qvo5a9800b9-26"
>             tag: 1
>             Interface "qvo5a9800b9-26"
>     ovs_version: "1.10.0"
>
> ------------ network node ---------------
> # brctl show
> bridge name     bridge id               STP enabled     interfaces
>
> # ovs-vsctl show
> b9f0e822-cfc1-4b70-ac5b-abc4e5c258a4
>     Bridge br-int
>         Port br-int
>             Interface br-int
>                 type: internal
>         Port "tap9536e146-c2"
>             Interface "tap9536e146-c2"
>     Bridge br-ex
>         Port br-ex
>             Interface br-ex
>                 type: internal
>     ovs_version: "1.10.0"
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>

References