Ask Your Question
0

Virtual Machnies didn't get an ip on my compute node [closed]

asked 2014-07-18 10:45:07 -0500

sondi gravatar image

Hello,

i get the following error message on my screen q-dhcp http://paste.openstack.org/show/87143/ The Problem is, that the VM of my compute node doesn't get an ip.

My installation is an devstack installation see below the link with the local.conf files.

Local.conf files from the compute and controller http://paste.openstack.org/show/87142/

OVS: http://paste.openstack.org/show/87145/

has anybody an idea, what my fault is? I am not sure, perhaps i missed some values in my local.conf?

Thank's

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sondi
close date 2014-07-23 08:48:30.518884

Comments

Per http://paste.openstack.org/show/87143/ your neutron-dhcp-agent is not running.
$ neutron agent-list
$ ifconfig
$ ovs-vsctl show
Post dhcp_agent.ini

dbaxps gravatar imagedbaxps ( 2014-07-18 11:05:09 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-07-18 12:52:52 -0500

sondi gravatar image

First thank's for your fast answer. This is the result of the neutron agent-list call. I think that the dhcp-agent ist running on my controller (tb23) is it right? http://paste.openstack.org/show/87168/ dhcp_agent.ini: http://paste.openstack.org/show/87169/

edit flag offensive delete link more

Comments

You wrote: think that the dhcp-agent ist running on my controller (tb23) is it right? - No. You may check via $ps -ef | grep neutron-dhcp-agent

dhcp_agent.ini
[DEFAULT]
debug = False
resync_interval = 30
interface_driver =neutron.agent.linux.interface.OVSInterfaceDriver
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq    this string is missing
use_namespaces = True
enable_isolated_metadata = False
enable_metadata_network = False
dhcp_delete_namespaces = False
root_helper=sudo neutron-rootwrap /etc/neutron/rootwrap.conf
state_path=/var/lib/neutron
dbaxps gravatar imagedbaxps ( 2014-07-18 13:20:28 -0500 )edit
1

I checked it with on tb22 (controller) $ ps -ef | grep neutron-dhcp-dnsmasq stack 31577 30680 0 13:31 pts/0 00:00:00 grep --color=auto neutron-dhcp-dnsmasq

and compute-node: stack 20517 20440 0 13:34 pts/5 00:00:00 grep --color=auto neutron-dhcp-dnsmasq

is there something wrong in my local.conf? or is it normal that i have to post-configurate the ini files?

sondi gravatar imagesondi ( 2014-07-21 06:35:20 -0500 )edit

Verify status of service neutron-dhcp-agent
$ neutron agent-list
Check dnsmasq to be running :-
$ ps -ef | grep dnsmasq
Fix dhcp_agent.ini :-
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq

dbaxps gravatar imagedbaxps ( 2014-07-21 07:24:02 -0500 )edit

sudo ps -ef | grep dnsmasq nobody 29824 1 0 15:16 ? 00:00:00 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tap56e38eeb-29 --except-interface=lo --pid-file=/opt/stack/data/neutron/dhcp/da64f050-817f-4a07-9c6a-248bd907faf2/pid --dhcp-hostsfile=/opt/stack/data/neutron/dhcp/da64f050-817f-4a07-9c6a-248bd907faf2/host --addn-hosts=/opt/stack/data/neutron/dhcp/da64f050-817f-4a07-9c6a-248bd907faf2/addn_hosts --dhcp-optsfile=/opt/stack/data/neutron/dhcp/da64f050-817f-4a07-9c6a-248bd907faf2/opts --leasefile-ro --dhcp-range=set:tag0,10.0.0.0,static,86400s --dhcp-lease-max=16777216 --conf-file= --domain=openstacklocal stack 31009 9762 0 15:22 pts/2 00:00:00 grep --color=auto dnsmasq

it dosen't help :(

sondi gravatar imagesondi ( 2014-07-21 08:22:50 -0500 )edit

is it right that my Vlan didn't tag the Frames? http://paste.openstack.org/show/87408/

This is a part of the tcpdump after i reboot a VM on TB23. On TB 22 i get nothing.

sondi gravatar imagesondi ( 2014-07-21 08:33:52 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-07-18 10:45:07 -0500

Seen: 317 times

Last updated: Jul 18 '14