tidb4.0离线安装

运行ansible-playbook bootstrap.yml

yum错误.bmp (3.0 MB)
ok: [10.10.77.112]
fatal: [192.168.1.61]: FAILED! => changed=false
msg: |-
Error from repoquery: [‘/usr/bin/repoquery’, ‘–show-duplicates’, ‘–plugins’, ‘–quiet’, ‘–disablerepo’, ‘’, ‘–enablerepo’, ‘’, ‘–qf’, ‘%{name}|%{epoch}|%{version}|%{release}|%{arch}|%{repoid}’, ‘systemd’]: Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Could not match packages: Cannot find a valid baseurl for repo: base/7/x86_64

离线环境下,没有连接yum源,为什么会报yum的错误?导致错误的原因是什么?

https://docs.pingcap.com/zh/tidb/stable/offline-deployment-using-ansible
看下是否是按照文档中 tidb-ansible 离线安装方式进行的,是否将依赖包下载完全。

对于 4.x 的离线部署,tiup 会更加轻便,辛苦体验一下,tidb-ansible 将不再维护
https://docs.pingcap.com/zh/tidb/stable/production-offline-deployment-using-tiup

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。