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

Asked by Alexander Paschenko

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

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Alexander Paschenko
Solved:
Last query:
Last reply:
Revision history for this message
Alexander Paschenko (alexander-a-paschenko) said :
#1

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...

Revision history for this message
Alexander Paschenko (alexander-a-paschenko) said :
#2

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.