这是我在engine.log查看到的部分错误日志
ERROR [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-40) [78c10939] Command 'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' failed: EngineException: (Failed with error Connection refused (Connection refused) and code 5050)
2020-02-11 16:39:47,145+08 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [222aedbe-c862-46e2-92f7-6c4d69377800] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during installation of Host 10.10.11.44: Yum Cannot queue package dmidecode: Cannot find a valid baseurl for repo: extras/7/x86_64.
2020-02-11 16:39:47,153+08 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [222aedbe-c862-46e2-92f7-6c4d69377800] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during installation of Host 10.10.11.44: Failed to execute stage 'Environment packages setup': Cannot find a valid baseurl for repo: extras/7/x86_64.
2020-02-11 16:39:47,448+08 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (EE-ManagedThreadFactory-engine-Thread-772977) [222aedbe-c862-46e2-92f7-6c4d69377800] SSH error running command root@10.10.11.44:'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX "${MYTMP}" > /dev/null 2>&1; rm -fr "${MYTMP}" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x && "${MYTMP}"/ovirt-host-deploy DIALOG/dialect=str:machine DIALOG/customization=bool:True': IOException: Command returned failure code 1 during SSH session 'root@10.10.11.44'
2020-02-11 16:39:47,449+08 ERROR [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (EE-ManagedThreadFactory-engine-Thread-772977) [222aedbe-c862-46e2-92f7-6c4d69377800] Error during host 10.10.11.44 install
2020-02-11 16:39:47,451+08 ERROR [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (EE-ManagedThreadFactory-engine-Thread-772977) [222aedbe-c862-46e2-92f7-6c4d69377800] Host installation failed for host 'd369faf1-2dff-4e2f-98c3-551348bcbcfc', '10.10.11.44': Command returned failure code 1 during SSH session 'root@10.10.11.44'
2020-02-11 16:39:47,470+08 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-772977) [222aedbe-c862-46e2-92f7-6c4d69377800] EVENT_ID: VDS_INSTALL_FAILED(505), Host 10.10.11.44 installation failed. Command returned failure code 1 during SSH session 'root@10.10.11.44'.
2020-02-11 16:43:37,023+08 ERROR [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-46) [58720777] Command 'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' failed: EngineException: (Failed with error Connection refused (Connection refused) and code 5050)
2020-02-11 16:48:37,043+08 ERROR [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-59) [77a32861] Command 'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' failed: EngineException: (Failed with error Connection refused (Connection refused) and code 5050)
2020-02-11 16:53:37,063+08 ERROR [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-23) [48dd8236] Command 'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' failed: EngineException: (Failed with error Connection refused (Connection refused) and code 5050)
2020-02-11 16:58:37,083+08 ERROR [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-34) [441eae4a] Command 'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' failed: EngineException: (Failed with error Connection refused (Connection refused) and code 5050)
2020-02-11 17:03:37,103+08 ERROR [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-39) [6617928f] Command 'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' failed: EngineException: (Failed with error Connection r
这些日志很多,但是虽然有的报错,是错误日志,但是实际上并不是致命错误
真正影响我们安装的是这条
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [222aedbe-c862-46e2-92f7-6c4d69377800] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during installation of Host 10.10.11.44: Yum Cannot queue package dmidecode: Cannot find a valid baseurl for repo: extras/7/x86_64.ba
大概意思是说我们少一个源,它没找到
我的是全新机器,安装时,机器状态是这样的
- 防火墙和selinux关闭
- 剩下的都没动
解决:
我的是4.3版本的,将相应的源添加到node节点上,然后使用 yum clean all && yum makecache
中间如果失败了,还有一种可能就是超时连接,因为需要在node断下载大量的包。你可以到node上看一下有没有相关ovirt进程
这样再次在web界面进行添加操作,差不多就OK了
当然也有可能发生其他的错误,ovirt用户比较少,网上文档资料也不多,真的遇到了,只能看日志,翻译.
如果还不行,重装软件.最后重装系统