openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #15996
Re: Question about Flat DHCP networking
Heh, that's an article by my colleague Piotr Siwczak, which I already
read very thouroughly during the review process - but thanks ;)
Actually I already found the answer to my question and added it to the
documentation (when the codereview is completed) - it was related to
nova-dhcpbridge script.
On Mon, Aug 20, 2012 at 10:21 PM, hitesh wadekar
<hitesh.wadekar@xxxxxxxxx> wrote:
> May be this article will help.
>
> http://www.mirantis.com/blog/openstack-networking-flatmanager-and-flatdhcpmanager/
>
> Thanks,
> Hitesh
>
>
> On Tue, Aug 21, 2012 at 3:16 AM, Eugene Kirpichov <ekirpichov@xxxxxxxxx>
> wrote:
>>
>> 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@xxxxxxxxxx> 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@xxxxxxxxx>
>> > wrote:
>> >>
>> >> Thanks. And how will n-net react?
>> >>
>> >>
>> >>
>> >> 18.08.2012, в 0:43, Aaron Rosen <arosen@xxxxxxxxxx> написал(а):
>> >>
>> >> 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@xxxxxxxxx>
>> >> 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@xxxxxxxxxxxxxxxxxxx
>> >>> Unsubscribe : https://launchpad.net/~openstack
>> >>> More help : https://help.launchpad.net/ListHelp
>> >>
>> >>
>> >
>>
>>
>>
>> --
>> Eugene Kirpichov
>> http://www.linkedin.com/in/eugenekirpichov
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help : https://help.launchpad.net/ListHelp
>
>
--
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov
Follow ups
References