Bug 1263983 - systemd[1]: [/usr/lib/systemd/system/momd.service:11] Unknown lvalue 'Timeout' in section 'Service'
Summary: systemd[1]: [/usr/lib/systemd/system/momd.service:11] Unknown lvalue 'Timeout...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: mom
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ovirt-3.6.6
: 3.6.6
Assignee: Andrej Krejcir
QA Contact: Shira Maximov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-17 09:12 UTC by Fabian Deutsch
Modified: 2016-06-13 10:38 UTC (History)
15 users (show)

Fixed In Version: mom-0.5.3-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-13 10:38:32 UTC
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 53468 0 master MERGED Fix momd.service file syntax 2016-02-15 09:43:45 UTC

Description Fabian Deutsch 2015-09-17 09:12:03 UTC
Description of problem:
mom can not be started on RHEV-H 3.6.0:
[   21.275662] localhost systemd[1]: [/usr/lib/systemd/system/momd.service:11] Unknown lvalue 'Timeout' in section 'Service'

Version-Release number of selected component (if applicable):
RHEV-H 3.6 build

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Fabian Deutsch 2015-09-17 09:12:52 UTC
Maybe TimeoutSec should be used for the lvalue?

Comment 2 Adam Litke 2015-09-17 13:06:07 UTC
Martin, can you take point on this one please?

Comment 3 Martin Sivák 2015-09-17 15:07:21 UTC
I will take care of that, but have this ever worked on any other systemd based system? Because I just saw a system where this was fine.

Comment 4 Martin Sivák 2015-09-17 15:10:07 UTC
Ah... you are using a wrong service. It should be vdsm-mom.service as momd.service is the standalone mode.

Comment 5 Yaniv Kaul 2016-01-26 12:09:54 UTC
Re-opening, just saw it on my lago setup:
Jan 26 05:49:19 lago_basic_suite_3_6_host0 systemd: [/usr/lib/systemd/system/momd.service:11] Unknown lvalue 'Timeout' in section 'Service'

[root@lago_basic_suite_3_6_host0 ~]# rpm -qa |grep mom
mom-0.5.1-2.el7.noarch

[root@lago_basic_suite_3_6_host0 ~]# cat /usr/lib/systemd/system/momd.service
[Unit]
Description=Memory Overcommitment Manager Daemon
After=libvirtd.service

[Service]
Type=forking
PIDFile=/var/run/momd.pid
User=root
Group=root
ExecStart=/usr/sbin/momd -c /etc/momd.conf -d --pid-file /var/run/momd.pid
Timeout=60
Restart=on-abort


[root@lago_basic_suite_3_6_host0 ~]# rpm -qa |grep vdsm
vdsm-python-4.17.18-0.el7.centos.noarch
vdsm-yajsonrpc-4.17.18-0.el7.centos.noarch
vdsm-4.17.18-0.el7.centos.noarch
vdsm-infra-4.17.18-0.el7.centos.noarch
vdsm-hook-vmfex-dev-4.17.18-0.el7.centos.noarch
vdsm-xmlrpc-4.17.18-0.el7.centos.noarch
vdsm-jsonrpc-4.17.18-0.el7.centos.noarch
vdsm-cli-4.17.18-0.el7.centos.noarch

Comment 7 Doron Fediuck 2016-01-26 13:34:49 UTC
Yaniv, which mom version are you using?

Comment 8 Martin Sivák 2016-01-26 14:17:36 UTC
Yaniv, you are using a wrong service. Please disable mom.service and use mom-vdsm.service.

Comment 9 Fabian Deutsch 2016-01-26 14:25:29 UTC
If mom.service is wrong, why is it enabled?

Comment 10 Martin Sivák 2016-01-26 14:59:23 UTC
No idea really, vdsm uses mom-vdsm and that one conflicts with plain momd.

Comment 11 Yaniv Kaul 2016-01-26 15:08:30 UTC
(In reply to Martin Sivák from comment #8)
> Yaniv, you are using a wrong service. Please disable mom.service and use
> mom-vdsm.service.

This is what I've got when using Lago. I believe Lago hosts have 7.1 installed - I certainly did not install anything manually.
If the base image has something wrong, we need to fix it - but I'd certainly expect VDSM installation to disable or warn or something on whatever is bothering it.

Comment 12 Roy Golan 2016-02-10 10:32:08 UTC
This is not related to ovirt specifically as we have mom-vdsm.service and we should hit that unless you started intentionally momd.service (this is used by some upstream users, not using ovirt)

Martin/Andrej just needs to make sure the syntax of momd.service file is valid in this systemd version.

Comment 13 Sandro Bonazzola 2016-04-27 13:41:13 UTC
Martin I don't see any mom build in 3.6.6, can you check the status of this bug?

Comment 14 Martin Sivák 2016-04-27 14:30:54 UTC
Take the one from 3.6.5...

Comment 15 Yaniv Lavi 2016-05-05 12:28:38 UTC
Should this be on qa?

Comment 16 Gil Klein 2016-05-05 15:10:42 UTC
Moving to ovirt-3.6.6 for verification as 3.6.5 is already out.

Comment 17 Shira Maximov 2016-05-09 15:38:55 UTC
please add verification steps

Comment 18 Martin Sivák 2016-05-10 09:00:56 UTC
Check the systemd log for errors during unit loading and try to start momd service.

Comment 19 Shira Maximov 2016-05-19 10:21:43 UTC
verified on :
Red Hat Enterprise Virtualization Manager Version: 3.6.6.2-0.1.el6


verification steps:

service vdsmd stop
service mom-vdsm stop
service momd start
systemctl daemon-reload
journalctl -u momd.service ->> check that there are no errors about the Timeout.


Note You need to log in before you can comment on or make changes to this bug.