执行ansible-playbook bootstrap.yml后报错,
TASK [check_system_static : Preflight check - Systemd version] ********************************************************************************************* fatal: [192.168.3.200]: FAILED! => changed=false msg: Current systemd version is 219-30.el7 (below 219-52.el7), there are some memory bugs. Refer to https://access.redhat.com/discussions/3536621 fatal: [192.168.3.201]: FAILED! => changed=false msg: Current systemd version is 219-30.el7 (below 219-52.el7), there are some memory bugs. Refer to https://access.redhat.com/discussions/3536621 fatal: [192.168.3.202]: FAILED! => changed=false msg: Current systemd version is 219-30.el7 (below 219-52.el7), there are some memory bugs. Refer to https://access.redhat.com/discussions/3536621
NO MORE HOSTS LEFT ***************************************************************************************************************************************** to retry, use: --limit @/home/tidb/tidb-ansible/retry_files/bootstrap.retry
是系统版本问题么,用的centos,使用uname -r查看是3.10.0-514.el7.x86_64。 本地测试环境,使用虚拟机搭建,bootstrap.yml中注释了
- name: check system
hosts: all
any_errors_fatal: true
roles:
- check_system_static
(井号注释) - { role: check_system_optional, when: not dev_mode|default(false) }
- name: tikv_servers machine benchmark hosts: tikv_servers gather_facts: false roles:
(井号注释) - { role: machine_benchmark, when: not dev_mode|default(false) }
- name: create ops scripts
hosts: localhost
connection: local
gather_facts: false
roles:
- ops