A FlatDHCP problem with dnsmasq: nova-dhcpbridge - file not found

asked 2011-11-13 19:16:07 -0500

alexander-a-paschenko gravatar image

Hi all,

My problem is as follows: I can't run Nova Network service in FlatDHCP mode because somehow dnsmasq can't find nova-dhcpbridge script. All I can see in network.log is a stack trace with the bottom line of

dnsmasq: cannot run lease-init script /usr/local/bin/nova-dhcpbridge: No such file or directory

That's kinda weird as long as that file definitely is there and has access rights of 0555. Also when I do 'service openstack-nova-network start' the dhcpbridge.log file doesn't get updated, so apparently the nova-dhcpbridge script itself isn't executed. I run OpenSUSE 11.4 and all the tools (Nova, Glance, Swift) have been installed from 2011-3 tarballs released on September 22nd. I've also updated dnsmasq to the last version present in OpenSUSE repo, but it didn't help. One most interesting thing is that except this (physical) machine I also have a virtual machine with the same operating system and OpenStack components, the configs are just the same (diff gives nothing), and when I try to start Nova Network there, ... then it works! I have no idea of the reasons of such behavior, but investigating logs on that VM shows that Nova Network service does not even try to conduct anything of that DHCP stuff on which the same service fails when run on a physical machine :( That said, here are the pastes:

http://pastebin.com/NZr0N9sw - nova.conf listing http://pastebin.com/vrfy4uMd - Nova Network startup log on physical node (DHCP part) http://pastebin.com/iVKyiAGy - Nova Network startup log on VM (same OS, same OpenStack components, same nova.conf - no DHCP regarding stuff in it)

Thank you very much! Alex

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2011-11-13 19:20:53 -0500

alexander-a-paschenko gravatar image

And by the way, there's no dhcpbridge.log file in the corresponding directory on aforementioned VM at all... Probably that means that FlatDHCPManager doesn't get invoked at all, but then I don't understand why because components and configs are the same...

edit flag offensive delete link more

answered 2011-11-15 09:28:34 -0500

alexander-a-paschenko gravatar image

Nevermind this please, the problem was after all caused by installed (though inactive both in services and GUI) Novell AppArmor. Deinstalling it solved the problem.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-11-13 19:16:07 -0500

Seen: 187 times

Last updated: Nov 15 '11