Ask Your Question
0

L3 functionality fails with ODL + devstack

asked 2015-06-09 00:26:06 -0700

rijilabra gravatar image

updated 2015-06-09 02:22:09 -0700

Hi, I am trying to integrate ODL with DevStack environment (kilo).L2 seem to be working fine i.e there is connectivity between two VM's in the same network. However, l3 doesnt seem to be working. On the horizon UI I see the router interface down . I am not able to ping the gateway as well.On the Horizon UI, the router interface details shows me this,

  Name                   Fixed IPs              Status              Type               Admin State

(105b4e55-9dbe)         192.168.3.1             Down         Internal Interface        UP   
(991e0ea4-d2c7)          192.168.2.1            Down         Internal Interface        UP 
(ad08b07f-323b)          192.168.1.1            Down         Internal Interface        UP

Here are some more details,

devstack:~$ sudo ovs-vsctl show
 e062ed8b-31a2-4e01-933e-b7f895f42a7f
Manager "tcp:105.0.1.217:6640"
    is_connected: true
Bridge br-int
    Controller "tcp:105.0.1.217:6633"
        is_connected: true
    Controller "tcp:105.0.1.217:6633"
        is_connected: true
    fail_mode: secure
    Port br-int
        Interface br-int
            type: internal
    Port "tapf075bdf2-17"
        Interface "tapf075bdf2-17"
    Port "tap362d61f4-0c"
        Interface "tap362d61f4-0c"
            type: internal
    Port "tap43abd7ca-55"
        Interface "tap43abd7ca-55"
    Port "tapc0b6a373-09"
        Interface "tapc0b6a373-09"
    Port "tap91e44bd8-17"
        Interface "tap91e44bd8-17"
            type: internal
    Port "tap6ff1314f-a9"
        Interface "tap6ff1314f-a9"
            type: internal
ovs_version: "2.0.2"

Here are the flow details,

  devstack:~$ sudo ovs-ofctl dump-flows br-int -O Openflow13
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=420625.674s, table=0, n_packets=49, n_bytes=5072, in_port=5,dl_src=fa:16:3e:ff:c6:12  actions=set_field:0x458->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=421300.683s, table=0, n_packets=85, n_bytes=11152, in_port=1,dl_src=fa:16:3e:34:6c:38 actions=set_field:0x457->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=420245.858s, table=0, n_packets=8, n_bytes=648, in_port=6,dl_src=fa:16:3e:bb:d3:22 actions=set_field:0x8ae->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=420666.611s, table=0, n_packets=42, n_bytes=5222, in_port=4,dl_src=fa:16:3e:6d:5d:ef actions=set_field:0x458->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=421170.04s, table=0, n_packets=60, n_bytes=6038, in_port=3,dl_src=fa:16:3e:79:0f:36 actions=set_field:0x457->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=421199.612s, table=0, n_packets=78, n_bytes=7637, in_port=2,dl_src=fa:16:3e:a8:f9:9a actions=set_field:0x457->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=421169.537s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=3 actions=drop
cookie=0x0, duration=420245.354s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=6 actions=drop
cookie=0x0, duration=420625.173s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=5 actions=drop
cookie=0x0, duration=421300.207s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=1 actions=drop
cookie=0x0, duration=420666.109s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=4 actions=drop
cookie=0x0, duration=421199.111s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=2 actions=drop
cookie=0x0, duration=436606.383s, table=0, n_packets=0, n_bytes=0, dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x0, duration=436605.642s, table=0 ...
(more)
edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2015-06-09 04:07:30 -0700

ralvarep gravatar image

Hi rijilabra!

I am trying to integrate ODL with DevStack environment too. First, you have a problem with the table 20. In this table you should see several flow entries related to ARP Service, like you can see in the FlavioBlog (part2):

cookie=0x0, duration=9645.244s, table=20, n_packets=2, n_bytes=84, priority=1024,arp,tun_id=0x3e9,arp_tpa=1.0.0.3 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:4c:39:0e->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163e4c390e->NXM_NX_ARP_SHA[],load:0x1000003->NXM_OF_ARP_SPA[],IN_PORT

cookie=0x0, duration=9673.863s, table=20, n_packets=3, n_bytes=126, priority=1024,arp,tun_id=0x3e9,arp_tpa=1.0.0.1 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:49:68:47->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163e496847->NXM_NX_ARP_SHA[],load:0x1000001->NXM_OF_ARP_SPA[],IN_PORT

cookie=0x0, duration=9677.419s, table=20, n_packets=3, n_bytes=126, priority=1024,arp,tun_id=0x3e9,arp_tpa=1.0.0.254 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:69:5a:42->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163e695a42->NXM_NX_ARP_SHA[],load:0x10000fe->NXM_OF_ARP_SPA[],IN_PORT

cookie=0x0, duration=9656.405s, table=20, n_packets=1, n_bytes=42, priority=1024,arp,tun_id=0x3e9,arp_tpa=1.0.0.2 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:32:d8:e8->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163e32d8e8->NXM_NX_ARP_SHA[],load:0x1000002->NXM_OF_ARP_SPA[],IN_PORT

cookie=0x0, duration=9654.361s, table=20, n_packets=2, n_bytes=84, priority=1024,arp,tun_id=0x3ea,arp_tpa=2.0.0.1 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:a8:c2:66->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163ea8c266->NXM_NX_ARP_SHA[],load:0x2000001->NXM_OF_ARP_SPA[],IN_PORT

cookie=0x0, duration=9660.025s, table=20, n_packets=3, n_bytes=126, priority=1024,arp,tun_id=0x3ea,arp_tpa=2.0.0.254 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:cb:14:47->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163ecb1447->NXM_NX_ARP_SHA[],load:0x20000fe->NXM_OF_ARP_SPA[],IN_PORT

cookie=0x0, duration=9642.164s, table=20, n_packets=1, n_bytes=42, priority=1024,arp,tun_id=0x3ea,arp_tpa=2.0.0.2 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:41:56:ec->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163e4156ec->NXM_NX_ARP_SHA[],load:0x2000002->NXM_OF_ARP_SPA[],IN_PORT

cookie=0x0, duration=9629.870s, table=20, n_packets=3, n_bytes=126, priority=1024,arp,tun_id=0x3ea,arp_tpa=2.0.0.3 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:94:75:95->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163e947595->NXM_NX_ARP_SHA[],load:0x2000003->NXM_OF_ARP_SPA[],IN_PORT

I had the same problem, visit this post. So, check the version of OpenvSwith that you are using.

An related to that the router interface is down, I see the same, but L3 is working.

Please, can you check this ? To confirm that you have the same problem... Thanks.

edit flag offensive delete publish link more

Comments

Thanks..updating the OVS did the trick..As far as the deletion of instance is concerned, I 'm seeing the same issue as well..

rijilabra ( 2015-06-10 12:01:19 -0700 )edit

Hi, I am using ODL_L3 with my DevStack master branch on ubuntu 14.04, for me VM floating IPAddress is pinging from my DevStack host, but it is not getting ssh, where as if i log in VM console and try ssh Devstack host it is working fine for me. Kindly point me if i need to enable anything to get ssh VM using floating IPAddress from my Devstack host

vasubabu kandimalla ( 2015-09-23 02:10:58 -0700 )edit
1

answered 2015-06-11 03:55:17 -0700

rijilabra gravatar image

OpenVSwitch version needed to be updated in my case. Used the link to update ovs..L3 forwarding works fine now.

edit flag offensive delete publish link more
0

answered 2016-03-07 18:35:42 -0700

vishal_sharma gravatar image

Can you please post the configuration, how to do this. Thanks

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2015-06-09 00:26:06 -0700

Seen: 436 times

Last updated: Mar 07 '16