Ask Your Question
0

VM instances not getting IP address

asked 2014-03-28 09:34:42 -0600

joshua gravatar image

I have configured Openstack with two node setup. Controller and Network on a single server and Compute on another server. I have used ubuntu12.04 and did package install of openstack. I have configured neutron openvswitch plugin and I have configured vlan configuration as the tunnel type

It is possible to create the VMs.

I am able to launch vms.

I am doing tcpdump on br-int and br-ext of Compute node and Controller Node

The DHCP boot message is going from the VM to the Controller

The Neutron DHCP is not offering the DHCP address.

How do i resolve this issue

edit retag flag offensive close merge delete

Comments

I have several F20 clusters with similar configs all of them are working fine. Dnsmasq is responsible for Neutron handling floating IPs. Here is updated Kashyap's Neutron config files . Setup procedure itself is here

Tracking DHCP lease by instances :

Log file /var/log/neutron/dnsmasq.log (renewing lease in loop all the time) :-

Mar 16 23:13:05 dnsmasq-dhcp[26111]: 933653313 sent size: 1 option: 53 message-type 5

Mar 16 23:13:05 dnsmasq-dhcp[26111]: 933653313 sent size: 4 option: 54 server-identifier 40.0.0.3

Mar 16 23:13:05 dnsmasq-dhcp[26111]: 933653313 sent size: 4 option: 51 lease-time 2m

Mar 16 23:13:05 dnsmasq-dhcp[26111]: 933653313 sent size: 4 option: 58 T1 56s

Mar 16 23:13:05 dnsmasq-dhcp[26111]: 933653313 sent size: 4 option: 59 T2 1m41s

Mar 16 23:13:05 dnsmasq-dhcp[26111]: 933653313 sent size: 4 option: 1 netmask 255.255.255.0 ...(more)

dbaxps gravatar imagedbaxps ( 2014-03-29 01:42:15 -0600 )edit

Please post

netstat -lntp | grep 9696

on Controller

dbaxps gravatar imagedbaxps ( 2014-03-29 02:03:27 -0600 )edit

3 answers

Sort by ยป oldest newest most voted
0

answered 2014-10-27 00:47:13 -0600

Hari gravatar image

Try making up and down the bridge and interface associated to it. It worked for me.

ifdown br-ex ; ifup br-ex
ifdown eth2 ; ifup eth2
edit flag offensive delete link more
0

answered 2014-03-31 04:49:10 -0600

joshua gravatar image

Hi, I had two issues.

I had connected the eth port 2 to the Switch when I connect it to the Switch the DHCP did not happen. I dont know why? Can somebody answer as it works when I connect it back to back

Another issue is I had added the Floodlight controller to the br-int. When I add that the DHCP issue comes

edit flag offensive delete link more
0

answered 2014-03-29 04:00:40 -0600

sateesh gravatar image

Hi,

I had a similar issue, after that I have followed the below url which is for grizzly but can be used same for Havana also..

https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide (https://github.com/mseknibilel/OpenSt...)

Check dnsmasq service is running? Please provide a ovs-vsctl show Ensure that all services are neutron-* in neutron server as well compute Ifconfig also pastit here

regards Sateesh

edit flag offensive delete link more

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

2 followers

Stats

Asked: 2014-03-28 09:34:42 -0600

Seen: 4,721 times

Last updated: Oct 27 '14