<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 22, 2016 at 11:22 AM, Yedidyah Bar David <span dir="ltr"><<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Wed, Sep 21, 2016 at 5:50 PM, Yaniv Kaul <span dir="ltr"><<a href="mailto:ykaul@redhat.com" target="_blank">ykaul@redhat.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Wed, Sep 21, 2016 at 5:42 PM, Sahina Bose <span dir="ltr"><<a href="mailto:sabose@redhat.com" target="_blank">sabose@redhat.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div><div>Hi all,<br><br></div>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.<br><br></div>According to gluster dev:<br><div>"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."<br><br></div><div>If not, other suggestions?<br></div></div></blockquote><div><br></div></span><div>Update your code to comply with RFC2181:</div><div>" any binary string whatever can be used as the label of any</div><div> resource record. Similarly, any binary string can serve as the value</div><div> of any record that includes a domain name as some or all of its value</div><div> (SOA, NS, MX, PTR, CNAME, and any others that may be added)."</div><div><br></div><div>(<a href="https://tools.ietf.org/html/rfc2181" target="_blank">https://tools.ietf.org/html/r<wbr>fc2181</a> - section 11)</div></div></div></div></blockquote><div><br></div></span><div>Above paragraph discusses DNS in general. IIUC for hostnames, underscores<br></div><div>are still not allowed. See also e.g.:<br><br><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1113974" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1113974</a></div></div></div></div></blockquote><div><br><br></div><div>Didi, thanks for that bug link.<br><br></div><div>It seems that oVirt has similar restriction on hostname. I'm curious how Lago gets around this when adding hosts to engine - is a different hostname used? I could follow a similar approach when setting up gluster as well.<br><br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><span class=""><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Y.</div><div><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div><br></div><div>thanks<br></div><div>sahina<br></div><div><div><div><img></div></div></div></div>
<br>______________________________<wbr>_________________<br>
lago-devel mailing list<br>
<a href="mailto:lago-devel@ovirt.org" target="_blank">lago-devel@ovirt.org</a><br>
<a rel="noreferrer" href="http://lists.ovirt.org/mailman/listinfo/lago-devel" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/lago-devel</a><br>
<br></blockquote></div><br></div></div>
<br>______________________________<wbr>_________________<br>
lago-devel mailing list<br>
<a href="mailto:lago-devel@ovirt.org" target="_blank">lago-devel@ovirt.org</a><br>
<a rel="noreferrer" href="http://lists.ovirt.org/mailman/listinfo/lago-devel" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/lago-devel</a><br>
<br></blockquote></span></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div>Didi<br></div>
</font></span></div></div>
</blockquote></div><br></div></div>