在执行联网下载 TiDB binary 至中控机。请问老师这种情况该如何解决,没有相关的包了,谢谢啦!
ansible-playbook local_prepare.yml
报错:
TASK [local : download tidb binary] ***********************************************************************************************************************************************
FAILED - RETRYING: download tidb binary (4 retries left).
FAILED - RETRYING: download tidb binary (3 retries left).
FAILED - RETRYING: download tidb binary (2 retries left).
FAILED - RETRYING: download tidb binary (1 retries left).
failed: [localhost] (item={u'url': u'http://download.pingcap.org/tidb-v3.0.11-linux-amd64.tar.gz', u'version': u'v3.0.11', u'name': u'tidb'}) => {"attempts": 4, "changed": false, "dest": "/home/tidb/tidb-ansible/downloads/tidb-v3.0.11.tar.gz", "item": {"name": "tidb", "url": "http://download.pingcap.org/tidb-v3.0.11-linux-amd64.tar.gz", "version": "v3.0.11"}, "msg": "Request failed", "response": "HTTP Error 404: Not Found", "state": "absent", "status_code": 404, "url": "http://download.pingcap.org/tidb-v3.0.11-linux-amd64.tar.gz"}
to retry, use: --limit @/home/tidb/tidb-ansible/retry_files/local_prepare.retry
PLAY RECAP ************************************************************************************************************************************************************************
localhost : ok=10 changed=3 unreachable=0 failed=1
ERROR MESSAGE SUMMARY *************************************************************************************************************************************************************
[localhost]: Ansible FAILED! => playbook: local_prepare.yml; TASK: local : download tidb binary; message: {"changed": false, "msg": "All items completed", "results": [{"_ansible_item_label": {"name": "tidb", "url": "http://download.pingcap.org/tidb-v3.0.11-linux-amd64.tar.gz", "version": "v3.0.11"}, "_ansible_item_result": true, "_ansible_no_log": false, "_ansible_parsed": true, "attempts": 4, "changed": false, "dest": "/home/tidb/tidb-ansible/downloads/tidb-v3.0.11.tar.gz", "failed": true, "invocation": {"module_args": {"attributes": null, "backup": null, "checksum": "", "client_cert": null, "client_key": null, "content": null, "delimiter": null, "dest": "/home/tidb/tidb-ansible/downloads/tidb-v3.0.11.tar.gz", "directory_mode": null, "follow": false, "force": true, "force_basic_auth": false, "group": null, "headers": null, "http_agent": "ansible-httpget", "mode": null, "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "sha256sum": "", "src": null, "timeout": 10, "tmp_dest": null, "unsafe_writes": null, "url": "http://download.pingcap.org/tidb-v3.0.11-linux-amd64.tar.gz", "url_password": null, "url_username": null, "use_proxy": true, "validate_certs": false}}, "item": {"name": "tidb", "url": "http://download.pingcap.org/tidb-v3.0.11-linux-amd64.tar.gz", "version": "v3.0.11"}, "msg": "Request failed", "response": "HTTP Error 404: Not Found", "state": "absent", "status_code": 404, "url": "http://download.pingcap.org/tidb-v3.0.11-linux-amd64.tar.gz"}]}
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@dev29 tidb-ansible]$ cat local_prepare.yml
---
- name: do local preparation
hosts: localhost
connection: local
gather_facts: false
roles:
- local
[tidb@dev29 tidb-ansible]$ ll