[Openstack] 回复: 回复: use rdo install neutron ml2+vxlan

ttjiang jt628910 at 163.com
Mon Aug 11 03:39:51 UTC 2014


remove /etc/sysconfig/network-scripts/ifcfg-br-tun  then I reboot the nodes

I can see  "patch-int" in br-tun now 

thanks for your help




ttjiang

发件人: nathan.nxu
发送时间: 2014-08-11 11:13
收件人: ttjiang; openstack at lists.openstack.org
主题: 回复: 回复: [Openstack] use rdo install neutron ml2+vxlan
Yes I see it now,  the patch port of br-int and br-tun should be created in the same time.
Are you sure your ovs version support the vxlan tunnel. or any log to indicate this error to create patch port in br-tun?

look at the code in ovs agent, if patch ports can't be created in br-int or br-tun, there are some logs like this:

LOG.error(_("Failed to create OVS patch port. Cannot have "
                        "tunneling enabled on this agent, since this version "
                        "of OVS does not support tunnels or patch ports. "
                        "Agent terminated!"))

-Nathan
发件人: ttjiang
发送时间: 2014-08-11 10:52
收件人: nathan.nxu; openstack at lists.openstack.org
主题: 回复: 回复: [Openstack] use rdo install neutron ml2+vxlan
I can see the  "patch-tun" in br-int , but I can not see "patch-int" in br-tun




ttjiang

发件人: nathan.nxu
发送时间: 2014-08-11 10:44
收件人: ttjiang; openstack at lists.openstack.org
主题: 回复: [Openstack] use rdo install neutron ml2+vxlan
Actually br-int and br-tun are connected through veth pair.  it's already created in your case, see interface "patch-tun" in br-int and "patch-int" in br-tun

-Nathan.nxu
发件人: ttjiang
发送时间: 2014-08-11 10:28
收件人: openstack at lists.openstack.org
主题: [Openstack] use rdo install neutron ml2+vxlan
hi all:
I just use rdo to install neutron, I have some questions

After I finished.
I run this command,I can not see br-tun
ovs-vsctl show
876d6e88-b3fc-4709-8e29-5e61fbbd1001
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
    Bridge br-int
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port br-int
            Interface br-int
                type: internal
    ovs_version: "1.11.0"
but I then run this command again,br-tun appear now,what happen about this
ovs-vsctl show
876d6e88-b3fc-4709-8e29-5e61fbbd1001
    Bridge br-tun
        Port br-tun
            Interface br-tun
                type: internal
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
    Bridge br-int
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port br-int
            Interface br-int
                type: internal
    ovs_version: "1.11.0"

I run this command,just see LOCAL(br-tun):,is that normal ?I think the br-tun must have the port to br-int?
ovs-ofctl show br-tun
OFPT_FEATURES_REPLY (xid=0x2): dpid:0000a298acde9a47
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
LOCAL(br-tun): addr:a2:98:ac:de:9a:47
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0



any people can give me some help,thanks




ttjiang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140811/bfba163e/attachment.html>


More information about the Openstack mailing list