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