<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Roy,<div class=""><br class=""></div><div class="">Thank you so much for asking for the logs on the engine. The serial.txt bein blank was my issue. I found a solution in the following thread online here:&nbsp;<a href="http://lists.ovirt.org/pipermail/users/2014-November/028870.html" class="">http://lists.ovirt.org/pipermail/users/2014-November/028870.html</a></div><div class="">I did the exact same thing that Dinuwan did to solve his issue back in 2014 and was able to enrol my new server and install the hosted-engine just fine on it.</div><div class=""><div class=""><br class="webkit-block-placeholder"></div><div class="">I am not certain what caused serial.txt to be empty and am will to share logs to anyone from the oVirt team who might want to see them. For my purposes, I'm considering this issue solved.</div><div class=""><br class=""></div><div class="">Thanks to everyone who offered advice and suggestions.</div><div class="">
<div id="signature" class=""><br class="">Cheers,<br class="">Gervais<br class=""><br class=""><br class=""></div>

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On May 16, 2016, at 2:04 PM, Gervais de Montbrun &lt;<a href="mailto:gervais@demontbrun.com" class="">gervais@demontbrun.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Roy,<div class=""><br class=""></div><div class="">I've added&nbsp;/var/log/ovirt-engine/engine.log to my DropBox:&nbsp;<a href="https://www.dropbox.com/sh/21lkl6ao3hv2r85/AADDMCK4Dp7UYgs5P6dMQxHKa/vdsm?dl=0" class="">https://www.dropbox.com/sh/21lkl6ao3hv2r85/AADDMCK4Dp7UYgs5P6dMQxHKa/vdsm?dl=0</a></div><div class=""><br class=""></div><div class="">When I look in the engine.log, I see the error "unable to load number from serial.txt"</div><div class="">I did a find for serial.txt and the only file that comes up is:&nbsp;/etc/pki/ovirt-engine/serial.txt&nbsp;</div><div class="">(Makes sense that this is the file it wants to read)</div><div class="">When I open&nbsp;/etc/pki/ovirt-engine/serial.txt, it is an empty file.&nbsp;</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>[root@cultivar&nbsp;ovirt-engine]# cat /etc/pki/ovirt-engine/serial.txt</div><span class="Apple-tab-span" style="white-space:pre">        </span>[root@cultivar&nbsp;ovirt-engine]#&nbsp;<div class=""><br class=""></div><div class="">What should be in serial.txt?</div><div class=""><br class=""></div><div class="">I don't understand where to find the other log that you mention in your email below. I don't see any paths listed in the UI when I click on the failed event for certificate enrollment.<br class=""><div class="">
<div id="signature" class=""><br class="">Cheers,<br class="">Gervais<br class=""><br class=""><br class=""></div>

</div>
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On May 15, 2016, at 5:10 PM, Roy Golan &lt;<a href="mailto:rgolan@redhat.com" class="">rgolan@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sun, May 15, 2016 at 1:32 AM, Gervais de Montbrun <span dir="ltr" class="">&lt;<a href="mailto:gervais@demontbrun.com" target="_blank" class="">gervais@demontbrun.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hey Folks,<div class=""><br class=""></div><div class="">I'm still stuck here... I believe the issue may be because the Enrolling certificates stage is failing...</div><div class=""><br class=""></div><div class="">Any idea's how to sort this out?</div><div class=""><br class=""></div><div class="">I see:</div><div class=""><span style="white-space:pre-wrap" class="">        </span>Installing Host Cultivar2. Enrolling certificate</div><div class=""><span style="white-space:pre-wrap" class="">        </span>Failed to install Host Cultivar2. Certificate enrollment failed.</div><div class=""><span style="white-space:pre-wrap" class="">        </span>Host Cultivar2 installation failed. Certificate enrollement failed.</div><div class=""><br class=""></div><div class="">Any attempt to re-install fails at this step.</div><div class=""><div class="">
<div class=""><br class="">Cheers,<br class="">Gervais<br class=""><br class=""><br class=""></div></div></div></div></blockquote><div class=""><br class=""></div><div class="">I also see in the logs that the manager (ovirt-engine) rejected the host addition to the setup. Please add the /var/log/ovirt-engine/engine.log from the engine machine. Also, the engine machine has the install log - open one of the Event logs in the UI that says you host installation failed and you will see it retrieved the install log to a path under your engine. Please include this as well.</div><div class="">&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""><div class=""><div class=""></div>

</div><div class=""><div class="h5">
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On May 13, 2016, at 1:36 PM, Gervais de Montbrun &lt;<a href="mailto:gervais@demontbrun.com" target="_blank" class="">gervais@demontbrun.com</a>&gt; wrote:</div><br class=""><div class=""><div dir="ltr" class=""><div dir="auto" style="word-wrap:break-word" class="">Hi Nir,<br class=""><br class="">Thank you for you input.<br class=""><br class="">It was suggest that I try starting vdsm from the shell so I could see the output in an effort to solve my issue: <a href="http://lists.ovirt.org/pipermail/users/2016-May/039690.html" target="_blank" class="">http://lists.ovirt.org/pipermail/users/2016-May/039690.html</a><br class=""><br class="">Cheers,<br class="">Gervais<br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">On May 13, 2016, at 12:12 PM, Nir Soffer &lt;<a href="mailto:nsoffer@redhat.com" target="_blank" class="">nsoffer@redhat.com</a>&gt; wrote:<br class=""><br class="">On Fri, May 13, 2016 at 3:37 PM, Gervais de Montbrun<br class="">&lt;<a href="mailto:gervais@demontbrun.com" target="_blank" class="">gervais@demontbrun.com</a>&gt; wrote:<br class=""><blockquote type="cite" class="">Hi Charles,<br class=""><br class="">I think the problem I am having is due to the setup failing and not<br class="">something in vdsm configs as I have never gotten this server to start up<br class="">properly and the BRIDGE ethernet interface + ovirt routes are not setup.<br class=""><br class="">I put the logs here:<br class=""><a href="https://www.dropbox.com/sh/5ugyykqh1lgru9l/AACXxRYWr3tgd0WbBVFW5twHa?dl=0" target="_blank" class="">https://www.dropbox.com/sh/5ugyykqh1lgru9l/AACXxRYWr3tgd0WbBVFW5twHa?dl=0</a><br class=""><br class="">hosted-engine--deploy-logs.zip # Logs from when I tried to deploy and it<br class="">failed<br class="">vdsm.tar.gz # /var/log/vdsm<br class=""><br class="">Output from running vdsm from the command line:<br class=""><br class="">[root@cultivar2 log]# su -s /bin/bash vdsm<br class=""></blockquote><br class="">This cannot work unless supervdsmd is running...<br class=""><br class=""><blockquote type="cite" class="">[vdsm@cultivar2 log]$ python /usr/share/vdsm/vdsm<br class="">(PID: 6521) I am the actual vdsm 4.17.26-1.el7<br class=""><a href="http://cultivar2.grove.silverorange.com/" target="_blank" class="">cultivar2.grove.silverorange.com</a> (3.10.0-327.el7.x86_64)<br class="">VDSM will run with cpu affinity: frozenset([1])<br class="">/usr/bin/taskset --all-tasks --pid --cpu-list 1 6521 (cwd None)<br class="">SUCCESS: &lt;err&gt; = ''; &lt;rc&gt; = 0<br class="">Starting scheduler vdsm.Scheduler<br class="">started<br class="">Run and protect:<br class="">registerDomainStateChangeCallback(callbackFunc=&lt;functools.partial object at<br class="">0x381b158&gt;)<br class="">Run and protect: registerDomainStateChangeCallback, Return response: None<br class="">Trying to connect to Super Vdsm<br class="">Preparing MOM interface<br class="">Using named unix socket /var/run/vdsm/mom-vdsm.sock<br class="">Unregistering all secrests<br class="">trying to connect libvirt<br class="">recovery: started<br class="">Setting channels' timeout to 30 seconds.<br class="">Starting VM channels listener thread.<br class="">Listening at <a href="http://0.0.0.0:54321/" target="_blank" class="">0.0.0.0:54321</a><br class="">Adding detector &lt;rpc.bindingxmlrpc.XmlDetector instance at 0x3b4ecb0&gt;<br class="">recovery: completed in 0s<br class="">Adding detector &lt;yajsonrpc.stompreactor.StompDetector instance at 0x382e5a8&gt;<br class="">Starting executor<br class="">Starting worker jsonrpc.Executor/0<br class="">Worker started<br class="">Starting worker jsonrpc.Executor/1<br class="">Worker started<br class="">Starting worker jsonrpc.Executor/2<br class="">Worker started<br class="">Starting worker jsonrpc.Executor/3<br class="">Worker started<br class="">Starting worker jsonrpc.Executor/4<br class="">Worker started<br class="">Starting worker jsonrpc.Executor/5<br class="">Worker started<br class="">Starting worker jsonrpc.Executor/6<br class="">Worker started<br class="">Starting worker jsonrpc.Executor/7<br class="">Worker started<br class="">XMLRPC server running<br class="">Starting executor<br class="">Starting worker periodic/0<br class="">Worker started<br class="">Starting worker periodic/1<br class="">Worker started<br class="">Starting worker periodic/2<br class="">Worker started<br class="">Starting worker periodic/3<br class="">Worker started<br class="">trying to connect libvirt<br class="">Panic: Connect to supervdsm service failed: [Errno 2] No such file or<br class="">directory<br class="">Traceback (most recent call last):<br class="">File "/usr/share/vdsm/supervdsm.py", line 78, in _connect<br class=""> &nbsp;utils.retry(self._manager.connect, Exception, timeout=60, tries=3)<br class="">File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 959, in retry<br class=""> &nbsp;return func()<br class="">File "/usr/lib64/python2.7/multiprocessing/managers.py", line 500, in<br class="">connect<br class=""> &nbsp;conn = Client(self._address, authkey=self._authkey)<br class="">File "/usr/lib64/python2.7/multiprocessing/connection.py", line 173, in<br class="">Client<br class=""> &nbsp;c = SocketClient(address)<br class="">File "/usr/lib64/python2.7/multiprocessing/connection.py", line 308, in<br class="">SocketClient<br class=""> &nbsp;s.connect(address)<br class="">File "/usr/lib64/python2.7/socket.py", line 224, in meth<br class=""> &nbsp;return getattr(self._sock,name)(*args)<br class="">error: [Errno 2] No such file or directory<br class=""></blockquote><br class="">Vdsm tries to connect to supervdsmd on startup, and if it is not running<br class="">it will fail.<br class=""><br class="">You can do:<br class=""><br class="">systemctl start supervdsmd<br class=""><br class="">And they you can run vdsmd from the shell.<br class=""><br class="">But why do you need to run vdsm from the shell?<br class=""><br class="">Nir<br class=""></blockquote><br class=""></div></div>
</div></blockquote></div><br class=""></div></div></div></div><br class="">_______________________________________________<br class="">
Users mailing list<br class="">
<a href="mailto:Users@ovirt.org" class="">Users@ovirt.org</a><br class="">
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank" class="">http://lists.ovirt.org/mailman/listinfo/users</a><br class="">
<br class=""></blockquote></div><br class=""></div></div>
</div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>