In Essex, I've seen issues like this if your fixed_ips table in the nova database has multiple entries for the same address (even if some of those entries are marked delete=true, though this has been fixed in Folsom).  If you feel confortable, take a look at the fixed_ips table to see if anything looks odd.  The dnsmasq conf files are generated directly from this table.<div>

<br></div><div>Dan</div><div><br><br><div class="gmail_quote">On Sun, Jul 22, 2012 at 1:45 PM, Wolfgang Hennerbichler <span dir="ltr"><<a href="mailto:wolfgang.hennerbichler@risc-software.at" target="_blank">wolfgang.hennerbichler@risc-software.at</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi openstack-guys,<br>
<br>
using the latest essex release from ubuntu packages, I see a weird nova-network behaviour (flat networking):<br>
<br>
nova.conf:<br>
--flat_interface=eth0<br>
--flat_network_bridge=bridge_130<br>
--flat_network_dhcp_start=192.168.32.130<br>
--flat_injected=False<br>
<br>
nova-network runs on a different host as nova-compute.<br>
when I provision a VM, it all looks good (no errors in the logs), but the VM doesn't get an IP address. I've tcpdumped and verfied that the dhcp request reaches the correct interface of nova-network. now looking into dnsmasq I found this in the syslog:<br>


<br>
Jul 22 22:29:27 localhost dnsmasq-dhcp[3107]: read /var/lib/nova/networks/nova-bridge_130.conf<br>
Jul 22 22:29:50 localhost dnsmasq-dhcp[3107]: DHCPDISCOVER(bridge_130) 192.168.122.96 fa:16:3e:60:92:a6 no address available<br>
<br>
bummer. so I checked to see why this happens, and it turns out, that /var/lib/nova/networks/nova-bridge_130.conf is empty. I assume there should be the mac to IP mapping, written by nova-network, but although the file exists, it doesn't have content. nova-network doesn't complain about any issues with this file, the file system permissions allow the nova-user to write there, so I do not quite know how to handle this.<br>


<br>
Any hints would be very welcome.<br>
<br>
Thanks a lot<br>
wolfgang<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Dan Wendlandt <div>Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br><div>twitter: danwendlandt<br>

~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></div></div><br>
</div>