
On May 16, 2016, at 2:04 PM, Gervais de Montbrun = <gervais@demontbrun.com> wrote: =20 Hi Roy, =20 I've added /var/log/ovirt-engine/engine.log to my DropBox: = https://www.dropbox.com/sh/21lkl6ao3hv2r85/AADDMCK4Dp7UYgs5P6dMQxHKa/vdsm?=
=20 When I look in the engine.log, I see the error "unable to load number = from serial.txt" I did a find for serial.txt and the only file that comes up is: = /etc/pki/ovirt-engine/serial.txt=20 (Makes sense that this is the file it wants to read) When I open /etc/pki/ovirt-engine/serial.txt, it is an empty file.=20 [root@cultivar ovirt-engine]# cat = /etc/pki/ovirt-engine/serial.txt [root@cultivar ovirt-engine]#=20 =20 What should be in serial.txt? =20 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 =
=20 Cheers, Gervais =20 =20 =20
On May 15, 2016, at 5:10 PM, Roy Golan <rgolan@redhat.com = <mailto:rgolan@redhat.com>> wrote: =20 =20 =20 On Sun, May 15, 2016 at 1:32 AM, Gervais de Montbrun = <gervais@demontbrun.com <mailto:gervais@demontbrun.com>> wrote: Hey Folks, =20 I'm still stuck here... I believe the issue may be because the = Enrolling certificates stage is failing... =20 Any idea's how to sort this out? =20 I see: Installing Host Cultivar2. Enrolling certificate Failed to install Host Cultivar2. Certificate enrollment failed. Host Cultivar2 installation failed. Certificate enrollement = failed. =20 Any attempt to re-install fails at this step. =20 Cheers, Gervais =20 =20 =20 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 =
=20 =20
On May 13, 2016, at 1:36 PM, Gervais de Montbrun = <gervais@demontbrun.com <mailto:gervais@demontbrun.com>> wrote: =20 Hi Nir, =20 Thank you for you input. =20 It was suggest that I try starting vdsm from the shell so I could = see the output in an effort to solve my issue: = http://lists.ovirt.org/pipermail/users/2016-May/039690.html = <http://lists.ovirt.org/pipermail/users/2016-May/039690.html> =20 Cheers, Gervais =20 =20 =20
On May 13, 2016, at 12:12 PM, Nir Soffer <nsoffer@redhat.com = <mailto:nsoffer@redhat.com>> wrote: =20 On Fri, May 13, 2016 at 3:37 PM, Gervais de Montbrun <gervais@demontbrun.com <mailto:gervais@demontbrun.com>> wrote:
Hi Charles, =20 I think the problem I am having is due to the setup failing and = not something in vdsm configs as I have never gotten this server to = start up properly and the BRIDGE ethernet interface + ovirt routes are not = setup. =20 I put the logs here: = https://www.dropbox.com/sh/5ugyykqh1lgru9l/AACXxRYWr3tgd0WbBVFW5twHa?dl=3D= 0 = <https://www.dropbox.com/sh/5ugyykqh1lgru9l/AACXxRYWr3tgd0WbBVFW5twHa?dl=3D= 0> =20 hosted-engine--deploy-logs.zip # Logs from when I tried to deploy = and it failed vdsm.tar.gz # /var/log/vdsm =20 Output from running vdsm from the command line: =20 [root@cultivar2 log]# su -s /bin/bash vdsm =20 This cannot work unless supervdsmd is running... =20 [vdsm@cultivar2 log]$ python /usr/share/vdsm/vdsm (PID: 6521) I am the actual vdsm 4.17.26-1.el7 cultivar2.grove.silverorange.com = <http://cultivar2.grove.silverorange.com/> (3.10.0-327.el7.x86_64) VDSM will run with cpu affinity: frozenset([1]) /usr/bin/taskset --all-tasks --pid --cpu-list 1 6521 (cwd None) SUCCESS: <err> =3D ''; <rc> =3D 0 Starting scheduler vdsm.Scheduler started Run and protect: registerDomainStateChangeCallback(callbackFunc=3D<functools.partial = object at 0x381b158>) Run and protect: registerDomainStateChangeCallback, Return = response: None Trying to connect to Super Vdsm Preparing MOM interface Using named unix socket /var/run/vdsm/mom-vdsm.sock Unregistering all secrests trying to connect libvirt recovery: started Setting channels' timeout to 30 seconds. Starting VM channels listener thread. Listening at 0.0.0.0:54321 <http://0.0.0.0:54321/> Adding detector <rpc.bindingxmlrpc.XmlDetector instance at = 0x3b4ecb0> recovery: completed in 0s Adding detector <yajsonrpc.stompreactor.StompDetector instance at = 0x382e5a8> Starting executor Starting worker jsonrpc.Executor/0 Worker started Starting worker jsonrpc.Executor/1 Worker started Starting worker jsonrpc.Executor/2 Worker started Starting worker jsonrpc.Executor/3 Worker started Starting worker jsonrpc.Executor/4 Worker started Starting worker jsonrpc.Executor/5 Worker started Starting worker jsonrpc.Executor/6 Worker started Starting worker jsonrpc.Executor/7 Worker started XMLRPC server running Starting executor Starting worker periodic/0 Worker started Starting worker periodic/1 Worker started Starting worker periodic/2 Worker started Starting worker periodic/3 Worker started trying to connect libvirt Panic: Connect to supervdsm service failed: [Errno 2] No such file = or directory Traceback (most recent call last): File "/usr/share/vdsm/supervdsm.py", line 78, in _connect utils.retry(self._manager.connect, Exception, timeout=3D60, =
--Apple-Mail=_A414C3C1-7D9D-40A8-893C-E947527ADD60 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Roy, 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: = http://lists.ovirt.org/pipermail/users/2014-November/028870.html 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. 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. Thanks to everyone who offered advice and suggestions. Cheers, Gervais dl=3D0 = <https://www.dropbox.com/sh/21lkl6ao3hv2r85/AADDMCK4Dp7UYgs5P6dMQxHKa/vdsm= ?dl=3D0> the failed event for certificate enrollment. the install log to a path under your engine. Please include this as = well. tries=3D3)
File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 959, = in retry return func() File "/usr/lib64/python2.7/multiprocessing/managers.py", line 500, = in connect conn =3D Client(self._address, authkey=3Dself._authkey) File "/usr/lib64/python2.7/multiprocessing/connection.py", line = 173, in Client c =3D SocketClient(address) File "/usr/lib64/python2.7/multiprocessing/connection.py", line = 308, in SocketClient s.connect(address) File "/usr/lib64/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) error: [Errno 2] No such file or directory =20 Vdsm tries to connect to supervdsmd on startup, and if it is not = running it will fail. =20 You can do: =20 systemctl start supervdsmd =20 And they you can run vdsmd from the shell. =20 But why do you need to run vdsm from the shell? =20 Nir =20 =20 =20
Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users = <http://lists.ovirt.org/mailman/listinfo/users> =20 =20 =20
--Apple-Mail=_A414C3C1-7D9D-40A8-893C-E947527ADD60 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D"">Roy,<div class=3D""><br class=3D""></div><div class=3D"">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: <a = href=3D"http://lists.ovirt.org/pipermail/users/2014-November/028870.html" = class=3D"">http://lists.ovirt.org/pipermail/users/2014-November/028870.htm= l</a></div><div class=3D"">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=3D""><div = class=3D""><br class=3D"webkit-block-placeholder"></div><div class=3D"">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=3D""><br = class=3D""></div><div class=3D"">Thanks to everyone who offered advice = and suggestions.</div><div class=3D""> <div id=3D"signature" class=3D""><br class=3D"">Cheers,<br = class=3D"">Gervais<br class=3D""><br class=3D""><br class=3D""></div> </div> <br class=3D""><div><blockquote type=3D"cite" class=3D""><div = class=3D"">On May 16, 2016, at 2:04 PM, Gervais de Montbrun <<a = href=3D"mailto:gervais@demontbrun.com" = class=3D"">gervais@demontbrun.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><meta = http-equiv=3D"Content-Type" content=3D"text/html charset=3Dus-ascii" = class=3D""><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dus-ascii" class=3D""><meta http-equiv=3D"Content-Type" = content=3D"text/html charset=3Dus-ascii" class=3D""><div = style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space;" class=3D"">Hi Roy,<div = class=3D""><br class=3D""></div><div class=3D"">I've = added /var/log/ovirt-engine/engine.log to my DropBox: <a = href=3D"https://www.dropbox.com/sh/21lkl6ao3hv2r85/AADDMCK4Dp7UYgs5P6dMQxH= Ka/vdsm?dl=3D0" = class=3D"">https://www.dropbox.com/sh/21lkl6ao3hv2r85/AADDMCK4Dp7UYgs5P6dM= QxHKa/vdsm?dl=3D0</a></div><div class=3D""><br class=3D""></div><div = class=3D"">When I look in the engine.log, I see the error "unable to = load number from serial.txt"</div><div class=3D"">I did a find for = serial.txt and the only file that comes up = is: /etc/pki/ovirt-engine/serial.txt </div><div = class=3D"">(Makes sense that this is the file it wants to = read)</div><div class=3D"">When I = open /etc/pki/ovirt-engine/serial.txt, it is an empty = file. </div><div class=3D""><span class=3D"Apple-tab-span" = style=3D"white-space:pre"> = </span>[root@cultivar ovirt-engine]# cat = /etc/pki/ovirt-engine/serial.txt</div><span class=3D"Apple-tab-span" = style=3D"white-space:pre"> = </span>[root@cultivar ovirt-engine]# <div class=3D""><br = class=3D""></div><div class=3D"">What should be in serial.txt?</div><div = class=3D""><br class=3D""></div><div class=3D"">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=3D""><div class=3D""> <div id=3D"signature" class=3D""><br class=3D"">Cheers,<br = class=3D"">Gervais<br class=3D""><br class=3D""><br class=3D""></div> </div> <br class=3D""><div class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D"">On May 15, 2016, at 5:10 PM, Roy Golan <<a = href=3D"mailto:rgolan@redhat.com" class=3D"">rgolan@redhat.com</a>> = wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div = dir=3D"ltr" class=3D""><br class=3D""><div class=3D"gmail_extra"><br = class=3D""><div class=3D"gmail_quote">On Sun, May 15, 2016 at 1:32 AM, = Gervais de Montbrun <span dir=3D"ltr" class=3D""><<a = href=3D"mailto:gervais@demontbrun.com" target=3D"_blank" = class=3D"">gervais@demontbrun.com</a>></span> wrote:<br = class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"><div = style=3D"word-wrap:break-word" class=3D"">Hey Folks,<div class=3D""><br = class=3D""></div><div class=3D"">I'm still stuck here... I believe the = issue may be because the Enrolling certificates stage is = failing...</div><div class=3D""><br class=3D""></div><div class=3D"">Any = idea's how to sort this out?</div><div class=3D""><br = class=3D""></div><div class=3D"">I see:</div><div class=3D""><span = style=3D"white-space:pre-wrap" class=3D""> </span>Installing Host = Cultivar2. Enrolling certificate</div><div class=3D""><span = style=3D"white-space:pre-wrap" class=3D""> </span>Failed to install = Host Cultivar2. Certificate enrollment failed.</div><div class=3D""><span = style=3D"white-space:pre-wrap" class=3D""> </span>Host Cultivar2 = installation failed. Certificate enrollement failed.</div><div = class=3D""><br class=3D""></div><div class=3D"">Any attempt to = re-install fails at this step.</div><div class=3D""><div class=3D""> <div class=3D""><br class=3D"">Cheers,<br class=3D"">Gervais<br = class=3D""><br class=3D""><br = class=3D""></div></div></div></div></blockquote><div class=3D""><br = class=3D""></div><div class=3D"">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=3D""> </div><blockquote class=3D"gmail_quote" = style=3D"margin:0 0 0 .8ex;border-left:1px #ccc = solid;padding-left:1ex"><div style=3D"word-wrap:break-word" = class=3D""><div class=3D""><div class=3D""><div class=3D""></div> </div><div class=3D""><div class=3D"h5"> <br class=3D""><div class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D"">On May 13, 2016, at 1:36 PM, Gervais de Montbrun <<a = href=3D"mailto:gervais@demontbrun.com" target=3D"_blank" = class=3D"">gervais@demontbrun.com</a>> wrote:</div><br class=3D""><div = class=3D""><div dir=3D"ltr" class=3D""><div dir=3D"auto" = style=3D"word-wrap:break-word" class=3D"">Hi Nir,<br class=3D""><br = class=3D"">Thank you for you input.<br class=3D""><br class=3D"">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=3D"http://lists.ovirt.org/pipermail/users/2016-May/039690.html" = target=3D"_blank" = class=3D"">http://lists.ovirt.org/pipermail/users/2016-May/039690.html</a>= <br class=3D""><br class=3D"">Cheers,<br class=3D"">Gervais<br = class=3D""><br class=3D""><br class=3D""><br class=3D""><blockquote = type=3D"cite" class=3D"">On May 13, 2016, at 12:12 PM, Nir Soffer <<a = href=3D"mailto:nsoffer@redhat.com" target=3D"_blank" = class=3D"">nsoffer@redhat.com</a>> wrote:<br class=3D""><br = class=3D"">On Fri, May 13, 2016 at 3:37 PM, Gervais de Montbrun<br = class=3D""><<a href=3D"mailto:gervais@demontbrun.com" target=3D"_blank"= class=3D"">gervais@demontbrun.com</a>> wrote:<br = class=3D""><blockquote type=3D"cite" class=3D"">Hi Charles,<br = class=3D""><br class=3D"">I think the problem I am having is due to the = setup failing and not<br class=3D"">something in vdsm configs as I have = never gotten this server to start up<br class=3D"">properly and the = BRIDGE ethernet interface + ovirt routes are not setup.<br class=3D""><br = class=3D"">I put the logs here:<br class=3D""><a = href=3D"https://www.dropbox.com/sh/5ugyykqh1lgru9l/AACXxRYWr3tgd0WbBVFW5tw= Ha?dl=3D0" target=3D"_blank" = class=3D"">https://www.dropbox.com/sh/5ugyykqh1lgru9l/AACXxRYWr3tgd0WbBVFW= 5twHa?dl=3D0</a><br class=3D""><br = class=3D"">hosted-engine--deploy-logs.zip # Logs from when I tried to = deploy and it<br class=3D"">failed<br class=3D"">vdsm.tar.gz # = /var/log/vdsm<br class=3D""><br class=3D"">Output from running vdsm from = the command line:<br class=3D""><br class=3D"">[root@cultivar2 log]# su = -s /bin/bash vdsm<br class=3D""></blockquote><br class=3D"">This cannot = work unless supervdsmd is running...<br class=3D""><br = class=3D""><blockquote type=3D"cite" class=3D"">[vdsm@cultivar2 log]$ = python /usr/share/vdsm/vdsm<br class=3D"">(PID: 6521) I am the actual = vdsm 4.17.26-1.el7<br class=3D""><a = href=3D"http://cultivar2.grove.silverorange.com/" target=3D"_blank" = class=3D"">cultivar2.grove.silverorange.com</a> = (3.10.0-327.el7.x86_64)<br class=3D"">VDSM will run with cpu affinity: = frozenset([1])<br class=3D"">/usr/bin/taskset --all-tasks --pid = --cpu-list 1 6521 (cwd None)<br class=3D"">SUCCESS: <err> =3D ''; = <rc> =3D 0<br class=3D"">Starting scheduler vdsm.Scheduler<br = class=3D"">started<br class=3D"">Run and protect:<br = class=3D"">registerDomainStateChangeCallback(callbackFunc=3D<functools.= partial object at<br class=3D"">0x381b158>)<br class=3D"">Run and = protect: registerDomainStateChangeCallback, Return response: None<br = class=3D"">Trying to connect to Super Vdsm<br class=3D"">Preparing MOM = interface<br class=3D"">Using named unix socket = /var/run/vdsm/mom-vdsm.sock<br class=3D"">Unregistering all secrests<br = class=3D"">trying to connect libvirt<br class=3D"">recovery: started<br = class=3D"">Setting channels' timeout to 30 seconds.<br class=3D"">Starting= VM channels listener thread.<br class=3D"">Listening at <a = href=3D"http://0.0.0.0:54321/" target=3D"_blank" = class=3D"">0.0.0.0:54321</a><br class=3D"">Adding detector = <rpc.bindingxmlrpc.XmlDetector instance at 0x3b4ecb0><br = class=3D"">recovery: completed in 0s<br class=3D"">Adding detector = <yajsonrpc.stompreactor.StompDetector instance at 0x382e5a8><br = class=3D"">Starting executor<br class=3D"">Starting worker = jsonrpc.Executor/0<br class=3D"">Worker started<br class=3D"">Starting = worker jsonrpc.Executor/1<br class=3D"">Worker started<br = class=3D"">Starting worker jsonrpc.Executor/2<br class=3D"">Worker = started<br class=3D"">Starting worker jsonrpc.Executor/3<br = class=3D"">Worker started<br class=3D"">Starting worker = jsonrpc.Executor/4<br class=3D"">Worker started<br class=3D"">Starting = worker jsonrpc.Executor/5<br class=3D"">Worker started<br = class=3D"">Starting worker jsonrpc.Executor/6<br class=3D"">Worker = started<br class=3D"">Starting worker jsonrpc.Executor/7<br = class=3D"">Worker started<br class=3D"">XMLRPC server running<br = class=3D"">Starting executor<br class=3D"">Starting worker periodic/0<br = class=3D"">Worker started<br class=3D"">Starting worker periodic/1<br = class=3D"">Worker started<br class=3D"">Starting worker periodic/2<br = class=3D"">Worker started<br class=3D"">Starting worker periodic/3<br = class=3D"">Worker started<br class=3D"">trying to connect libvirt<br = class=3D"">Panic: Connect to supervdsm service failed: [Errno 2] No such = file or<br class=3D"">directory<br class=3D"">Traceback (most recent = call last):<br class=3D"">File "/usr/share/vdsm/supervdsm.py", line 78, = in _connect<br class=3D""> utils.retry(self._manager.connect, = Exception, timeout=3D60, tries=3D3)<br class=3D"">File = "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 959, in retry<br = class=3D""> return func()<br class=3D"">File = "/usr/lib64/python2.7/multiprocessing/managers.py", line 500, in<br = class=3D"">connect<br class=3D""> conn =3D Client(self._address, = authkey=3Dself._authkey)<br class=3D"">File = "/usr/lib64/python2.7/multiprocessing/connection.py", line 173, in<br = class=3D"">Client<br class=3D""> c =3D SocketClient(address)<br = class=3D"">File "/usr/lib64/python2.7/multiprocessing/connection.py", = line 308, in<br class=3D"">SocketClient<br class=3D""> = s.connect(address)<br class=3D"">File = "/usr/lib64/python2.7/socket.py", line 224, in meth<br class=3D""> = return getattr(self._sock,name)(*args)<br class=3D"">error: [Errno = 2] No such file or directory<br class=3D""></blockquote><br = class=3D"">Vdsm tries to connect to supervdsmd on startup, and if it is = not running<br class=3D"">it will fail.<br class=3D""><br class=3D"">You = can do:<br class=3D""><br class=3D"">systemctl start supervdsmd<br = class=3D""><br class=3D"">And they you can run vdsmd from the shell.<br = class=3D""><br class=3D"">But why do you need to run vdsm from the = shell?<br class=3D""><br class=3D"">Nir<br class=3D""></blockquote><br = class=3D""></div></div> </div></blockquote></div><br class=3D""></div></div></div></div><br = class=3D"">_______________________________________________<br class=3D""> Users mailing list<br class=3D""> <a href=3D"mailto:Users@ovirt.org" class=3D"">Users@ovirt.org</a><br = class=3D""> <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" = rel=3D"noreferrer" target=3D"_blank" = class=3D"">http://lists.ovirt.org/mailman/listinfo/users</a><br = class=3D""> <br class=3D""></blockquote></div><br class=3D""></div></div> </div></blockquote></div><br = class=3D""></div></div></div></blockquote></div><br = class=3D""></div></body></html>= --Apple-Mail=_A414C3C1-7D9D-40A8-893C-E947527ADD60--