Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

Beryllium integration with OpenStack liberty

Hi there! I am integrating ODL Be with OpenStack Liberty. ODL was able to create networks but while launching instance i'm getting an error port binding failed. Please help me with the issue and here are further details

ovs-vsctl show on network node

1991b947-85a7-43fe-9610-753e86c0db39
    Manager "tcp:172.16.0.1:6640"
        is_connected: true
    Bridge br-int
        Controller "tcp:172.16.0.1:6653"
        Controller "tcp:172.16.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port "qg-fba10451-e1"
            Interface "qg-fba10451-e1"
                type: internal
        Port "tapeb022c89-38"
            Interface "tapeb022c89-38"
                type: internal
        Port br-int
            Interface br-int
                type: internal
        Port "tap9511234f-3e"
            Interface "tap9511234f-3e"
                type: internal
        Port "qr-81678afc-6d"
            Interface "qr-81678afc-6d"
                type: internal
        Port "vxlan-192.168.57.4"
            Interface "vxlan-192.168.57.4"
                type: vxlan
                options: {key=flow, local_ip="192.168.57.6", remote_ip="192.168.57.4"}
    Bridge br-ex
        Controller "tcp:172.16.0.1:6633"
            is_connected: true
        Port br-ex
            Interface br-ex
                type: internal
        Port "eth0"
            Interface "eth0"
    ovs_version: "2.4.0"

on compute node

e7a43ca6-3925-4e9a-bed0-f64d6eb73551
    Manager "tcp:172.16.0.1:6640"
        is_connected: true
    Bridge br-int
        Controller "tcp:172.16.0.1:6633"
            is_connected: true
        Controller "tcp:172.16.0.1:6653"
            is_connected: true
        fail_mode: secure
        Port "vxlan-192.168.57.6"
            Interface "vxlan-192.168.57.6"
                type: vxlan
                options: {key=flow, local_ip="192.168.57.4", remote_ip="192.168.57.6"}
        Port br-int
            Interface br-int
                type: internal
    ovs_version: "2.4.0"

networks on ODL

{
   "networks" : [ {
      "id" : "1f6b8960-b52a-4349-b528-9f733caa2d21",
      "tenant_id" : "20a06d61fb1b43b7aa067c7867cbe59a",
      "name" : "private",
      "admin_state_up" : true,
      "shared" : false,
      "router:external" : false,
      "provider:network_type" : "vxlan",
      "provider:segmentation_id" : "25",
      "status" : "ACTIVE",
      "segments" : [ ]
   }, {
      "id" : "b5ef05ed-66be-4287-a8f2-8944a9e5af33",
      "tenant_id" : "7d0ba03260174e94b9357437bf2e2962",
      "name" : "public",
      "admin_state_up" : true,
      "shared" : true,
      "router:external" : true,
      "provider:network_type" : "flat",
      "provider:physical_network" : "external",
      "segments" : [ ]
   }

Here is the tail of neutron server log

2016-03-16 08:29:19.584 869 ERROR neutron.plugins.ml2.managers [req-40c54eb8-c405-4831-949a-9dafcdeb344f - - - - -] Mechanism driver opendaylight failed in bind_port
2016-03-16 08:29:19.584 869 ERROR neutron.plugins.ml2.managers Traceback (most recent call last):
2016-03-16 08:29:19.584 869 ERROR neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 720, in _bind_port_level
2016-03-16 08:29:19.584 869 ERROR neutron.plugins.ml2.managers     driver.obj.bind_port(context)
2016-03-16 08:29:19.584 869 ERROR neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/opendaylight/driver.py", line 92, in bind_port
2016-03-16 08:29:19.584 869 ERROR neutron.plugins.ml2.managers     self.odl_drv.bind_port(context)

Here is Tail of ODL Log

2016-03-16 09:14:35,402 | WARN  | entLoopGroup-7-6 | ListDeserializer                 | 262 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.7.0.Beryllium | Problem during reading table feature property. Skipping unknown feature property: msgVersion: 4 objectClass: org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry msgType: 1 oxm_field: 31 experimenterID: null.If more information is needed, set org.opendaylight.openflowjava do DEBUG log level.

Beryllium integration with OpenStack liberty

Hi there! I am integrating ODL Be with OpenStack Liberty. ODL was able to create networks but while launching instance i'm getting an error port binding failed. Please help me with the issue and here are further details

ovs-vsctl show on network node

1991b947-85a7-43fe-9610-753e86c0db39
    Manager "tcp:172.16.0.1:6640"
        is_connected: true
    Bridge br-int
        Controller "tcp:172.16.0.1:6653"
        Controller "tcp:172.16.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port "qg-fba10451-e1"
            Interface "qg-fba10451-e1"
                type: internal
        Port "tapeb022c89-38"
            Interface "tapeb022c89-38"
                type: internal
        Port br-int
            Interface br-int
                type: internal
        Port "tap9511234f-3e"
            Interface "tap9511234f-3e"
                type: internal
        Port "qr-81678afc-6d"
            Interface "qr-81678afc-6d"
                type: internal
        Port "vxlan-192.168.57.4"
            Interface "vxlan-192.168.57.4"
                type: vxlan
                options: {key=flow, local_ip="192.168.57.6", remote_ip="192.168.57.4"}
    Bridge br-ex
        Controller "tcp:172.16.0.1:6633"
            is_connected: true
        Port br-ex
            Interface br-ex
                type: internal
        Port "eth0"
            Interface "eth0"
    ovs_version: "2.4.0"

on compute node

e7a43ca6-3925-4e9a-bed0-f64d6eb73551
    Manager "tcp:172.16.0.1:6640"
        is_connected: true
    Bridge br-int
        Controller "tcp:172.16.0.1:6633"
            is_connected: true
        Controller "tcp:172.16.0.1:6653"
            is_connected: true
        fail_mode: secure
        Port "vxlan-192.168.57.6"
            Interface "vxlan-192.168.57.6"
                type: vxlan
                options: {key=flow, local_ip="192.168.57.4", remote_ip="192.168.57.6"}
        Port br-int
            Interface br-int
                type: internal
    ovs_version: "2.4.0"

networks on ODL

{
   "networks" : [ {
      "id" : "1f6b8960-b52a-4349-b528-9f733caa2d21",
      "tenant_id" : "20a06d61fb1b43b7aa067c7867cbe59a",
      "name" : "private",
      "admin_state_up" : true,
      "shared" : false,
      "router:external" : false,
      "provider:network_type" : "vxlan",
      "provider:segmentation_id" : "25",
      "status" : "ACTIVE",
      "segments" : [ ]
   }, {
      "id" : "b5ef05ed-66be-4287-a8f2-8944a9e5af33",
      "tenant_id" : "7d0ba03260174e94b9357437bf2e2962",
      "name" : "public",
      "admin_state_up" : true,
      "shared" : true,
      "router:external" : true,
      "provider:network_type" : "flat",
      "provider:physical_network" : "external",
      "segments" : [ ]
   }

Here is the tail of neutron server log

2016-03-16 08:29:19.584 869 ERROR neutron.plugins.ml2.managers [req-40c54eb8-c405-4831-949a-9dafcdeb344f - - - - -] Mechanism driver opendaylight failed in bind_port
2016-03-16 08:29:19.584 869 ERROR neutron.plugins.ml2.managers Traceback (most recent call last):
2016-03-16 08:29:19.584 869 ERROR neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 720, in _bind_port_level
2016-03-16 08:29:19.584 869 ERROR neutron.plugins.ml2.managers     driver.obj.bind_port(context)
2016-03-16 08:29:19.584 869 ERROR neutron.plugins.ml2.managers   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/opendaylight/driver.py", line 92, in bind_port
2016-03-16 08:29:19.584 869 ERROR neutron.plugins.ml2.managers     self.odl_drv.bind_port(context)

Here is Tail of ODL Log

2016-03-16 09:14:35,402 | WARN  | entLoopGroup-7-6 | ListDeserializer                 | 262 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.7.0.Beryllium | Problem during reading table feature property. Skipping unknown feature property: msgVersion: 4 objectClass: org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry msgType: 1 oxm_field: 31 experimenterID: null.If more information is needed, set org.opendaylight.openflowjava do DEBUG log level.

[ Updated ]

Karaf logs

karaf.log https://gist.github.com/harsha-hari/a4180668893fa4fe577d

karf.log.1 https://gist.github.com/harsha-hari/8bf59fd334df9a62a58e

karaf.log.2 https://gist.github.com/harsha-hari/549a1fac91f6a92ea224

Neutron Server log

Neutron-server.log https://gist.github.com/harsha-hari/8fe8596134e0e04702e2

Nova compute log

Nova-compute.log https://gist.github.com/harsha-hari/dec07b6371fdd1b77549

ML2 Configurations

ML2 Conf @ Controller https://gist.github.com/harsha-hari/8f9ee45711b6f964680a

ML2 Conf @ Compute https://gist.github.com/harsha-hari/21374af3c694a7fd16d4

ML2 Conf @ Network https://gist.github.com/harsha-hari/d6473a15ec3fd22fe35d