<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">I have opened two BZs around these two case scenarios:</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default">

<span style="font-family:tahoma,sans-serif">BZ 1059952 - hosted-engine --deploy (additional host) will fail if the engine is not using the default self-signed CA</span><br></div><div class="gmail_default"><font face="tahoma, sans-serif">BZ 1059950 - If cluster=Default does not exist in hosted-engine it will fail and timeout</font><br>

</div><div class="gmail_extra"><br clear="all"><div><font face="tahoma, sans-serif">Thanks,<br>Andrew</font><br></div>
<br><br><div class="gmail_quote">On Fri, Jan 31, 2014 at 9:58 AM, Andrew Lau <span dir="ltr">&lt;<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<p dir="ltr">I managed to resolve this, don&#39;t know why I was not paying attention to the first error.</p>
<p dir="ltr">The engine needs to have a cluster called Default or the host won&#39;t get added to the engine, this was causing that constant spam of &quot;still waiting for host to become operational&quot;. </p>
<p dir="ltr">The host would however still get added to the ha-services just not the engine and the install terminates.</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Jan 29, 2014 10:15 PM, &quot;Andrew Lau&quot; &lt;<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr"><div style="font-family:tahoma,sans-serif"><span style="font-family:arial">On Wed, Jan 29, 2014 at 9:50 PM, Yedidyah Bar David </span><span dir="ltr" style="font-family:arial">&lt;<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>&gt;</span><span style="font-family:arial"> wrote:</span><br>



</div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>



<div style="font-size:12pt;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><div></div><blockquote style="padding-left:5px;font-size:12pt;font-style:normal;margin-left:5px;font-family:Helvetica,Arial,sans-serif;text-decoration:none;font-weight:normal;border-left-width:2px;border-left-style:solid;border-left-color:rgb(16,16,255)">



<div><b>From: </b>&quot;Andrew Lau&quot; &lt;<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>&gt;<br><b>To: </b>&quot;Yedidyah Bar David&quot; &lt;<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>&gt;<br>



<b>Cc: </b>&quot;users&quot; &lt;<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>&gt;<br></div><b>Sent: </b>Wednesday, January 29, 2014 12:19:56 PM<div><div><br><b>Subject: </b>Re: [Users] Hosted Engine adding host SSL Failure (w/ engine custom cert)<br>



<div><br></div><div dir="ltr"><div style="font-family:tahoma,sans-serif"><br></div><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 29, 2014 at 8:57 PM, Yedidyah Bar David <span dir="ltr">&lt;<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">



<blockquote style="padding-left:5px;font-size:12pt;font-style:normal;margin-left:5px;font-family:Helvetica,Arial,sans-serif;text-decoration:none;font-weight:normal;border-left-width:2px;border-left-style:solid;border-left-color:rgb(16,16,255)">



<b>From: </b>&quot;Andrew Lau&quot; &lt;<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>&gt;<br><b>To: </b>&quot;Yedidyah Bar David&quot; &lt;<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>&gt;<br>



<b>Cc: </b>&quot;users&quot; &lt;<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>&gt;<br><b>Sent: </b>Wednesday, January 29, 2014 10:17:21 AM<div><br><b>Subject: </b>Re: [Users] Hosted Engine adding host SSL Failure (w/ engine custom cert)<br>



<div><br></div></div><div><div dir="ltr"><div style="font-family:tahoma,sans-serif">Shame about the way the CA works, may be worth putting a reverse proxy in front as unsigned SSL can be a deal breaker. </div></div></div>



</blockquote><div><br></div><div>Perhaps. Would you like to open a bug?</div><div><div><br></div><blockquote style="padding-left:5px;font-size:12pt;font-style:normal;margin-left:5px;font-family:Helvetica,Arial,sans-serif;text-decoration:none;font-weight:normal;border-left-width:2px;border-left-style:solid;border-left-color:rgb(16,16,255)">



<div dir="ltr"><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">Anyway, my vdsm.log is here <a href="http://www.fpaste.org/72643/98338713/" target="_blank">http://www.fpaste.org/72643/98338713/</a></div>



<div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">When it&#39;s &quot;Still waiting for VDSM host to become operational..&quot; there is no output in vdsm.log </div></div></blockquote>



<div><br></div></div><div>Sorry, didn&#39;t follow. What this refers to? The ssl issue or something else?</div><div><br></div></div></div></blockquote><div><br></div><div><div style="font-family:tahoma,sans-serif">

So the output of the install process is like this:</div><div style="font-family:tahoma,sans-serif"><br></div><div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Engine replied: DB Up!Welcome to Health Status!</span></div>



<div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ ERROR ] Cannot automatically add the host to the Default cluster: Entity not found: Cluster: name=Default </span></div><div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Waiting for the host to become operational in the engine. This may take several minutes...</span></div>



<div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div><div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div>



<div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div><div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div>



<div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div><div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div>



<div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div><div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div>



<div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div><div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div>



<div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div><div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div>



<div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div><div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div>



<div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div><div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div>



<div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div><div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div>



<div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div><div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Still waiting for VDSM host to become operational...</span></div>



<div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ ERROR ] Timed out while waiting for host to start. Please check the logs.</span></div><div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ ERROR ] Unable to add HV02 to the manager</span></div>



<div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Enabling and starting HA services</span></div><div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">          Hosted Engine successfully set up</span></div>



<div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Stage: Clean up</span></div><div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Stage: Pre-termination</span></div>



<div><span face="tahoma, sans-serif" style="font-family:tahoma,sans-serif">[ INFO  ] Stage: Termination</span></div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif"><br></div>



<div style="font-family:tahoma,sans-serif">During that whole &quot;Still waiting for VDSM host to become operational...&quot; </div><div style="font-family:tahoma,sans-serif">The vdsm.log doesn&#39;t report anything at all not until the timeout</div>



</div></div></div></div></div></div></blockquote><div><br></div><div>Can you please post full logs of hosted-engine-setup, vdsm, and hosted-engine-ha?</div><div><br></div><div>I looked at previous posts and only found setup logs with the external ca cert. Your</div>



<div><a href="http://www.fpaste.org/72643/98338713/" target="_blank">http://www.fpaste.org/72643/98338713/</a> starts at <span style="line-height:14.390625px;font-size:12px;font-family:monospace">19:03:31 </span>where the problem might</div>



<div>be much earlier.</div><div><br></div></div></div></blockquote><div><br></div><div style="font-family:tahoma,sans-serif">Sorry about that.</div><div style="font-family:tahoma,sans-serif">

<br></div><div style="font-family:tahoma,sans-serif">ovirt-hosted-engine-setup: <a href="http://www.fpaste.org/72679/13909935/" target="_blank">http://www.fpaste.org/72679/13909935/</a></div><div style="font-family:tahoma,sans-serif">



</div></div><div style="font-family:tahoma,sans-serif">fpaste doesn&#39;t seem to like the long vdsm log so I have attached it instead.</div><br></div></div>
</blockquote></div>
</div></div></blockquote></div><br></div></div>