Re: [Openstack] external dhcp server instead of dnsmasq

2013-02-20 Thread Ritesh Nanda
Thanks Mark,
I tried it and it works, would like to appreciate the idea behind it. As i
am using vlan manager in nova-network , i would like to create a new domain
for each tenant created in keystone.That tenant would be having a seprate
network.
I can understand the process , i would even try that , but can you give me
more brief idea , how to do that.

On Wed, Feb 20, 2013 at 5:01 AM, Mark Lehrer  wrote:

>
>
>  Or is there any way in openstack i can implement dynamic dns in openstack.

>>>
> If you want your VM's to automatically get a DNS entry, I have a MyDNS
> add-on that can do it.  MyDNS is a DNS server that uses a database
> instead of zone files.
>
> You just have to pick a domain or subdomain, and then make a union
> between the standard MyDNS RR table and the Openstack instances table.  I
> made
> a .deb of it that includes MyDNS and documentation on how to create the
> union,
> you can grab it at:
>
> http://knm.org/mydns-mysql_1.**2.8.31_amd64.deb
>
> I was planning to update it for Grizzly and I also wanted to maybe try
> PowerDNS,
> but I have been using this system since May and it works pretty well.  Let
> me know
> if you have any questions.
>
> Mark
>
>


-- 

* With Regards
*

* Ritesh Nanda
*

***
*

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] external dhcp server instead of dnsmasq

2013-02-19 Thread Mark Lehrer




Or is there any way in openstack i can implement dynamic dns in openstack.


If you want your VM's to automatically get a DNS entry, I have a MyDNS
add-on that can do it.  MyDNS is a DNS server that uses a database
instead of zone files.

You just have to pick a domain or subdomain, and then make a union
between the standard MyDNS RR table and the Openstack instances table.  I made
a .deb of it that includes MyDNS and documentation on how to create the union,
you can grab it at:

http://knm.org/mydns-mysql_1.2.8.31_amd64.deb

I was planning to update it for Grizzly and I also wanted to maybe try PowerDNS,
but I have been using this system since May and it works pretty well.  Let me 
know
if you have any questions.

Mark


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] external dhcp server instead of dnsmasq

2013-02-19 Thread Vishvananda Ishaya
nova dhcp and dns architecture won't change. But I'm sure an alternate dhcp 
implementation could be done as a quantum l3 plugin. So that combined with 
moniker would likely be the path forward.

Vish

On Feb 19, 2013, at 12:18 PM, Ritesh Nanda  wrote:

> 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  
> 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 
>  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
>> CEO
>> www.stackops.com |  diego.parri...@stackops.com | +34 649 94 43 29 | 
>> skype:diegoparrilla
>> 
>> 
>> 
>> 
>> 
>> On Tue, Feb 19, 2013 at 8:37 PM, Vishvananda Ishaya  
>> 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  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 
>>>  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.mahr...@gmail.com
>>> Tel : +33 9 72 37 94 15
>>> 
>>> 
>>> 
>>> Le 19 févr. 2013 à 08:05, Ritesh Nanda  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
 
 
 
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp
>>> 
>>> 
>>> 
>>> 
>>> -- 
>>>  With Regards  
>>>  Ritesh Nanda
>>> 
>>> 
>>> 
>>> ___
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to : openstack@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>> 
>> 
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>> 
>> 
> 
> 
> 
> 
> -- 
>  With Regards  
>  Ritesh Nanda
> 
> 
> 

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help 

Re: [Openstack] external dhcp server instead of dnsmasq

2013-02-19 Thread Ritesh Nanda
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
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.santama...@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
>  *CEO*
> *www.stackops.com | * diego.parri...@stackops.com** | +34 649 94 43 29 |
> skype:diegoparrilla*
> * 
> *
>
> *
>
>
>
> On Tue, Feb 19, 2013 at 8:37 PM, Vishvananda Ishaya  > 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 
>> 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.mahr...@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.mahr...@gmail.com
>>> Tel : +33 9 72 37 94 15
>>>
>>> 
>>>
>>> Le 19 févr. 2013 à 08:05, Ritesh Nanda  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
>>> *
>>>
>>> ***
>>> *
>>> 
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to : openstack@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>>
>>
>>
>> --
>> * With Regards
>> *
>> * Ritesh Nanda
>> *
>>
>> ***
>> *
>> 
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>


-- 

* With Regards
*

* Ritesh Nanda
*

***
*

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] external dhcp server instead of dnsmasq

2013-02-19 Thread Vishvananda Ishaya
It is unfortunately regenerated every time an instance is launched, but if you 
want to test editing it is referenced in the commmandline for dnsmasq. for 
example on devstack:

--dhcp-hostsfile=/opt/stack/data/nova/br100.conf

Vish

On Feb 19, 2013, at 11:49 AM, Ritesh Nanda  wrote:

> Thanks vish,
> 
>  Can you tell me the location of the external host file we provide to 
> dnsmasq , so that i can try putting the directive there.
> 
> On Wed, Feb 20, 2013 at 1:07 AM, Vishvananda Ishaya  
> 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  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  
>> 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.mahr...@gmail.com
>> Tel : +33 9 72 37 94 15
>> 
>> 
>> 
>> Le 19 févr. 2013 à 08:05, Ritesh Nanda  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
>>> 
>>> 
>>> 
>>> ___
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to : openstack@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>> 
>> 
>> 
>> 
>> -- 
>>  With Regards  
>>  Ritesh Nanda
>> 
>> 
>> 
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
> 
> 
> 
> 
> -- 
>  With Regards  
>  Ritesh Nanda
> 
> 
> 

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] external dhcp server instead of dnsmasq

2013-02-19 Thread Vishvananda Ishaya
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 
 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
> CEO
> www.stackops.com |  diego.parri...@stackops.com | +34 649 94 43 29 | 
> skype:diegoparrilla
> 
> 
> 
> 
> 
> On Tue, Feb 19, 2013 at 8:37 PM, Vishvananda Ishaya  
> 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  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  
>> 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.mahr...@gmail.com
>> Tel : +33 9 72 37 94 15
>> 
>> 
>> 
>> Le 19 févr. 2013 à 08:05, Ritesh Nanda  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
>>> 
>>> 
>>> 
>>> ___
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to : openstack@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>> 
>> 
>> 
>> 
>> -- 
>>  With Regards  
>>  Ritesh Nanda
>> 
>> 
>> 
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
> 
> 
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
> 
> 

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] external dhcp server instead of dnsmasq

2013-02-19 Thread Diego Parrilla Santamaría
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
 *CEO*
*www.stackops.com | * diego.parri...@stackops.com** | +34 649 94 43 29 |
skype:diegoparrilla*
* 
*

*



On Tue, Feb 19, 2013 at 8:37 PM, Vishvananda Ishaya
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  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.mahr...@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.mahr...@gmail.com
>> Tel : +33 9 72 37 94 15
>>
>> 
>>
>> Le 19 févr. 2013 à 08:05, Ritesh Nanda  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
>> *
>>
>> ***
>> *
>> 
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>
>
> --
> * With Regards
> *
> * Ritesh Nanda
> *
>
> ***
> *
> 
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] external dhcp server instead of dnsmasq

2013-02-19 Thread Ritesh Nanda
Thanks vish,

 Can you tell me the location of the external host file we provide to
dnsmasq , so that i can try putting the directive there.

On Wed, Feb 20, 2013 at 1:07 AM, Vishvananda Ishaya
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  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.mahr...@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.mahr...@gmail.com
>> Tel : +33 9 72 37 94 15
>>
>> 
>>
>> Le 19 févr. 2013 à 08:05, Ritesh Nanda  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
>> *
>>
>> ***
>> *
>> 
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>
>
> --
> * With Regards
> *
> * Ritesh Nanda
> *
>
> ***
> *
> 
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
>


-- 

* With Regards
*

* Ritesh Nanda
*

***
*

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] external dhcp server instead of dnsmasq

2013-02-19 Thread Vishvananda Ishaya
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  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  
> 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.mahr...@gmail.com
> Tel : +33 9 72 37 94 15
> 
> 
> 
> Le 19 févr. 2013 à 08:05, Ritesh Nanda  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
>> 
>> 
>> 
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
> 
> 
> 
> 
> -- 
>  With Regards  
>  Ritesh Nanda
> 
> 
> 
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] external dhcp server instead of dnsmasq

2013-02-19 Thread Ritesh Nanda
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
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.mahr...@gmail.com
> Tel : +33 9 72 37 94 15
>
>
> Le 19 févr. 2013 à 08:05, Ritesh Nanda  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
> *
>
> ***
> *
> 
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
>


-- 

* With Regards
*

* Ritesh Nanda
*

***
*

<>___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] external dhcp server instead of dnsmasq

2013-02-19 Thread Razique Mahroua
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 wellRegards,Razique Mahroua - Nuage & Corazique.mahr...@gmail.comTel : +33 9 72 37 94 15

Le 19 févr. 2013 à 08:05, Ritesh Nanda  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-hostparameter in dnsmasq config file.

i tried it doing by defining  the config file of dnsmasq in nova.conf--dnsmasq_config_file=/etc/nova/dnsmasq.confthen 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,24hdhcp-option=Tenant-operator,6,10.0.50.7domain=operator.com,10.0.50.0/24,local

dhcp-host=importantmachine,10.0.50.120these all options are working except dhcp-host.Can anybody help me with this.--  With Regards  

 Ritesh Nanda




___Mailing list: https://launchpad.net/~openstackPost to : openstack@lists.launchpad.netUnsubscribe : https://launchpad.net/~openstackMore help   : https://help.launchpad.net/ListHelp___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] external dhcp server instead of dnsmasq

2013-02-18 Thread Ritesh Nanda
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
*

***
*

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp