执行ansible-playbook bootstrap.yml初始化系统环境报错

为提高效率,提问时请尽量提供详细背景信息,问题描述清晰可优先响应。以下信息点请尽量提供:

  • 系统版本 & kernel 版本】 CentOS Linux release 7.2.1511 3.10.0-327.el7.x86_64
  • TiDB 版本】 3.0.2
  • 磁盘型号】 vmware虚拟机
  • 集群节点分布】 6节点, 单机单 TiKV 实例集群
  • 数据量 & region 数量 & 副本数
  • 问题描述(我做了什么)】 按照官方文档,执行ansible-playbook bootstrap.yml初始化系统环境报错: TASK [check_system_static : Preflight check - Check if the operating system supports EPOLLEXCLUSIVE] ************************************************************************************************************************************** fatal: [192.168.237.11]: FAILED! => {“changed”: true, “cmd”: “/home/tidb/deploy/epollexclusive”, “delta”: “0:00:00.131008”, “end”: “2019-10-11 18:30:51.057320”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-10-11 18:30:50.926312”, “stderr”: “”, “stderr_lines”: [], “stdout”: “epoll_ctl with EPOLLEXCLUSIVE | EPOLLONESHOT succeeded. This is evidence of no EPOLLEXCLUSIVE support. Not using epollex polling engine.False: epollexclusive is not available”, “stdout_lines”: [“epoll_ctl with EPOLLEXCLUSIVE | EPOLLONESHOT succeeded. This is evidence of no EPOLLEXCLUSIVE support. Not using epollex polling engine.False: epollexclusive is not available”]} fatal: [192.168.237.12]: FAILED! => {“changed”: true, “cmd”: “/home/tidb/deploy/epollexclusive”, “delta”: “0:00:00.149832”, “end”: “2019-10-11 18:30:51.268339”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-10-11 18:30:51.118507”, “stderr”: “”, “stderr_lines”: [], “stdout”: “epoll_ctl with EPOLLEXCLUSIVE | EPOLLONESHOT succeeded. This is evidence of no EPOLLEXCLUSIVE support. Not using epollex polling engine.False: epollexclusive is not available”, “stdout_lines”: [“epoll_ctl with EPOLLEXCLUSIVE | EPOLLONESHOT succeeded. This is evidence of no EPOLLEXCLUSIVE support. Not using epollex polling engine.False: epollexclusive is not available”]} fatal: [192.168.237.15]: FAILED! => {“changed”: true, “cmd”: “/home/tidb/deploy/epollexclusive”, “delta”: “0:00:00.148565”, “end”: “2019-10-11 18:30:51.340132”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-10-11 18:30:51.191567”, “stderr”: “”, “stderr_lines”: [], “stdout”: “epoll_ctl with EPOLLEXCLUSIVE | EPOLLONESHOT succeeded. This is evidence of no EPOLLEXCLUSIVE support. Not using epollex polling engine.False: epollexclusive is not available”, “stdout_lines”: [“epoll_ctl with EPOLLEXCLUSIVE | EPOLLONESHOT succeeded. This is evidence of no EPOLLEXCLUSIVE support. Not using epollex polling engine.False: epollexclusive is not available”]} fatal: [192.168.237.13]: FAILED! => {“changed”: true, “cmd”: “/home/tidb/deploy/epollexclusive”, “delta”: “0:00:00.124834”, “end”: “2019-10-11 18:30:51.534696”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-10-11 18:30:51.409862”, “stderr”: “”, “stderr_lines”: [], “stdout”: “epoll_ctl with EPOLLEXCLUSIVE | EPOLLONESHOT succeeded. This is evidence of no EPOLLEXCLUSIVE support. Not using epollex polling engine.False: epollexclusive is not available”, “stdout_lines”: [“epoll_ctl with EPOLLEXCLUSIVE | EPOLLONESHOT succeeded. This is evidence of no EPOLLEXCLUSIVE support. Not using epollex polling engine.False: epollexclusive is not available”]} fatal: [192.168.237.14]: FAILED! => {“changed”: true, “cmd”: “/home/tidb/deploy/epollexclusive”, “delta”: “0:00:00.166952”, “end”: “2019-10-11 18:30:51.548890”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-10-11 18:30:51.381938”, “stderr”: “”, “stderr_lines”: [], “stdout”: “epoll_ctl with EPOLLEXCLUSIVE | EPOLLONESHOT succeeded. This is evidence of no EPOLLEXCLUSIVE support. Not using epollex polling engine.False: epollexclusive is not available”, “stdout_lines”: [“epoll_ctl with EPOLLEXCLUSIVE | EPOLLONESHOT succeeded. This is evidence of no EPOLLEXCLUSIVE support. Not using epollex polling engine.False: epollexclusive is not available”]} fatal: [192.168.237.16]: FAILED! => {“changed”: true, “cmd”: “/home/tidb/deploy/epollexclusive”, “delta”: “0:00:00.114845”, “end”: “2019-10-11 18:30:52.132808”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-10-11 18:30:52.017963”, “stderr”: “”, “stderr_lines”: [], “stdout”: “epoll_ctl with EPOLLEXCLUSIVE | EPOLLONESHOT succeeded. This is evidence of no EPOLLEXCLUSIVE support. Not using epollex polling engine.False: epollexclusive is not available”, “stdout_lines”: [“epoll_ctl with EPOLLEXCLUSIVE | EPOLLONESHOT succeeded. This is evidence of no EPOLLEXCLUSIVE support. Not using epollex polling engine.False: epollexclusive is not available”]}
  • 关键词】 Check if the operating system supports EPOLLEXCLUSIVE

操作系统版本太低了

TiDB 软件和硬件环境建议配置

TiDB 作为一款开源分布式 NewSQL 数据库,可以很好的部署和运行在 Intel 架构服务器环境及主流虚拟化环境,并支持绝大多数的主流硬件网络。作为一款高性能数据库系统,TiDB 支持主流的 Linux 操作系统环境。

Linux 操作系统版本要求

Linux 操作系统平台 版本
Red Hat Enterprise Linux 7.3 及以上
CentOS 7.3 及以上
Oracle Enterprise Linux 7.3 及以上
Ubuntu LTS 16.04 及以上

注意:

  • TiDB 只支持 Red Hat 兼容内核 (RHCK) 的 Oracle Enterprise Linux,不支持 Oracle Enterprise Linux 提供的 Unbreakable Enterprise Kernel。
  • TiDB 在 CentOS 7.3 的环境下进行过大量的测试,同时社区也有很多该操作系统部署的最佳实践,因此,建议使用 CentOS 7.3 以上的 Linux 操作系统来部署 TiDB。
  • 以上 Linux 操作系统可运行在物理服务器以及 VMware、KVM、XEN 主流虚拟化环境上。