Uploaded image for project: 'ovsdb'
  1. ovsdb
  2. OVSDB-78

Null destination InetAddress in OF13Provider.handleInterfaceUpdate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • unspecified
    • None
    • Operating System: Linux
      Platform: PC

    • 1806

      General info:

      • devstack
      • distribution.ovsdb-1.2.0-20140909.125353-124-osgipackage.zip

      Steps to reproduce:
      1- controller$ ./run.sh -virt ovsdb
      2- nova boot ...

      Issues:

      • Missing flow rules
      • Controller exceptions
      • No VM connectivity

      Exception:
      2014-09-11 12:00:42.424 CEST [pool-10-thread-1] ERROR o.o.o.o.n.p.openflow13.OF13Provider - Exception in addTunnelPort
      java.lang.NullPointerException: null
      at org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13.OF13Provider.getTunnelName(OF13Provider.java:165) [bundlefile:na]
      at org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13.OF13Provider.addTunnelPort(OF13Provider.java:221) [bundlefile:na]
      at org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13.OF13Provider.handleInterfaceUpdate(OF13Provider.java:1178) [bundlefile:na]
      at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.handleInterfaceUpdate(SouthboundHandler.java:243) [bundlefile:na]
      at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.processRowUpdate(SouthboundHandler.java:192) [bundlefile:na]
      at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.processEvent(SouthboundHandler.java:358) [bundlefile:na]
      at org.opendaylight.ovsdb.openstack.netvirt.impl.EventDispatcherImpl.dispatchEvent(EventDispatcherImpl.java:88) [bundlefile:na]
      at org.opendaylight.ovsdb.openstack.netvirt.impl.EventDispatcherImpl.access$100(EventDispatcherImpl.java:28) [bundlefile:na]
      at org.opendaylight.ovsdb.openstack.netvirt.impl.EventDispatcherImpl$1.run(EventDispatcherImpl.java:54) [bundlefile:na]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_60]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_60]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_60]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_60]
      at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]

      [root@f-control-1 fedora]# ovs-ofctl dump-flows br-int -O OpenFlow13
      OFPST_FLOW reply (OF1.3) (xid=0x2):
      cookie=0x0, duration=684.623s, table=0, n_packets=0, n_bytes=0, send_flow_rem tun_id=0x1,in_port=5 actions=goto_table:20
      cookie=0x0, duration=957.916s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=8192,in_port=1 actions=drop
      cookie=0x0, duration=944.070s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=8192,in_port=2 actions=drop
      cookie=0x0, duration=944.091s, table=0, n_packets=10, n_bytes=864, send_flow_rem in_port=2,dl_src=fa:16:3e:80:17:be actions=set_field:0x1->tun_id,goto_table:20
      cookie=0x0, duration=957.926s, table=0, n_packets=6, n_bytes=480, send_flow_rem in_port=1,dl_src=fa:16:3e:6d:b7:d2 actions=set_field:0x1->tun_id,goto_table:20
      cookie=0x0, duration=957.932s, table=0, n_packets=218, n_bytes=17520, send_flow_rem priority=0 actions=goto_table:20
      cookie=0x0, duration=960.842s, table=20, n_packets=232, n_bytes=18696, send_flow_rem priority=0 actions=goto_table:30
      cookie=0x0, duration=960.829s, table=30, n_packets=232, n_bytes=18696, send_flow_rem priority=0 actions=goto_table:40
      cookie=0x0, duration=960.789s, table=40, n_packets=232, n_bytes=18696, send_flow_rem priority=0 actions=goto_table:50
      cookie=0x0, duration=960.638s, table=50, n_packets=232, n_bytes=18696, send_flow_rem priority=0 actions=goto_table:60
      cookie=0x0, duration=960.632s, table=60, n_packets=232, n_bytes=18696, send_flow_rem priority=0 actions=goto_table:80
      cookie=0x0, duration=960.626s, table=80, n_packets=232, n_bytes=18696, send_flow_rem priority=0 actions=goto_table:90
      cookie=0x0, duration=957.802s, table=90, n_packets=0, n_bytes=0, send_flow_rem priority=8192,tun_id=0x1 actions=drop
      cookie=0x0, duration=960.612s, table=90, n_packets=217, n_bytes=17442, send_flow_rem priority=0 actions=goto_table:100
      cookie=0x0, duration=684.604s, table=90, n_packets=15, n_bytes=1254, send_flow_rem priority=16384,tun_id=0x1,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:5,goto_table:100
      cookie=0x0, duration=628.991s, table=90, n_packets=0, n_bytes=0, send_flow_rem tun_id=0x1,dl_dst=fa:16:3e:a6:3d:4a actions=output:5,goto_table:100
      cookie=0x0, duration=957.851s, table=90, n_packets=0, n_bytes=0, send_flow_rem tun_id=0x1,dl_dst=fa:16:3e:6d:b7:d2 actions=output:1
      cookie=0x0, duration=944.060s, table=90, n_packets=0, n_bytes=0, send_flow_rem tun_id=0x1,dl_dst=fa:16:3e:80:17:be actions=output:2
      cookie=0x0, duration=960.605s, table=100, n_packets=217, n_bytes=17442, send_flow_rem priority=0 actions=goto_table:110
      cookie=0x0, duration=957.962s, table=110, n_packets=217, n_bytes=17442, send_flow_rem priority=0 actions=drop

      [root@f-compute-1 fedora]# ovs-ofctl dump-flows br-int -O OpenFlow13
      OFPST_FLOW reply (OF1.3) (xid=0x2):
      cookie=0x0, duration=2227.994s, table=0, n_packets=0, n_bytes=0, send_flow_rem tun_id=0x1,in_port=2 actions=goto_table:20
      cookie=0xa, duration=2524.181s, table=0, n_packets=17, n_bytes=2085, send_flow_rem priority=0 actions=CONTROLLER:65535
      cookie=0x0, duration=2524.063s, table=0, n_packets=483, n_bytes=30429, send_flow_rem dl_type=0x88cc actions=CONTROLLER:65535
      cookie=0x0, duration=2283.578s, table=90, n_packets=0, n_bytes=0, send_flow_rem tun_id=0x1,dl_dst=fa:16:3e:1e:86:8d actions=output:2,goto_table:100
      cookie=0x0, duration=2227.978s, table=90, n_packets=0, n_bytes=0, send_flow_rem priority=16384,tun_id=0x1,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2,goto_table:100

            shague Sam Hague
            aryan@ux.uis.no Aryan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: