[ovirt-users] Re: vdsmd.service stuck in state: activating

2018-11-12 Thread Giannino Stoppani
I've always used ovirt with enabled ssl until now, and I've done so only
 because it's instructed by oVirt doc:
https://www.ovirt.org/develop/developer-guide/vdsm/installing-vdsm-from-rpm/#installing--configuring-vdsm

Having ssl enabled, still lead to what I think are the same errors, as
you can see from the following and the attached logs.

# vi /etc/vdsm/vdsm.conf
[vars]
ssl = true

Restarting vdsmd will lead to failure (expectedly, as we've just
switched ssl mode):
# systemctl restart vdsmd
Job for vdsmd.service failed because the control process exited with
error code. See "systemctl status vdsmd.service" and "journalctl -xe"
for details.

So I'll reconfigure it:
# vdsm-tool configure --force
Checking configuration status...

abrt is already configured for vdsm
lvm is configured for vdsm
libvirt is already configured for vdsm
FAILED: conflicting vdsm and libvirt-qemu tls configuration.
vdsm.conf with ssl=True requires the following changes:
libvirtd.conf: listen_tcp=0, auth_tcp="sasl", listen_tls=1
qemu.conf: spice_tls=1.
Current revision of multipath.conf detected, preserving

Running configure...
Reconfiguration of abrt is done.
Reconfiguration of passwd is done.
Reconfiguration of libvirt is done.

Done configuring modules to VDSM.

As a quick check to see if everything has been configured correctly, I
run again the configuration and this time there won't be anything to be
done:
# vdsm-tool configure --force

Checking configuration status...

abrt is already configured for vdsm
lvm is configured for vdsm
libvirt is already configured for vdsm
SUCCESS: ssl configured to true. No conflicts
Current revision of multipath.conf detected, preserving

Running configure...
Reconfiguration of abrt is done.
Reconfiguration of passwd is done.
Reconfiguration of libvirt is done.

Done configuring modules to VDSM.

Starting vdsmd still fails:
# systemctl start vdsmd
Job for vdsmd.service failed because the control process exited with
error code. See "systemctl status vdsmd.service" and "journalctl -xe"
for details.

I've attached new logs  for ssl enabled as xz archive.

Il giorno mer 7 nov 2018 alle ore 12:07 Nir Soffer  ha
scritto:

> On Tue, Nov 6, 2018 at 3:58 PM Giannino Stoppani 
> wrote:
>
>> Thank you all for the replies, I'm sticking to bottom posting with 70
>> columns wide line, with the exception of log lines.
>>
>> On Wed, Oct 31, 2018 at 11:48 AM Shani Leviim  wrote:
>>
>>> I think that this one can help :
>>> https://www.ovirt.org/develop/developer-guide/vdsm/installing-vdsm-from-rpm/#installing--configuring-vdsm
>>> Make sure you've installed libvirt from the rpm as appeared on the link
>>> there.
>>>
>>
>> I've followed your link, from my notes I see I've already tested it in
>>  the beginning of my messing. I've set 'ssl = false' in
>> /etc/vdsm/vdsm.conf
>>
>
> Disabling ssl is not supported configuration. If can be used for debugging
> in development environment but it should not be used in production.
> This configuration is also not tested, so it is likely to break.
>
> Even if you disable ssl in vdsm, other parts of the system require ssl,
> like
> ovirt-imageio.
>
> Nir
>


vdsm_logs.2.xz
Description: application/xz
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BV6PZXA7IRKI5JUSOCMGPQY6M3PUULU5/


[ovirt-users] Re: vdsmd.service stuck in state: activating

2018-11-06 Thread Giannino Stoppani
Thank you all for the replies, I'm sticking to bottom posting with 70
columns wide line, with the exception of log lines.

On Wed, Oct 31, 2018 at 11:48 AM Shani Leviim  wrote:

> I think that this one can help :
> https://www.ovirt.org/develop/developer-guide/vdsm/installing-vdsm-from-rpm/#installing--configuring-vdsm
> Make sure you've installed libvirt from the rpm as appeared on the link
> there.
>

I've followed your link, from my notes I see I've already tested it in
 the beginning of my messing. I've set 'ssl = false' in
/etc/vdsm/vdsm.conf and run 'vdsm-tool configure --force'. Since it
has just commented out 'spice_tls=1', I've forced it to 'spice_tls=0'
(though it should give the same result as commenting out) and run once
 again 'vdsm-tool configure --force'.

There was no warning report about non-configured stuff. Vdsm still
fails to start.

I've attached 2 logs, compressed in one archive 'vdsm_logs.xz'.
These logs are:
1) vdsmd_journalctl.0.txt contains the result of
'journalctl -xe -u vdsmd'

2) vsdm_messages_err.1.txt contains the result of
'grep -i vdsm /var/log/messages'

Quick summary with what I think are the relevant lines from the logs:
# journalctl -xe -u vdsmd
[...]
Nov 06 14:18:28 onode1.ifac.cnr.it vdsmd_init_common.sh[18732]: vdsm:
Running tune_system
Nov 06 14:18:28 onode1.ifac.cnr.it vdsmd_init_common.sh[18732]: sysctl:
cannot stat /proc/sys/ssl: No such file or directory
Nov 06 14:18:28 onode1.ifac.cnr.it systemd[1]: vdsmd.service: control
process exited, code=exited status=1
Nov 06 14:18:28 onode1.ifac.cnr.it systemd[1]: Failed to start Virtual
Desktop Server Manager.
[...]

# grep -i vdsm /var/log/messages
[...]
Nov  6 14:24:59 onode1 vdsmd_init_common.sh: vdsm: Running tune_system
Nov  6 14:24:59 onode1 vdsmd_init_common.sh: sysctl: cannot stat
/proc/sys/ssl: No such file or directory
Nov  6 14:24:59 onode1 vdsmd_init_common.sh: vdsm: stopped during execute
tune_system task (task returned with error code 255).
Nov  6 14:24:59 onode1 systemd: vdsmd.service: control process exited,
code=exited status=1
Nov  6 14:24:59 onode1 systemd: Dependency failed for MOM instance
configured for VDSM purposes.
Nov  6 14:24:59 onode1 systemd: Job mom-vdsm.service/start failed with
result 'dependency'.
Nov  6 14:24:59 onode1 systemd: Unit vdsmd.service entered failed state.
Nov  6 14:24:59 onode1 systemd: vdsmd.service failed.
Nov  6 14:25:00 onode1 systemd: vdsmd.service holdoff time over, scheduling
restart.
[...]

I can't find anything on Google and in oVirt documentation regarding
these issues.


vdsm_logs.xz
Description: application/xz
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XVFD7J6IPWPOWKDUCGPP4TXGSHNYXN2P/