[Openstack] external dhcp server instead of dnsmasq

Ritesh Nanda riteshnanda09 at gmail.com
Tue Feb 19 20:18:46 UTC 2013


Thanks again vish

Do we have any roadmap to include a functinality for using ISC-dhcp and
bind dns as default in openstack. As with the release of Bind 10 a lot of
functionality would be getting change from how bind9 worked. Now ISC-dhcp
would be saving lease files in database and lot more.
Even moinmoin project running to provide DNSaas in openstack  that supports
bind 9 at present would there be any future change in nova dhcp and dns
architecture to the currently it has.

On Wed, Feb 20, 2013 at 1:30 AM, Vishvananda Ishaya
<vishvananda at gmail.com>wrote:

> No particular reason except that is what libvirt uses by default and it is
> easy to modify.
>
> Vish
>
> On Feb 19, 2013, at 11:51 AM, Diego Parrilla Santamaría <
> diego.parrilla.santamaria at gmail.com> wrote:
>
> Thanks Vish,
>
> This is something I always forget to ask: I'm curious about the historical
> reasons for dnsmasq instead of ISC-DHCP managed with OMAPI, for example.
>
> Cheers
> Diego
>
>  --
> Diego Parrilla
>  <http://www.stackops.com/>*CEO*
> *www.stackops.com | * diego.parrilla at stackops.com** | +34 649 94 43 29 |
> skype:diegoparrilla*
> * <http://www.stackops.com/>
> *
>
> *
>
>
>
> On Tue, Feb 19, 2013 at 8:37 PM, Vishvananda Ishaya <vishvananda at gmail.com
> > wrote:
>
>> You cannot have an external dhcp server with openstack. Openstack needs a
>> way to know the ip address assigned to a vm to do its listing properly. If
>> you don't care about the api returning valid ips there is a possibility of
>> using FlatNetworking (not FlatDHCP) to make nova stick the network into a
>> bridge and not do any dhcp at all. You could then have an external server
>> serving up dhcp ips. I suspect you will probably have to disable security
>> groups completely using NoopFirewallDriver driver to get this to work.
>>
>> As to the reason dhcp-host is not working, I suspect is because we give
>> dnsmasq an external hosts file so you probably would need the host
>> directive there.
>>
>> Vish
>>
>>  On Feb 19, 2013, at 4:44 AM, Ritesh Nanda <riteshnanda09 at gmail.com>
>> wrote:
>>
>> Hope Vish can answer this , what can be the way around to do this.
>>
>> On Tue, Feb 19, 2013 at 2:01 PM, Razique Mahroua <
>> razique.mahroua at gmail.com> wrote:
>>
>>> Hi,
>>> I'm not sure the "dhcp-host" configuration option exists actually. As
>>> for having one another host in VLAN mode is something I'd be interested to
>>> know as well
>>>
>>> Regards,
>>>
>>> *Razique Mahroua** - **Nuage & Co*
>>> razique.mahroua at gmail.com
>>> Tel : +33 9 72 37 94 15
>>>
>>> <NUAGECO-LOGO-Fblan_petit.jpg>
>>>
>>> Le 19 févr. 2013 à 08:05, Ritesh Nanda <riteshnanda09 at gmail.com> a
>>> écrit :
>>>
>>> Hello ,
>>>
>>> Is it possible to use external dhcp server , instead of dnsmasq .
>>> I am using openstack essex, with vlan manager as network,  I have a need
>>> where i need to implement dynamic dns,
>>> so using dhcp3 as dhcp-server and bind9 as dns is possible.
>>>
>>> Or is there any way in openstack i can implement dynamic dns in
>>> openstack.
>>>
>>> One more problem which i am facing , dnsmasq has a option to assign
>>> static ip to a particular hostname using dhcp-host
>>> parameter in dnsmasq config file.
>>>
>>> i tried it doing by defining  the config file of dnsmasq in nova.conf
>>>
>>> --dnsmasq_config_file=/etc/nova/dnsmasq.conf
>>>
>>> then in dnsmasq config file
>>>
>>> i gave options for a particular subnet.
>>>
>>>
>>> dhcp-range=Tenant-operator,10.0.50.3,10.0.50.254,255.255.255.0,24h
>>> dhcp-option=Tenant-operator,6,10.0.50.7
>>> domain=operator.com,10.0.50.0/24,local
>>> dhcp-host=importantmachine,10.0.50.120
>>>
>>> these all options are working except dhcp-host.
>>>
>>> Can anybody help me with this.
>>> --
>>> * With Regards
>>> *
>>> * Ritesh Nanda
>>> *
>>>
>>> ***
>>> *
>>> <http://www.ericsson.com/>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>>
>>
>>
>> --
>> * With Regards
>> *
>> * Ritesh Nanda
>> *
>>
>> ***
>> *
>> <http://www.ericsson.com/>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
>


-- 

* With Regards
*

* Ritesh Nanda
*

***
*
<http://www.ericsson.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130220/1e7c6c3e/attachment.html>


More information about the Openstack mailing list