ovirt 添加主机时报Host node2 installation failed. Command returned failure code 1 during SSH session 'root@192.168.0.75'. 在这里我对yum源等做了检查,ssh连接也没有任何问题,检查vdsm及libvirt发现 [root@node2 yum.repos.d]# systemctl restart vdsmd A dependency job for vdsmd.service failed. See ‘journalctl -xe’ for details. [root@node2 yum.repos.d]# journalctl -xe Dec 17 10:13:50 node2.gzky.com systemd[1]: libvirtd.service: main process exited, code=exited, status=3/NOTIMPLEMENTED Dec 17 10:13:50 node2.gzky.com systemd[1]: Failed to start Virtualization daemon. – 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. Dec 17 10:13:50 node2.gzky.com systemd[1]: Unit libvirtd.service entered failed state. Dec 17 10:13:50 node2.gzky.com systemd[1]: libvirtd.service failed. Dec 17 10:13:51 node2.gzky.com systemd[1]: libvirtd.service holdoff time over, scheduling restart. Dec 17 10:13:51 node2.gzky.com systemd[1]: Cannot add dependency job for unit lvm2-lvmetad.socket, ignoring: Unit is masked. Dec 17 10:13:51 node2.gzky.com 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. Dec 17 10:13:51 node2.gzky.com systemd[1]: start request repeated too quickly for libvirtd.service Dec 17 10:13:51 node2.gzky.com systemd[1]: Failed to start Virtualization daemon. – 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. Dec 17 10:13:51 node2.gzky.com systemd[1]: Unit libvirtd.service entered failed state. Dec 17 10:13:51 node2.gzky.com systemd[1]: libvirtd.service failed. Dec 17 10:13:51 node2.gzky.com systemd[1]: start request repeated too quickly for supervdsmd.service Dec 17 10:13:51 node2.gzky.com systemd[1]: Failed to start Auxiliary vdsm service for running helper functions as root. – Subject: Unit supervdsmd.service has failed – Defined-By: systemd – Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel – Unit supervdsmd.service has failed. – The result is failed. Dec 17 10:13:51 node2.gzky.com systemd[1]: Unit supervdsmd.service entered failed state. Dec 17 10:13:51 node2.gzky.com systemd[1]: supervdsmd.service failed. [root@node2 yum.repos.d]# systemctl restart libvirtd Job for libvirtd.service failed because the control process exited with error code. See “systemctl status libvirtd.service” and “journalctl -xe” for details. [root@node2 yum.repos.d]# journalctl -xe – Unit libvirtd.service has failed. – The result is failed. Dec 17 10:14:32 node2.gzky.com systemd[1]: Unit libvirtd.service entered failed state. Dec 17 10:14:32 node2.gzky.com systemd[1]: libvirtd.service failed. Dec 17 10:14:32 node2.gzky.com systemd[1]: libvirtd.service holdoff time over, scheduling restart. Dec 17 10:14:32 node2.gzky.com systemd[1]: Cannot add dependency job for unit lvm2-lvmetad.socket, ignoring: Unit is masked. Dec 17 10:14:32 node2.gzky.com systemd[1]: Starting Virtualization daemon… – Subject: Unit libvirtd.service has begun start-up – Defined-By: systemd – Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel – Unit libvirtd.service has begun starting up. Dec 17 10:14:32 node2.gzky.com libvirtd[36026]: 2018-12-17 02:14:32.673+0000: 36026: info : libvirt version: 4.5.0, package: 10.el7_6.3 (CentOS BuildSystem http://bugs.centos.org, 2018- Dec 17 10:14:32 node2.gzky.com libvirtd[36026]: 2018-12-17 02:14:32.673+0000: 36026: info : hostname: node2.gzky.com Dec 17 10:14:32 node2.gzky.com libvirtd[36026]: 2018-12-17 02:14:32.673+0000: 36026: error : virModuleLoadFile:53 : internal error: Failed to load module '/usr/lib64/libvirt/storage-backe Dec 17 10:14:32 node2.gzky.com systemd[1]: libvirtd.service: main process exited, code=exited, status=3/NOTIMPLEMENTED Dec 17 10:14:32 node2.gzky.com systemd[1]: Failed to start Virtualization daemon. – 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. Dec 17 10:14:32 node2.gzky.com systemd[1]: Unit libvirtd.service entered failed state. Dec 17 10:14:32 node2.gzky.com systemd[1]: libvirtd.service failed. Dec 17 10:14:32 node2.gzky.com systemd[1]: libvirtd.service holdoff time over, scheduling restart. Dec 17 10:14:32 node2.gzky.com systemd[1]: Cannot add dependency job for unit lvm2-lvmetad.socket, ignoring: Unit is masked. Dec 17 10:14:32 node2.gzky.com systemd[1]: start request repeated too quickly for libvirtd.service Dec 17 10:14:32 node2.gzky.com systemd[1]: Failed to start Virtualization daemon. – 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. Dec 17 10:14:32 node2.gzky.com systemd[1]: Unit libvirtd.service entered failed state. Dec 17 10:14:32 node2.gzky.com systemd[1]: libvirtd.service failed. [root@node2 yum.repos.d]# tailf /var/log/messages Dec 17 10:14:32 node2 systemd: libvirtd.service: main process exited, code=exited, status=3/NOTIMPLEMENTED Dec 17 10:14:32 node2 systemd: Failed to start Virtualization daemon. Dec 17 10:14:32 node2 systemd: Unit libvirtd.service entered failed state. Dec 17 10:14:32 node2 systemd: libvirtd.service failed. Dec 17 10:14:32 node2 systemd: libvirtd.service holdoff time over, scheduling restart. Dec 17 10:14:32 node2 systemd: Cannot add dependency job for unit lvm2-lvmetad.socket, ignoring: Unit is masked. Dec 17 10:14:32 node2 systemd: start request repeated too quickly for libvirtd.service Dec 17 10:14:32 node2 systemd: Failed to start Virtualization daemon. Dec 17 10:14:32 node2 systemd: Unit libvirtd.service entered failed state. Dec 17 10:14:32 node2 systemd: libvirtd.service failed. 对此我猜测可能是libvirt版本过高与系统中特定包不一致导致,对此做了yum update -y 主机添加成功 有没有大牛对此理解比较深的具体升级哪一个包可以对libvirt兼容还望告知 (责任编辑:IT) |