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

Beryllium RC0: Data did not pass validation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • unspecified
    • None
    • Operating System: Linux
      Platform: All

    • 5056

      Hi,

      I tried deploy OpenStack Liberty together with OpenDaylight Beryllium RC0 [1] and networking_odl from stable/liberty branch.
      I use one controller and compute.
      I tried create two networks
      internal: 192.168.111.0/24 vxlan segmentation
      public: 172.16.0.0/24 flat

      Required flows are not created:

      compute:
      root@node-10:~# ovs-vsctl show
      c8a6eb41-4778-4598-91b2-55cc3decd00e
      Manager "tcp:192.168.0.4:6640"
      is_connected: true
      Bridge br-int
      Controller "tcp:192.168.0.4:6653"
      is_connected: true
      fail_mode: secure
      Port "tap28438535-61"
      Interface "tap28438535-61"
      Port "vxlan-192.168.2.2"
      Interface "vxlan-192.168.2.2"
      type: vxlan
      options:

      {key=flow, local_ip="192.168.2.1", remote_ip="192.168.2.2"}

      Port patch-ext
      Interface patch-ext
      type: patch
      options:

      {peer=patch-int}
      Port br-int
      Interface br-int
      type: internal
      Bridge br-ex
      Controller "tcp:192.168.0.4:6653"
      is_connected: true
      fail_mode: secure
      Port patch-int
      Interface patch-int
      type: patch
      options: {peer=patch-ext}
      Port "p_aec4d661-0"
      Interface "p_aec4d661-0"
      type: internal
      Port br-ex
      Interface br-ex
      type: internal
      ovs_version: "2.3.1"


      p_aec4d661-0 - it is port created by me which connect ovs bridge with linux bridge where network interface from public network is assigned

      root@node-10:~# ovs-ofctl -O OpenFlow13 dump-flows br-int
      OFPST_FLOW reply (OF1.3) (xid=0x2):
      cookie=0x0, duration=1318.816s, table=20, n_packets=0, n_bytes=0, priority=1024,arp,tun_id=0x2,arp_tpa=192.168.111.3,arp_op=1 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:bd:8d:23>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:0xfa163ebd8d23->NXM_NX_ARP_SHA[],load:0xc0a86f03->NXM_OF_ARP_SPA[],IN_PORT
      cookie=0x0, duration=1319.415s, table=40, n_packets=0, n_bytes=0, priority=61010,arp,arp_sha=fa:16:3e:bd:8d:23 actions=goto_table:50


      controller:
      root@node-8:~# ovs-vsctl show
      9401fbd9-6941-4047-bbbe-d148d1c84cda
      Manager "tcp:192.168.0.4:6640"
      is_connected: true
      Bridge br-int
      Controller "tcp:192.168.0.4:6653"
      is_connected: true
      fail_mode: secure
      Port br-int
      Interface br-int
      type: internal
      Port "tap272e5977-51"
      Interface "tap272e5977-51"
      type: internal
      Port patch-ext
      Interface patch-ext
      type: patch
      options: {peer=patch-int}

      Port "vxlan-192.168.2.1"
      Interface "vxlan-192.168.2.1"
      type: vxlan
      options:

      {key=flow, local_ip="192.168.2.2", remote_ip="192.168.2.1"}

      Bridge br-ex
      Controller "tcp:192.168.0.4:6653"
      is_connected: true
      fail_mode: secure
      Port "p_aec4d661-0"
      Interface "p_aec4d661-0"
      type: internal
      Port patch-int
      Interface patch-int
      type: patch
      options:

      {peer=patch-ext}

      Port br-ex
      Interface br-ex
      type: internal
      ovs_version: "2.3.1"

      root@node-8:~# ovs-ofctl -O OpenFlow13 dump-flows br-int
      OFPST_FLOW reply (OF1.3) (xid=0x2):
      cookie=0x0, duration=2349.394s, table=0, n_packets=3425, n_bytes=209442, priority=0 actions=goto_table:20
      cookie=0x0, duration=2349.396s, table=0, n_packets=700, n_bytes=79100, dl_type=0x88cc actions=CONTROLLER:65535
      cookie=0x0, duration=1213.834s, table=20, n_packets=0, n_bytes=0, priority=1024,arp,tun_id=0x2,arp_tpa=192.168.111.3,arp_op=1 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:bd:8d:23>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:0xfa163ebd8d23->NXM_NX_ARP_SHA[],load:0xc0a86f03->NXM_OF_ARP_SPA[],IN_PORT

      After vm is created it doesn't get address from dhcp, because of missing flows.

      Recently I deployed environments with this snapshot version [2] and doesn't observe any errors.
      I'm using this set of features: config,standard,region,package,kar,ssh,management,odl-ovsdb-openstack,odl-restconf-all,odl-aaa-authn,odl-dlux-all
      Also ovsdb.l3.fwd.enabled is set to yes.

      Regards,
      Michal

      [1] https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium-RC0/distribution-karaf-0.4.0-Beryllium-RC0.tar.gz
      [2] https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf/0.4.0-SNAPSHOT/distribution-karaf-0.4.0-20160118.091622-3555.tar.gz

            Unassigned Unassigned
            michal@skalski.org Michal Skalski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: