安装4.0.0-rc版本报错

版本:4.0.0-rc

操作系统:CentOS Linux release 7.4.1708 (Core) x86_64

机器分派:

[tidb_servers]

10.189.66.17

[tikv_servers]

10.189.66.18

10.189.66.19

10.189.66.36

[pd_servers]

10.189.66.18

[spark_master]

[spark_slaves]

[lightning_server]

[importer_server]

[monitoring_servers]

10.189.66.17

[grafana_servers]

10.189.66.17

[monitored_servers]

10.189.66.17

10.189.66.18

10.189.66.19

10.189.66.36

执行环境准备命令时:ansible-playbook bootstrap.yml

报如下错误:

TASK [check_system_static : Get systemd version] ***************************************************************************************************** fatal: [10.189.66.17]: FAILED! => changed=false msg: |- Error from repoquery: [’/usr/bin/repoquery’, ‘–show-duplicates’, ‘–plugins’, ‘–quiet’, ‘–disablerepo’, ‘’, ‘–enablerepo’, ‘’, ‘–qf’, ‘%{name}|%{epoch}|%{version}|%{release}|%{arch}|%{repoid}’, ‘systemd’]: Could not match packages: Cannot find a valid baseurl for repo: base/7/x86_64 fatal: [10.189.66.36]: FAILED! => changed=false msg: |- Error from repoquery: [’/usr/bin/repoquery’, ‘–show-duplicates’, ‘–plugins’, ‘–quiet’, ‘–disablerepo’, ‘’, ‘–enablerepo’, ‘’, ‘–qf’, ‘%{name}|%{epoch}|%{version}|%{release}|%{arch}|%{repoid}’, ‘systemd’]: Could not match packages: Cannot find a valid baseurl for repo: base/7/x86_64 fatal: [10.189.66.18]: FAILED! => changed=false msg: |- Error from repoquery: [’/usr/bin/repoquery’, ‘–show-duplicates’, ‘–plugins’, ‘–quiet’, ‘–disablerepo’, ‘’, ‘–enablerepo’, ‘’, ‘–qf’, ‘%{name}|%{epoch}|%{version}|%{release}|%{arch}|%{repoid}’, ‘systemd’]: Could not match packages: Cannot find a valid baseurl for repo: base/7/x86_64 fatal: [10.189.66.19]: FAILED! => changed=false msg: |- Error from repoquery: [’/usr/bin/repoquery’, ‘–show-duplicates’, ‘–plugins’, ‘–quiet’, ‘–disablerepo’, ‘’, ‘–enablerepo’, ‘’, ‘–qf’, ‘%{name}|%{epoch}|%{version}|%{release}|%{arch}|%{repoid}’, ‘systemd’]: Could not match packages: Cannot find a valid baseurl for repo: base/7/x86_64

您好:

   1. 看报错是找不到可用的repo,请问安装前调整过什么参数吗?
   2. 4.0建议使用tiup安装,多谢

换了tiup安装成功

感谢反馈