<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 18, 2016 at 10:33 AM, Ralf Schenk <span dir="ltr"><<a href="mailto:rs@databay.de" target="_blank">rs@databay.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Dear list,</p>
<p>i'm working for days on a hosted-engine setup on glusterfs and 'm
stuck in the last phase of hosted-engine --deploy see Text output
(for two days now :-( ). I've only ovirtmgmt Bridge up and running
and all DNS-Names seen in the screenshot are resolvable. It
shouldn't be related to your problem regarding multiple nic's in
the engine-vm. As seen the hosted-engine setup is already
succsessfull, engine-vm running, but the setup fails in
registering the host (microcloud21...) in the engine.</p>
<p><tt><br>
</tt></p>
<p><tt>[...]</tt></p>
<p><tt> |- [ INFO ] Starting engine service</tt><tt><br>
</tt><tt> |- [ INFO ] Restarting httpd</tt><tt><br>
</tt><tt> |- [ INFO ] Restarting ovirt-vmconsole proxy
service</tt><tt><br>
</tt><tt> |- [ INFO ] Stage: Clean up</tt><tt><br>
</tt><tt> |- Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20160517222119-ndcyxn.log</tt><tt><br>
</tt><tt> |- [ INFO ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20160517223055-setup.conf'</tt><tt><br>
</tt><tt> |- [ INFO ] Stage: Pre-termination</tt><tt><br>
</tt><tt> |- [ INFO ] Stage: Termination</tt><tt><br>
</tt><tt> |- [ INFO ] Execution of setup completed
successfully</tt><tt><br>
</tt><tt> |- HE_APPLIANCE_ENGINE_SETUP_SUCCESS</tt><tt><br>
</tt><tt>[ INFO ] Engine-setup successfully completed</tt><tt><br>
</tt><tt>[ INFO ] Engine is still unreachable</tt><tt><br>
</tt><tt>[ INFO ] Engine is still not reachable, waiting...</tt><tt><br>
</tt><tt>[ INFO ] Engine replied: DB Up!Welcome to Health Status!</tt><tt><br>
</tt><tt>[ INFO ] Acquiring internal CA cert from the engine</tt><tt><br>
</tt><tt>[ INFO ] The following CA certificate is going to be
used, please immediately interrupt if not correct:</tt><tt><br>
</tt><tt>[ INFO ] Issuer: C=US, O=<a href="http://rxmgmt.databay.de" target="_blank">rxmgmt.databay.de</a>,
CN=engine-mcIII.rxmgmt.databay.de.77792, Subject: C=US,
O=<a href="http://rxmgmt.databay.de" target="_blank">rxmgmt.databay.de</a>, CN=engine-mcIII.rxmgmt.databay.de.77792,
Fingerprint (SHA-1): D71A5EA7C5C2C2450F1473523C3A1E022945430</tt><tt><br>
</tt><tt>[ INFO ] Connecting to the Engine</tt><tt><br>
</tt><tt>[ ERROR ] Cannot automatically add the host to cluster
Default: Host name must be formed of alphanumeric characters,
numbers or "-_."</tt><tt><br>
</tt><tt><br>
</tt><tt><br>
</tt><tt> Please check Engine VM configuration.</tt><tt><br>
</tt><tt><br>
</tt><tt> Make a selection from the options below:</tt><tt><br>
</tt><tt> (1) Continue setup - Engine VM configuration
has been fixed</tt><tt><br>
</tt><tt> (2) Abort setup</tt><tt><br>
</tt><tt><br>
</tt><tt> (1, 2)[1]: 1</tt><tt><br>
</tt><tt><br>
</tt><tt> Checking for oVirt-Engine status at
engine-mcIII.rxmgmt.databay.de...</tt><tt><br>
</tt><tt>[ INFO ] Engine replied: DB Up!Welcome to Health Status!</tt><tt><br>
</tt><tt>[ ERROR ] Cannot automatically add the host to cluster
Default: Host name must be formed of alphanumeric characters,
numbers or "-_."</tt><tt><br>
</tt><tt><br>
</tt><tt><br>
</tt><tt> Please check Engine VM configuration.</tt><tt><br>
</tt><tt><br>
</tt><tt> Make a selection from the options below:</tt><tt><br>
</tt><tt> (1) Continue setup - Engine VM configuration
has been fixed</tt><tt><br>
</tt><tt> (2) Abort setup</tt><tt><br>
</tt><tt><br>
</tt><tt> (1, 2)[1]:</tt><tt><br>
</tt></p>
<p>Additionally I can see the error in the eninge-vm in
/var/log/ovirt-engine/engine.log:</p>
<p><tt>2016-05-17 14:08:15,296 WARN
[org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default
task-13) [9277b0a] CanDoAction of action 'AddVds' failed for
user admin@internal. Reasons:
VAR__ACTION__ADD,VAR__TYPE__HOST,$server
<a href="http://microcloud21.rxmgmt.databay.de" target="_blank">microcloud21.rxmgmt.databay.de</a>,VALIDATION_VDS_NAME_INVALID</tt><tt><br>
</tt><tt>2016-05-17 14:08:15,360 ERROR
[org.ovirt.engine.api.restapi.resource.AbstractBackendResource]
(default task-13) [] Operation Failed: [Host name must be formed
of alphanumeric characters, numbers or "-_."]</tt></p></div></blockquote><div class="gmail_quote"><br></div>'<a href="http://microcloud21.rxmgmt.databay.de">microcloud21.rxmgmt.databay.de</a>' is the host address, in oVirt the host has also a name.</div><div class="gmail_quote">Can you please look for OVEHOSTED_ENGINE/appHostName in your hosted-engine-setup logs?<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><p><br>
</p>
The hostname that should be registered is the correct fqdn for the
virtualization host that runs the engine-vm, points to the ip of the
ovirtmgmt-Bridge and also the IP is reverse-resolvable to the
hostname. <br>
I checked /etc/hostname of the host for non-printable characters and
as you can see that is a valid hostname.<br>
<br>
All is running on Centos 7 Versions: <br>
<tt>ovirt-engine-appliance.noarch 3.6-20160420.1.el7.centos
@ovirt-3.6</tt><tt><br>
</tt><tt>ovirt-engine-sdk-python.noarch
3.6.5.0-1.el7.centos @ovirt-3.6</tt><tt><br>
</tt><tt>ovirt-host-deploy.noarch
1.4.1-1.el7.centos @ovirt-3.6</tt><tt><br>
</tt><tt>ovirt-hosted-engine-ha.noarch
1.3.5.3-1.1.el7 @centos-ovirt36</tt><tt><br>
</tt><tt>ovirt-hosted-engine-setup.noarch
1.3.5.0-1.1.el7 @centos-ovirt36</tt><tt><br>
</tt><tt>ovirt-setup-lib.noarch
1.0.1-1.el7.centos @ovirt-3.6</tt><tt><br>
</tt><tt>ovirt-vmconsole.noarch
1.0.0-1.el7.centos @ovirt-3.6</tt><tt><br>
</tt><tt>ovirt-vmconsole-host.noarch
1.0.0-1.el7.centos @ovirt-3.6</tt><tt><br>
</tt><br>
Since I already repeated the setup for many times now, I need your
help.<br>
<div>-- <br>
<p>
</p>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td colspan="3"><img src="cid:part1.3F247D48.E0F6EE3B@databay.de" height="30" border="0" width="151"></td>
</tr>
<tr>
<td valign="top"> <font face="Verdana, Arial, sans-serif" size="-1"><br>
<b>Ralf Schenk</b><br>
fon <a href="tel:%2B49%20%280%29%2024%2005%20%2F%2040%2083%2070" value="+492405408370" target="_blank">+49 (0) 24 05 / 40 83 70</a><br>
fax <a href="tel:%2B49%20%280%29%2024%2005%20%2F%2040%2083%20759" value="+4924054083759" target="_blank">+49 (0) 24 05 / 40 83 759</a><br>
mail <a href="mailto:rs@databay.de" target="_blank"><font color="#FF0000"><b>rs@databay.de</b></font></a><br>
</font> </td>
<td width="30"> </td>
<td valign="top"> <font face="Verdana, Arial, sans-serif" size="-1"><br>
<b>Databay AG</b><br>
Jens-Otto-Krag-Straße 11<br>
D-52146 Würselen<br>
<a href="http://www.databay.de" target="_blank"><font color="#FF0000"><b>www.databay.de</b></font></a>
</font> </td>
</tr>
<tr>
<td colspan="3" valign="top"> <font face="Verdana, Arial,
sans-serif" size="1"><br>
Sitz/Amtsgericht Aachen • HRB:8437 • USt-IdNr.: DE
210844202<br>
Vorstand: Ralf Schenk, Dipl.-Ing. Jens Conze, Aresch
Yavari, Dipl.-Kfm. Philipp Hermanns<br>
Aufsichtsratsvorsitzender: Klaus Scholzen (RA) </font>
</td>
</tr>
</tbody>
</table>
<hr color="#000000" noshade size="1" width="100%">
</div>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>