← Back to team overview

savanna-all team mailing list archive

Re: domain name

 

Yep, It'll be good to file a ticket for it with pros of this solution.

Sincerely yours,
Sergey Lukjanov
Savanna Technical Lead
Mirantis Inc.

On Jun 18, 2013, at 12:23, Dmitry Mescheryakov <dmescheryakov@xxxxxxxxxxxx> wrote:

> John,
> 
> That makes sense, but we don't have time to change it right now. Could you file a bug for it?
> 
> Thanks,
> 
> Dmitry
> 
> 
> 2013/6/17 John Speidel <jspeidel@xxxxxxxxxxxxxxx>
> 'hostname -f' will return the fqdn in the form of hostname.domain
> For example: myhost.novalocal
> If no domain name is configured, it will simply return the hostname.
> When a VM is provisioned, OpenStack sets the the domain on the vm based on information in nova.conf.
> 
> After provisioning a vm, savanna can execute this command to get the fqdn of the host and then set this information on the instance.  It can also be used as a mechanism to determine when a host is reachable.
> 
> -John
> 
> 
> On 6/17/13 11:52 AM, Sergey Lukjanov wrote:
>> What we expect from this call?
>> 
>> Sincerely yours,
>> Sergey Lukjanov
>> Savanna Technical Lead
>> Mirantis Inc.
>> 
>> On Jun 17, 2013, at 18:54, John Speidel <jspeidel@xxxxxxxxxxxxxxx> wrote:
>> 
>>> A better approach may be to remotely execute 'hostname -f' on each vm as it is provisioned.  
>>> 
>>> -John
>>> 
>>> On 6/14/13 11:47 AM, John Speidel wrote:
>>>> Great, thanks for the update Dmitry.
>>>> 
>>>> -John
>>>> 
>>>> On 6/14/13 11:35 AM, Dmitry Mescheryakov wrote:
>>>>> John, 
>>>>> 
>>>>> I've made the domain part configurable in savanna.conf. In nova-network it is also set as a config parameter 'dhcp_domain' and is not exposed via API. So we can't automatically discover it and need to rely on user to properly set it.
>>>>> 
>>>>> Thanks,
>>>>> 
>>>>> Dmitry
>>>>> 
>>>>> 
>>>>> 2013/6/13 John Speidel <jspeidel@xxxxxxxxxxxxxxx>
>>>>> Looking at the change, it looks like 'novalocal' is hard coded as the domain name.
>>>>> If that is the case, I don't think it is very useful since the whole point is to determine what the domain name name is for the current env.
>>>>> 
>>>>> -John
>>>>> 
>>>>> 
>>>>> 
>>>>> On 6/13/13 3:45 PM, Sergey Lukjanov wrote:
>>>>> Hi John,
>>>>> 
>>>>> here is a change request for ensuring fqdn is available at cluster's nodes - https://review.openstack.org/#/c/32897/
>>>>> We are welcome for the comments to it.
>>>>> 
>>>>> Dmitry will send more details when CR will be merged into the repo.
>>>>> 
>>>>> Sincerely yours,
>>>>> Sergey Lukjanov
>>>>> Software Engineer
>>>>> Mirantis Inc.
>>>>> GTalk: me@xxxxxxxxxxx
>>>>> Skype: lukjanovsv
>>>>> 
>>>>> On Jun 11, 2013, at 19:58, John Speidel <jspeidel@xxxxxxxxxxxxxxx> wrote:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> Will the FQDN be available in the cluster object for each vm?  It is important that the domain be provided to the hadoop plugin in addition to the host name.  In the instance object I don't see a domain field so I assume that the id field would be in the form host.domain such as myhost.novalocal.
>>>>> 
>>>>> -John
>>>>> 
>>>>> -- 
>>>>> Mailing list: https://launchpad.net/~savanna-all
>>>>> Post to     : savanna-all@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~savanna-all
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>> 
>>>>> 
>>>>> -- 
>>>>> Mailing list: https://launchpad.net/~savanna-all
>>>>> Post to     : savanna-all@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~savanna-all
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>> 
>>>> 
>>> 
>> 
> 
> 


References