<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 1, 2015 at 3:15 PM, Will Dennis <span dir="ltr">&lt;<a href="mailto:wdennis@nec-labs.com" target="_blank">wdennis@nec-labs.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I believe sudo is NOT setup for passwordless (then again, didn&#39;t see that in any pre-req instructions...) Who would be the sudoer in this case?<br></blockquote><div><br></div><div>It&#39;s not required to take any manual action.</div><div>Can you please try to reinstall vdsm from its rpms and try it again?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="im HOEnZb"><br>
-----Original Message-----<br>
From: Fabian Deutsch [mailto:<a href="mailto:fdeutsch@redhat.com">fdeutsch@redhat.com</a>]<br>
Sent: Tuesday, December 01, 2015 12:58 AM<br>
To: Will Dennis<br>
</span><div class="HOEnZb"><div class="h5">Cc: Simone Tiraboschi; users<br>
Subject: Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start<br>
<br>
On Tue, Dec 1, 2015 at 4:52 AM, Will Dennis &lt;<a href="mailto:wdennis@nec-labs.com">wdennis@nec-labs.com</a>&gt; wrote:<br>
&gt; Any clues out of the strace of vdsm?<br>
<br>
read(9, &quot;sudo: a password is required\n&quot;, 4096) = 29<br>
<br>
Could it be that sudo is not configured to operate passwordless?<br>
<br>
The strat-up can then fail, because sudo requires a ty, but this isn&#39;t available during service start.<br>
<br>
- fabian<br>
<br>
<br>
<br>
&gt; From: Willard Dennis [mailto:<a href="mailto:wdennis@nec-labs.com">wdennis@nec-labs.com</a>]<br>
&gt; Sent: Wednesday, November 25, 2015 12:58 PM<br>
&gt; To: Simone Tiraboschi<br>
&gt; Cc: users<br>
&gt; Subject: Re: [ovirt-users] Problem with hosted engine setup - vsdmd<br>
&gt; does not start<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; strace output:<br>
&gt;<br>
&gt; <a href="https://gist.githubusercontent.com/wdennis/d9913d8064af6a6b2c36/raw/6a" rel="noreferrer" target="_blank">https://gist.githubusercontent.com/wdennis/d9913d8064af6a6b2c36/raw/6a</a><br>
&gt; 33f7d9ba7da72ff9be7a15e2e81e5d06ad0fc5/vdsm-strace.txt<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Nov 25, 2015, at 11:29 AM, Simone Tiraboschi &lt;<a href="mailto:stirabos@redhat.com">stirabos@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Nov 25, 2015 at 5:22 PM, Willard Dennis &lt;<a href="mailto:wdennis@nec-labs.com">wdennis@nec-labs.com</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt; [root@ovirt-node-01 ~]# sudo -u vdsm /bin/bash<br>
&gt;<br>
&gt; bash-4.2$ /usr/share/vdsm/vdsm<br>
&gt;<br>
&gt; bash-4.2$ echo $?<br>
&gt;<br>
&gt; 1<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Can you please use strace on it?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Nov 25, 2015, at 11:16 AM, Simone Tiraboschi &lt;<a href="mailto:stirabos@redhat.com">stirabos@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Nov 25, 2015 at 5:09 PM, Willard Dennis &lt;<a href="mailto:wdennis@nec-labs.com">wdennis@nec-labs.com</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Nov 25, 2015, at 10:37 AM, Simone Tiraboschi &lt;<a href="mailto:stirabos@redhat.com">stirabos@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Nov 25, 2015 at 4:20 PM, Will Dennis &lt;<a href="mailto:wdennis@nec-labs.com">wdennis@nec-labs.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Simone,<br>
&gt;<br>
&gt; Looks like the vdsm log is empty...<br>
&gt;<br>
&gt; [root@ovirt-node-01 ~]# ls -l /var/log/vdsm/vdsm.log<br>
&gt; -rw-r--r-- 1 vdsm kvm 0 Nov 23 15:41 /var/log/vdsm/vdsm.log<br>
&gt;<br>
&gt; Yes, I did execute the ‘vdsm-tool configure –force’ command before the<br>
&gt; restart, looks like it worked OK, but still the same problem with<br>
&gt; starting vdsm...<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Can you please try manually run /usr/share/vdsm/vdsm as vdsm user?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; [root@ovirt-node-01 ~]# su - vdsm<br>
&gt;<br>
&gt; This account is currently not available.<br>
&gt;<br>
&gt; [root@ovirt-node-01 ~]#<br>
&gt;<br>
&gt; [root@ovirt-node-01 ~]# grep vdsm /etc/passwd<br>
&gt;<br>
&gt; vdsm:x:36:36:Node Virtualization Manager:/var/lib/vdsm:/sbin/nologin<br>
&gt;<br>
&gt; [root@ovirt-node-01 ~]# runuser -l vdsm -c &#39;/usr/share/vdsm/vdsm&#39;<br>
&gt;<br>
&gt; This account is currently not available.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; [root@tiramd1 ~]# sudo -u vdsm /bin/bash<br>
&gt;<br>
&gt; bash-4.2$ whoami<br>
&gt;<br>
&gt; vdsm<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
Fabian Deutsch &lt;<a href="mailto:fdeutsch@redhat.com">fdeutsch@redhat.com</a>&gt;<br>
RHEV Hypervisor<br>
Red Hat<br>
</div></div></blockquote></div><br></div></div>