Ask Your Question
0

Packstack OpenStack multi node with Beryllium

asked 2016-08-31 19:27:23 -0700

Praveenn gravatar image

Hello All,

I have installed Packstack (OpenStack Mitaka) in CentOS7 a multinode setup of 1 All-in-one node(AIO) & 1Compute with ovs & vxlan tunneling. Am trying to integrate ODL (Beryllium 0.4.0) with openstack setup.ODL is running in separtate ubuntu node.Able to see the connection of ovs from my AIO to ODL. But after configuring ml2_conf.ini, am unable to start the neutron server. server.log says couldn't find opendaylight mechanism driver.

Also i tried to install networking_odl from git hub (stable/mitaka) but neutron server is failing. Any inputs or pointers would of great help for me.

Regards,

edit retag flag offensive close merge delete

Comments

What are the errors in neutron server logs when you install networking_odl?

Vishal Thapar ( 2016-09-01 01:11:45 -0700 )edit

Thanks for the reply. Now i 've resolved that neutron server issue by installing networking-odl and using Beryllium 0.4.2. Then i created private net, router & 1 instance, But not able to see these components on ODL gui topology. Any inputs ??

Praveenn ( 2016-09-01 01:27:10 -0700 )edit

ODL Dlux GUI is not expected to show this topology. You will only see your ovs bridges on GUI. If you want to see Openstack topology install the feature odl-ovsdb-ui, then you can see.

90.suman ( 2016-09-01 05:14:05 -0700 )edit

Thanks suman, will check by installing odl-ovsdb-ui.

Praveenn ( 2016-09-01 08:31:17 -0700 )edit

Thanks suman, able to see to topology after installing odl-ovsdb-ui. But ping from an instance on controller node is not going to an instance in compute node. But before odl integrating, ping was fine. Any inputs Please..?

Praveenn ( 2016-09-02 02:02:46 -0700 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-09-08 09:34:05 -0700

90.suman gravatar image

I think you are using Openflow 1.1.Have you uncommented the line ovsdb.of=1.3 in etc/custom.properties file. If no please do that and do all the integration steps again.

edit flag offensive delete publish link more

Comments

sure, will uncomment that ovsdb.of=1.3 in etc/custom.properties file and check once.

Praveenn ( 2016-09-08 10:14:33 -0700 )edit

Thanks Suman, I uncommented the line ovsdb.of.version=1.3 in etc/custom.properties file (no such line ovsd.of=1.3) Did all the integration steps, ping from a vm(on aio host) to vm on compute host is works. Compute host vms are having IP inside vnc console too:)

Praveenn ( 2016-09-08 22:45:38 -0700 )edit

But ODL gui is not showing switches & tunneling in the 2DView section under NetworkVirtualization. Only tunneling can be observed with ovs-vsctl show command output.

Praveenn ( 2016-09-08 22:48:15 -0700 )edit

I think some feature install is missing.May be odl-openflowplugin-all feature install will show you the tunnel on dlux gui. Otherwise your integration is fine.

90.suman ( 2016-09-09 00:47:06 -0700 )edit

Oh ok. How to confirm that odl integration is successful ?

Praveenn ( 2016-09-09 00:58:29 -0700 )edit
0

answered 2016-09-08 05:02:19 -0700

Praveenn gravatar image

Hi Suman, Thanks for quick reply. Actually an openstack instance on aio host is not pinging to another instance on compute host. But instances on same aio host are able to ping to each other and able to reach internet. And openstack instances on compute node are having IP as seen in Openstack dashboard but no IP inside vnc console by ifconfig. But tunneling is displayed in odl gui.

ML2CONF.INI contents:

[DEFAULT]
[ml2]
type_drivers = vxlan
tenant_network_types = vxlan
mechanism_drivers=opendaylight
path_mtu = 0
[ml2_type_flat]
[ml2_type_geneve]
[ml2_type_gre]
[ml2_type_vlan]
[ml2_type_vxlan]
vni_ranges =1001:2000
vxlan_group = 239.1.1.2
[securitygroup]
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
enable_security_group = True
[ml2_odl]
username=admin
password=admin
url=http://172.27.3.176:8080/controller/nb/v2/neutron

Please see the odl screen captures at: https://ask.openstack.org/en/question...

Output of ovs-vsctl show on AIO node:

 [root@openstack-aio ~(keystone_admin)]# ovs-vsctl show
    7d87e2fe-a1e9-404e-bdba-6f3045edf0ac
        Manager "tcp:172.27.3.176:6640"
            is_connected: true
        Bridge br-ex
            Port "qg-9ec3ca45-f4"
                Interface "qg-9ec3ca45-f4"
                    type: internal
            Port br-ex
                Interface br-ex
                    type: internal
            Port "eth0"
                Interface "eth0"
            Port phy-br-ex
                Interface phy-br-ex
                    type: patch
                    options: {peer=int-br-ex}
        Bridge br-tun
            fail_mode: secure
            Port br-tun
                Interface br-tun
                    type: internal
            Port "vxlan-ac1b0375"
                Interface "vxlan-ac1b0375"
                    type: vxlan
                    options: {df_default="true", in_key=flow, local_ip="172.27.3.231", out_key=flow, remote_ip="172.27.3.117"}
            Port patch-int
                Interface patch-int
                    type: patch
                    options: {peer=patch-tun}
        Bridge br-int
            Controller "tcp:172.27.3.176:6653"
                is_connected: true
            fail_mode: secure
            Port "tap75cabadf-e8"
                tag: 1
                Interface "tap75cabadf-e8"
                    type: internal
            Port "qr-614d91f5-f5"
                tag: 3
                Interface "qr-614d91f5-f5"
                    type: internal
            Port "tapad5d2902-8a"
                tag: 2
                Interface "tapad5d2902-8a"
                    type: internal
            Port "tap257dbdcc-e9"
                Interface "tap257dbdcc-e9"
            Port "qr-840ea5cf-fa"
                tag: 2
                Interface "qr-840ea5cf-fa"
                    type: internal
            Port "vxlan-172.27.3.117"
                Interface "vxlan-172.27.3.117"
                    type: vxlan
                    options: {key=flow, local_ip="172.27.3.231", remote_ip="172.27.3.117"}
            Port "tap84c4b6ea-a2"
                tag: 3
                Interface "tap84c4b6ea-a2"
                    type: internal
            Port patch-tun
                Interface patch-tun
                    type: patch
                    options: {peer=patch-int}
            Port br-int
                Interface br-int
                    type: internal
            Port int-br-ex
                Interface int-br-ex
                    type: patch
                    options: {peer=phy-br-ex}
            Port "tap2b5958d8-f2"
                Interface "tap2b5958d8-f2"
        ovs_version: "2.5.0"

Output of ovs-vsctl show on Compute node:

[root@openstack-compute ~(keystone_admin)]# ovs-vsctl show
bdf94f07-4a61-46de-857c-a0a56ab44cb3
    Manager "tcp:172.27.3.176:6640"
        is_connected: true
    Bridge br-tun
        fail_mode: secure
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
        Port "vxlan-ac1b03e7"
            Interface "vxlan-ac1b03e7"
                type: vxlan
                options: {df_default="true", in_key=flow, local_ip="172.27.3.117", out_key=flow, remote_ip="172.27.3.231"}
    Bridge br-int
        Controller "tcp:172.27.3.176:6653"
            is_connected: true
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "vxlan-172.27.3.231"
            Interface "vxlan-172.27.3.231"
                type: vxlan
                options: {key=flow, local_ip="172.27.3.117", remote_ip="172.27.3.231"}
        Port "tap20781d20-20"
            Interface "tap20781d20-20"
        Port "tapa1bb9175-b8"
            Interface "tapa1bb9175-b8"
    ovs_version: "2.5.0"
edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2016-08-31 19:27:23 -0700

Seen: 212 times

Last updated: Sep 08 '16