
On May 13, 2016, at 1:36 PM, Gervais de Montbrun = <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 =
=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=_B4BC9680-8BD9-4CBD-BC07-D9AE3227F522 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hey Folks, I'm still stuck here... I believe the issue may be because the Enrolling = certificates stage is failing... Any idea's how to sort this out? I see: Installing Host Cultivar2. Enrolling certificate Failed to install Host Cultivar2. Certificate enrollment failed. Host Cultivar2 installation failed. Certificate enrollement = failed. Any attempt to re-install fails at this step. Cheers, Gervais 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> 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
--Apple-Mail=_B4BC9680-8BD9-4CBD-BC07-D9AE3227F522 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"">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 class=3D"Apple-tab-span" = style=3D"white-space:pre"> </span>Installing Host Cultivar2. = Enrolling certificate</div><div class=3D""><span class=3D"Apple-tab-span" = style=3D"white-space:pre"> </span>Failed to install Host Cultivar2. = Certificate enrollment failed.</div><div class=3D""><span = class=3D"Apple-tab-span" style=3D"white-space:pre"> </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 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 13, 2016, at 1:36 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""><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></body></html>= --Apple-Mail=_B4BC9680-8BD9-4CBD-BC07-D9AE3227F522--