ansible install milvus cluster #17957
Unanswered
Anandonzy
asked this question in
Q&A and General discussion
Replies: 1 comment 9 replies
-
|
hello |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
https://milvus.io/cn/docs/v2.0.x/install_cluster-ansible.md#Configure-deploy-dockeryml
When I see this document. I try to install milvus cluster by ansible.
ansible-playbook /home/app/milvus-master/deployments/docker/cluster-distributed-deployment/deploy-docker.ymlThen it is not ok.
`PLAY [setup pre-requisites] *****************************************************************************************************
TASK [Gathering Facts] **********************************************************************************************************
ok: [10.24.18.71]
ok: [10.24.18.60]
ok: [10.24.18.59]
TASK [install-modules : Install Packages] ***************************************************************************************
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via squash_actions is deprecated. Instead of using a loop to
supply multiple items and specifying
name: "{{ item }}", please usename: ['ntp', 'python3', 'tcpdump', 'wget', 'openssl', 'curl', 'python3-pip']and remove the loop. This feature will be removed in version 2.11. Deprecation warnings can be disabledby setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via squash_actions is deprecated. Instead of using a loop to
supply multiple items and specifying
name: "{{ item }}", please usename: ['ntp', 'python3', 'tcpdump', 'wget', 'openssl', 'curl', 'python3-pip']and remove the loop. This feature will be removed in version 2.11. Deprecation warnings can be disabledby setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via squash_actions is deprecated. Instead of using a loop to
supply multiple items and specifying
name: "{{ item }}", please usename: ['ntp', 'python3', 'tcpdump', 'wget', 'openssl', 'curl', 'python3-pip']and remove the loop. This feature will be removed in version 2.11. Deprecation warnings can be disabledby setting deprecation_warnings=False in ansible.cfg.
[WARNING]: Updating cache and auto-installing missing dependency: python-apt
failed: [10.24.18.71] (item=[u'ntp', u'python3', u'tcpdump', u'wget', u'openssl', u'curl', u'python3-pip']) => {"ansible_loop_var": "item", "changed": false, "cmd": "apt-get update", "item": ["ntp", "python3", "tcpdump", "wget", "openssl", "curl", "python3-pip"], "msg": "[Errno 2] No such file or directory", "rc": 2}
failed: [10.24.18.60] (item=[u'ntp', u'python3', u'tcpdump', u'wget', u'openssl', u'curl', u'python3-pip']) => {"ansible_loop_var": "item", "changed": false, "cmd": "apt-get update", "item": ["ntp", "python3", "tcpdump", "wget", "openssl", "curl", "python3-pip"], "msg": "[Errno 2] No such file or directory", "rc": 2}
failed: [10.24.18.59] (item=[u'ntp', u'python3', u'tcpdump', u'wget', u'openssl', u'curl', u'python3-pip']) => {"ansible_loop_var": "item", "changed": false, "cmd": "apt-get update", "item": ["ntp", "python3", "tcpdump", "wget", "openssl", "curl", "python3-pip"], "msg": "[Errno 2] No such file or directory", "rc": 2}
PLAY RECAP **********************************************************************************************************************
10.24.18.59 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
10.24.18.60 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
10.24.18.71 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 `
What I should do. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions