[Openstack] Question about Flat DHCP networking

Eugene Kirpichov ekirpichov at gmail.com
Mon Aug 20 21:46:46 UTC 2012


Hi,

I found the code. It's a dnsmasq dhcp-script called by dnsmasq for
various events, it resides in nova/bin/nova-dhcpbridge and it, among
other things, calls release_fixed_ip when the lease expires.

On Sat, Aug 18, 2012 at 1:01 AM, Aaron Rosen <arosen at nicira.com> wrote:
> Hi Eugene,
>
> I'm not sure I have not looked at the code (I'm guessing that it probably
> keeps the lease around since it knows the VM is still active instead of
> recycling the ip address). Though this is just a guess. You should look at
> the implementation details if you are curious.
>
> Aaron
>
>
> On Sat, Aug 18, 2012 at 3:48 AM, Eugene Kirpichov <ekirpichov at gmail.com>
> wrote:
>>
>> Thanks. And how will n-net react?
>>
>>
>>
>> 18.08.2012, в 0:43, Aaron Rosen <arosen at nicira.com> написал(а):
>>
>> Hi Eugene,
>>
>> This means that if a VM stops it's DHCP client that nova-network will be
>> aware of this since the VM will not attempt to renew it's DHCP lease.
>>
>> Aaron
>>
>> On Fri, Aug 17, 2012 at 5:58 PM, Eugene Kirpichov <ekirpichov at gmail.com>
>> wrote:
>>>
>>> Hi,
>>>
>>> The documentation
>>>
>>> http://docs.openstack.org/diablo/openstack-compute/admin/content/configuring-flat-dhcp-networking.html
>>> has the passage: "The nova-network service will track leases and
>>> releases in the database so it knows if a VM instance has stopped
>>> properly configuring via DHCP"
>>>
>>> Can someone briefly explain me what this means, if possible with rough
>>> pointers to code?
>>> I don't recall nova noticing when my VM actually stopped properly
>>> configuring via DHCP.
>>>
>>> --
>>> Eugene Kirpichov
>>> http://www.linkedin.com/in/eugenekirpichov
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to     : openstack at lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>



-- 
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov




More information about the Openstack mailing list