[lago-devel] Lago hostnames

Yedidyah Bar David didi at redhat.com
Thu Sep 22 05:52:32 UTC 2016


On Wed, Sep 21, 2016 at 5:50 PM, Yaniv Kaul <ykaul at redhat.com> wrote:

>
>
> On Wed, Sep 21, 2016 at 5:42 PM, Sahina Bose <sabose at redhat.com> wrote:
>
>> Hi all,
>>
>> Is it possible to change the generated hostnames in Lago - currently it
>> is of the form lago_basic_suite_hc_host1 and using this hostname fails
>> while peer probing gluster.
>>
>> According to gluster dev:
>> "The valid_host_name () function what we have at gluster CLI is as per
>> RFC 1912 and an underscore in the hostname is *not* accepted."
>>
>> If not, other suggestions?
>>
>
> Update your code to comply with RFC2181:
> " any binary string whatever can be used as the label of any
>    resource record.  Similarly, any binary string can serve as the value
>    of any record that includes a domain name as some or all of its value
>    (SOA, NS, MX, PTR, CNAME, and any others that may be added)."
>
> (https://tools.ietf.org/html/rfc2181 - section 11)
>

Above paragraph discusses DNS in general. IIUC for hostnames, underscores
are still not allowed. See also e.g.:

https://bugzilla.redhat.com/show_bug.cgi?id=1113974


> Y.
>
>
>> thanks
>> sahina
>>
>> _______________________________________________
>> lago-devel mailing list
>> lago-devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/lago-devel
>>
>>
>
> _______________________________________________
> lago-devel mailing list
> lago-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/lago-devel
>
>


-- 
Didi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/lago-devel/attachments/20160922/74ed935e/attachment-0001.html>


More information about the lago-devel mailing list