[ovirt-users] Error in starting vdsm in host

Sandro Bonazzola sbonazzo at redhat.com
Fri Apr 7 18:49:00 UTC 2017


Il 07/Apr/2017 19:53, "shubham dubey" <sdubey504 at gmail.com> ha scritto:

Hello,
I am trying to install and configure vdsm in a newly created centos 7.3.The
packages that I have installed is vdsm, vdsm-cli and libvirtd.


May I ask why are you trying to run vdsm by hand on the host?



Now when I am trying to start the vdsm service I am getting this error.

[root at localhost ~]# systemctl start vdsmd




Please set a hostname on the host. Localhost won't work very well.

Did you configure vdsm before trying to start it?
Something like "vdsm-tool configure".


Job for vdsmd.service failed because the control process exited with error
code. See "systemctl status vdsmd.service" and "journalctl -xe" for details.

[root at localhost ~]# journalctl -xe
-- The result is failed.
Apr 07 23:06:47 localhost.localdomain systemd[1]: Dependency failed for MOM
instance configured for VDSM purposes.
-- Subject: Unit mom-vdsm.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit mom-vdsm.service has failed.
-- 
-- The result is dependency.
Apr 07 23:06:47 localhost.localdomain systemd[1]: Job
mom-vdsm.service/start failed with result 'dependency'.
Apr 07 23:06:47 localhost.localdomain systemd[1]: Unit vdsmd.service
entered failed state.
Apr 07 23:06:47 localhost.localdomain systemd[1]: vdsmd.service failed.
Apr 07 23:06:47 localhost.localdomain systemd[1]: Cannot add dependency job
for unit lvm2-lvmetad.socket, ignoring: Invalid re
Apr 07 23:06:47 localhost.localdomain systemd[1]: vdsmd.service holdoff
time over, scheduling restart.
Apr 07 23:06:47 localhost.localdomain systemd[1]: Cannot add dependency job
for unit lvm2-lvmetad.socket, ignoring: Unit is ma
Apr 07 23:06:47 localhost.localdomain systemd[1]: start request repeated
too quickly for vdsmd.service
Apr 07 23:06:47 localhost.localdomain systemd[1]: Failed to start Virtual
Desktop Server Manager.
-- Subject: Unit vdsmd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit vdsmd.service has failed.
-- 
-- The result is failed.
Apr 07 23:06:47 localhost.localdomain systemd[1]: Dependency failed for MOM
instance configured for VDSM purposes.
-- Subject: Unit mom-vdsm.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit mom-vdsm.service has failed.
-- 
-- The result is dependency.
Apr 07 23:06:47 localhost.localdomain systemd[1]: Job
mom-vdsm.service/start failed with result 'dependency'.
Apr 07 23:06:47 localhost.localdomain systemd[1]: Unit vdsmd.service
entered failed state.
Apr 07 23:06:47 localhost.localdomain systemd[1]: vdsmd.service failed.

the momd service output is

[root at localhost ~]# systemctl status momd
● momd.service - Memory Overcommitment Manager Daemon
   Loaded: loaded (/usr/lib/systemd/system/momd.service; static; vendor
preset: disabled)
   Active: inactive (dead) since Fri 2017-04-07 23:15:32 IST; 3s ago
  Process: 13031 ExecStart=/usr/sbin/momd -c /etc/momd.conf -d --pid-file
/var/run/momd.pid (code=exited, status=0/SUCCESS)
 Main PID: 13034 (code=exited, status=0/SUCCESS)

Apr 07 23:15:32 localhost.localdomain systemd[1]: Starting Memory
Overcommitment Manager Daemon...
Apr 07 23:15:32 localhost.localdomain systemd[1]: PID file
/var/run/momd.pid not readable (yet?) after start.
Apr 07 23:15:32 localhost.localdomain systemd[1]: Started Memory
Overcommitment Manager Daemon.
Apr 07 23:15:32 localhost.localdomain python[13034]: No worthy mechs found


the output for starting mom-vdsm service is

[root at localhost ~]# systemctl restart mom-vdsm.service
A dependency job for mom-vdsm.service failed. See 'journalctl -xe' for
details.
[root at localhost ~]# journalctl -xe
-- The result is failed.
Apr 07 23:18:40 localhost.localdomain systemd[1]: Dependency failed for MOM
instance configured for VDSM purposes.
-- Subject: Unit mom-vdsm.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit mom-vdsm.service has failed.
-- 
-- The result is dependency.
Apr 07 23:18:40 localhost.localdomain systemd[1]: Job
mom-vdsm.service/start failed with result 'dependency'.
Apr 07 23:18:40 localhost.localdomain systemd[1]: Unit vdsmd.service
entered failed state.
Apr 07 23:18:40 localhost.localdomain systemd[1]: vdsmd.service failed.
Apr 07 23:18:40 localhost.localdomain systemd[1]: Cannot add dependency job
for unit lvm2-lvmetad.socket, ignoring: Invalid re
Apr 07 23:18:40 localhost.localdomain systemd[1]: vdsmd.service holdoff
time over, scheduling restart.
Apr 07 23:18:40 localhost.localdomain systemd[1]: Cannot add dependency job
for unit lvm2-lvmetad.socket, ignoring: Unit is ma
Apr 07 23:18:40 localhost.localdomain systemd[1]: start request repeated
too quickly for vdsmd.service
Apr 07 23:18:40 localhost.localdomain systemd[1]: Failed to start Virtual
Desktop Server Manager.
-- Subject: Unit vdsmd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit vdsmd.service has failed.
-- 
-- The result is failed.
Apr 07 23:18:40 localhost.localdomain systemd[1]: Dependency failed for MOM
instance configured for VDSM purposes.
-- Subject: Unit mom-vdsm.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit mom-vdsm.service has failed.
-- 
-- The result is dependency.
Apr 07 23:18:40 localhost.localdomain systemd[1]: Job
mom-vdsm.service/start failed with result 'dependency'.
Apr 07 23:18:40 localhost.localdomain systemd[1]: Unit vdsmd.service
entered failed state.
Apr 07 23:18:40 localhost.localdomain systemd[1]: vdsmd.service failed.


Thanks,
Shubham

_______________________________________________
Users mailing list
Users at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170407/16d6de8b/attachment.html>


More information about the Users mailing list