ansible-playbook bootstrap.yml操作提示错误信息:
TASK [check_config_static : Get if jmespath info[1]] ***************************************************************************************************************************************
changed: [localhost]
TASK [check_config_static : Get if jinja2 exist[1]] ****************************************************************************************************************************************
changed: [localhost]
TASK [check_config_static : Preflight check - Fail when jmespath or jinja2 doesn’t exist] **************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “Jmespath or Jinja2 does not exist, Please run pip install -r requirements.txt
to install.”}
to retry, use: --limit @/home/tidb/tidb-ansible/retry_files/bootstrap.retry
PLAY RECAP *********************************************************************************************************************************************************************************
localhost : ok=3 changed=2 unreachable=0 failed=1
ERROR MESSAGE SUMMARY **********************************************************************************************************************************************************************
[localhost]: Ansible FAILED! => playbook: bootstrap.yml; TASK: check_config_static : Preflight check - Fail when jmespath or jinja2 doesn’t exist; message: {“changed”: false, “msg”: “Jmespath or Jinja2 does not exist, Please run pip install -r requirements.txt
to install.”}
Ask for help:
Contact us: support@pingcap.com
It seems that you encounter some problems. You can send an email to the above email address, attached with the tidb-ansible/inventory.ini and tidb-ansible/log/ansible.log files and the error message, or new issue on https://github.com/pingcap/tidb-ansible/issues. We’ll try our best to help you deploy a TiDB cluster. Thanks.
[tidb@db-tidb-1 ~/tidb-ansible]$ timed out waiting for input: auto-logout
pip --list 查看提示存在相应的模块:
Package Version
ansible 2.6.20
Babel 0.9.6
backports.ssl-match-hostname 3.5.0.1
bcrypt 3.1.7
cffi 1.13.2
configobj 4.7.2
cryptography 2.8
decorator 3.4.0
enum34 1.1.6
iniparse 0.4
ipaddress 1.0.16
Jinja2 2.10.3
jmespath 0.9.4
MarkupSafe 1.1.1
meld3 1.0.2
paramiko 2.6.0
perf 0.1
pip 19.3.1
求大佬帮帮忙看下!!
- 【centos7.6 & kernel 版本】
- 【TiDB 版本】
- 【磁盘型号】
- 【集群节点分布】
- 【数据量 & region 数量 & 副本数】
- 【问题描述(我做了什么)】
- 【关键词】