Ask Your Question
0

Neutron, VxLan , DHCP

asked 2014-06-12 04:10:25 -0500

vasanth-rajasekaran gravatar image

updated 2014-06-12 04:29:06 -0500

Controller, Neutron & Compute node OS: Centos 6.4 Final

Installed Openstack Version: Havana with OVS plugin/Vxlan Tunnel

Problem: IP address is not assigned to VM via DHCP of Neutron node.

VM sends DHCP Discover to br-int of compute node, but this packet doesn't come on the br-tun interface.

Need help to rectify this issue

Controller Configuration: /etc/nova/nova.conf :- http://paste.openstack.org/show/83778/ /etc/neutron/neutron.conf :- http://paste.openstack.org/show/83779/ /etc/neutron/plugin/openvswitch/ovs_neutron_plugin.ini :- http://paste.openstack.org/show/83780/

Neutron Configuration: /etc/neutron/neutron.conf :- http://paste.openstack.org/show/83781/ /etc/neutron/l3_agent.ini :- http://paste.openstack.org/show/83782/ /etc/neutron/dhcp_agent.ini :- http://paste.openstack.org/show/83783/ /etc/neutron/plugin/openvswitch/ovs_neutron_plugin.ini :- http://paste.openstack.org/show/83784/

Compute Configuration: /etc/nova/nova.conf :- http://paste.openstack.org/show/83786/ /etc/neutron/neutron.conf :- http://paste.openstack.org/show/83787/ /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini :- http://paste.openstack.org/show/83788/

edit retag flag offensive close merge delete

Comments

What is uname -a ouput on Controller, Neutron & Compute node ?

dbaxps gravatar imagedbaxps ( 2014-06-12 04:27:13 -0500 )edit

[root@controller env_Var(keystone_veryx)]# uname -a Linux controller 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 23:32:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

[root@neutron ~]# uname -a Linux neutron 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 23:32:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

[root@compute1 nova]# uname -a Linux compute1 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 23:32:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

vasanth-rajasekaran gravatar imagevasanth-rajasekaran ( 2014-06-12 04:31:42 -0500 )edit
1

Openstack kernel (2.6.32-358.123.2.openstack.el6.x86_64) should have working VXLAN support.
To install kernel :-
$ yum install -y http://rdo.fedorapeople.org/rdo-relea...
$ yum -y update

dbaxps gravatar imagedbaxps ( 2014-06-12 04:44:24 -0500 )edit

VXLAN module is already attached with the Openvswitch

[root@neutron ~]# lsmod | grep openv openvswitch 48579 0 vxlan 25102 1 openvswitch [root@neutron ~]#

I tried to execute the command you have said above, which resulted the following errors [root@neutron ~]# yum install -y http://rdo.fedorapeople.org/rdo-release.rpm (http://rdo.fedorapeople.org/rdo-relea...) Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64 (https://mirrors.fedoraproject.org/met...) error was 14: PYCURL ERROR 7 - "couldn't connect to host" * base: centos.aol.in * epel: mirror.premi.st * extras: centos.aol.in * updates: centos-hcm.viettelidc.com.vn http://centos.aol.in/6.5/os/x86_64/repodata/repomd.xml (http://centos.aol.in/6.5/os/x86_64/re...) : [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" Trying other mirror. http://centos.excellmedia.net/6.5/os ...(more)

vasanth-rajasekaran gravatar imagevasanth-rajasekaran ( 2014-06-12 04:59:13 -0500 )edit

Install EPEL separatly

dbaxps gravatar imagedbaxps ( 2014-06-12 05:08:04 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
-1

answered 2014-06-12 05:03:08 -0500

dbaxps gravatar image
Openstack kernel (2.6.32-358.123.2.openstack.el6.x86_64) should have working VXLAN support.
To install kernel :-
$ sudo yum install -y http://rdo.fedorapeople.org/rdo-release.rpm
$ sudo yum -y update
edit flag offensive delete link more

Comments

I have excuted teh yum update in my compute and neutron nodes. After doing this, neutron-dhcp-agent and neutron-l3-agent is failing with the following error.

[root@neutron ~]# tail -f /var/log/neutron/dhcp-agent.log 2014-06-13 16:58:29.407 4341 TRACE neutron.agent.dhcp_agent rpc_amqp.get_connection_pool(conf, Connection)) 2014-06-13 16:58:29.407 4341 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/amqp.py", line 575, in call 2014-06-13 16:58:29.407 4341 TRACE neutron.agent.dhcp_agent rv = list(rv) 2014-06-13 16:58:29.407 4341 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/amqp.py", line 540, in __iter__ 2014-06-13 16:58:29.407 4341 TRACE neutron.agent.dhcp_agent raise result 2014-06-13 16:58:29.407 4341 TRACE neutron.agent.dhcp_agent RemoteError: Remote error: OperationalError (OperationalError) (1054, "Unknown column 'subnets_1.ipv6_ra_mode' in 'field list'") 'SELECT networks.tenant_id ...(more)

vasanth-rajasekaran gravatar imagevasanth-rajasekaran ( 2014-06-13 06:29:29 -0500 )edit

2014-06-13 16:58:29.409 4341 INFO neutron.agent.dhcp_agent [req-2e12062a-71de-42dd-afc3-cf2bddd110c5 None] Synchronizing state complete 2014-06-13 16:58:29.409 4341 DEBUG neutron.openstack.common.lockutils [req-2e12062a-71de-42dd-afc3-cf2bddd110c5 None] Semaphore / lock released "sync_state" inner /usr/lib/python2.6/site-packages/neutron/openstack/common/lockutils.py:252 2014-06-13 16:58:39.410 4341 DEBUG neutron.openstack.common.lockutils [-] Got semaphore "dhcp-agent" lock /usr/lib/python2.6/site-packages/neutron/openstack/common/lockutils.py:168 2014-06-13 16:58:39.410 4341 DEBUG neutron.openstack.common.lockutils [-] Got semaphore / lock "sync_state" inner /usr/lib/python2.6/site-packages/neutron/openstack/common/lockutils.py:248

vasanth-rajasekaran gravatar imagevasanth-rajasekaran ( 2014-06-13 06:30:44 -0500 )edit

What reports now ?
$ uname -a
Source admin credentials and run :-
$ ip netns list

dbaxps gravatar imagedbaxps ( 2014-06-13 07:11:15 -0500 )edit

[root@neutron ~]# uname -a Linux neutron 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 23:32:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

The kernal version hasn't changed and it remains same.

vasanth-rajasekaran gravatar imagevasanth-rajasekaran ( 2014-06-13 08:01:31 -0500 )edit

If you rebooted system (after repos install && yum -y update) and still have kernel with no namespaces patch. It means that support on 6.4 has been interrupted. I cannot help here

dbaxps gravatar imagedbaxps ( 2014-06-13 08:19:24 -0500 )edit

Your Answer

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

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-06-12 04:10:25 -0500

Seen: 724 times

Last updated: Jun 12 '14