Description of problem: vdsmd service can't auto restart after reboot rhevh if virt-who is running at vdsm/rhevm mode before reboot rhevh. Version-Release number of selected component (if applicable): vdsm-4.16.27-1.el7ev.x86_64 Rhev-hypervisor7-7.2-20151019.2 + RHEV 3.5.5 How reproducible: Always Steps to Reproduce: 1. Add Rhev-hypervisor7-7.2-20151019.2 to RHEV 3.5.5 2. Register rhevh to satellite with TUI, make it run at vdsm mode, virt-who send h/g mapping to satellite normally. [root@localhost admin]# cat /etc/sysconfig/virt-who | grep -v ^# | grep -v ^$ VIRTWHO_DEBUG=1 VIRTWHO_INTERVAL=5 VIRTWHO_VDSM=1 [root@localhost admin]# systemctl restart virt-who 3. Restart rhevh system. After reboot successfully ,check vdsmd service [root@localhost admin]# systemctl status vdsmd ● vdsmd.service - Virtual Desktop Server Manager Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor preset: disabled) Active: inactive (dead) Nov 06 09:06:56 localhost systemd[1]: Dependency failed for Virtual Desktop Server Manager. Nov 06 09:06:56 localhost systemd[1]: Job vdsmd.service/start failed with result 'dependency'. Nov 06 09:06:56 localhost systemd[1]: Dependency failed for Virtual Desktop Server Manager. Nov 06 09:06:56 localhost systemd[1]: Job vdsmd.service/start failed with result 'dependency'. Nov 06 09:06:56 localhost systemd[1]: Dependency failed for Virtual Desktop Server Manager. Nov 06 09:06:56 localhost systemd[1]: Job vdsmd.service/start failed with result 'dependency'. Nov 06 09:06:57 localhost systemd[1]: Dependency failed for Virtual Desktop Server Manager. Nov 06 09:06:57 localhost systemd[1]: Job vdsmd.service/start failed with result 'dependency'. Nov 06 09:06:57 localhost systemd[1]: Dependency failed for Virtual Desktop Server Manager. Nov 06 09:06:57 localhost systemd[1]: Job vdsmd.service/start failed with result 'dependency'. [root@localhost admin]# systemctl restart vdsmd A dependency job for vdsmd.service failed. See 'journalctl -xe' for details. [root@localhost admin]# journalctl -xe -- Subject: Unit libvirtd.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit libvirtd.service has failed. -- -- The result is failed. Nov 06 09:11:23 localhost systemd[1]: Dependency failed for Virtual Desktop Server Manager network restoration. -- Subject: Unit vdsm-network.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit vdsm-network.service has failed. -- -- The result is dependency. Nov 06 09:11:23 localhost systemd[1]: Dependency failed for 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 dependency. Nov 06 09:11:23 localhost systemd[1]: Job vdsmd.service/start failed with result 'dependency'. Nov 06 09:11:23 localhost systemd[1]: Job vdsm-network.service/start failed with result 'dependency'. Nov 06 09:11:23 localhost systemd[1]: Unit libvirtd.service entered failed state. Nov 06 09:11:23 localhost systemd[1]: libvirtd.service failed. Nov 06 09:11:23 localhost systemd[1]: Stopping "Auxiliary vdsm service for running helper functions as root"... -- Subject: Unit supervdsmd.service has begun shutting down -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit supervdsmd.service has begun shutting down. Nov 06 09:11:23 localhost systemd[1]: Started "Auxiliary vdsm service for running helper functions as root". -- Subject: Unit supervdsmd.service has finished start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit supervdsmd.service has finished starting up. -- -- The start-up result is done. Nov 06 09:11:23 localhost systemd[1]: Starting "Auxiliary vdsm service for running helper functions as root"... -- Subject: Unit supervdsmd.service has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit supervdsmd.service has begun starting up. Nov 06 09:11:27 localhost python[2019]: Virt backend 'env/cmdline' fails with exception: Nov 06 09:11:27 localhost python[2019]: Waiting 5 seconds before retrying backend 'env/cmdline' [root@localhost admin]# systemctl status virt-who ● virt-who.service - Daemon for reporting virtual guest IDs to subscription-manager Loaded: loaded (/usr/lib/systemd/system/virt-who.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2015-11-06 09:06:31 UTC; 7min ago Main PID: 1994 (python) CGroup: /system.slice/virt-who.service ├─1994 /usr/bin/python /usr/share/virt-who/virtwho.pyc └─2019 /usr/bin/python /usr/share/virt-who/virtwho.pyc Actual results: After rhevh reboot successfully, vdsmd service can't restart auto or manually. please see the vdsm log in attachment. Expected results: After rhevh reboot successfully, vdsmd service can restart successfully. Additional info: If virt-who isn't running before reboot rhevh, it hasn't this problem.
Created attachment 1090531 [details] vdsm.log
Does teh node get up in RHEV-M?
In vdsm.log I see: Thread-20::DEBUG::2015-11-06 09:05:23,279::domainMonitor::201::Storage.DomainMonitorThread::(_monitorLoop) Unable to release the host id 1 for domain 55a2a114-13e2-413e-b886-fe25a092d75a Traceback (most recent call last): File "/usr/share/vdsm/storage/domainMonitor.py", line 198, in _monitorLoop File "/usr/share/vdsm/storage/sd.py", line 480, in releaseHostId File "/usr/share/vdsm/storage/clusterlock.py", line 252, in releaseHostId ReleaseHostIdFailure: Cannot release host id: (u'55a2a114-13e2-413e-b886-fe25a092d75a', SanlockException(16, 'Sanlock lockspace remove failure', 'Device or resource busy')) Thus it looks like a dupe of bug 1167074 *** This bug has been marked as a duplicate of bug 1167074 ***
(In reply to Fabian Deutsch from comment #2) > Does teh node get up in RHEV-M? When it occurred this problem, rhevh node was down in rhevm.
i have this problem when adding host on ovirt. [root@hosts1 ~]# systemctl status vdsmd ● vdsmd.service - Virtual Desktop Server Manager Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor preset: enabled) Active: inactive (dead) Oct 29 22:16:56 hosts1.seinformatica.com.py systemd[1]: Dependency failed for Virtual Desktop Server Manager. Oct 29 22:16:56 hosts1.seinformatica.com.py systemd[1]: Job vdsmd.service/start failed with result 'dependency'. Oct 29 22:17:22 hosts1.seinformatica.com.py systemd[1]: Dependency failed for Virtual Desktop Server Manager. Oct 29 22:17:22 hosts1.seinformatica.com.py systemd[1]: Job vdsmd.service/start failed with result 'dependency'. Oct 29 22:25:59 hosts1.seinformatica.com.py systemd[1]: Dependency failed for Virtual Desktop Server Manager. Oct 29 22:25:59 hosts1.seinformatica.com.py systemd[1]: Job vdsmd.service/start failed with result 'dependency'. how can i resolve?
Could you provide your rhevh and ovirt's version? Thanks.
I use centos 7, and the version of ovirt4.0
Since we haven't met this problem after this bug resolved, could you report a bug directly? thanks. (In reply to Matias Spaini from comment #7) > I use centos 7, and the version of ovirt4.0