On Wed, Sep 21, 2016 at 5:50 PM, Yaniv Kaul <ykaul@redhat.com> wrote:On Wed, Sep 21, 2016 at 5:42 PM, Sahina Bose <sabose@redhat.com> wrote:According to gluster dev: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."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 anyresource record. Similarly, any binary string can serve as the valueof 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
Y.thankssahina
_______________________________________________
lago-devel mailing list
lago-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/lago-devel
_______________________________________________
lago-devel mailing list
lago-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/lago-devel
--Didi