You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to setup kuberneets on three nodes, 1 Master and 2 workers. After running the playbook It gets stuck on the following task forever. Any ideas ? Be gald to provide any additional info.
OS = Ubuntu 18.04
Hardware: HP proliant G6 , 64G RAM each
ansible-playbook -i hosts.ini --become --become-user=root cluster.yml -b -vvv
name: Restart all kube-proxy pods to ensure that they load the new configmap
shell: "{{ bin_dir }}/kubectl --kubeconfig {{ kube_config_dir }}/admin.conf delete pod -n kube-system -l k8s-app=kube-proxy"
delegate_to: "{{groups['kube-master']|first}}"
run_once: true
when:
I am trying to setup kuberneets on three nodes, 1 Master and 2 workers. After running the playbook It gets stuck on the following task forever. Any ideas ? Be gald to provide any additional info.
OS = Ubuntu 18.04
Hardware: HP proliant G6 , 64G RAM each
ansible-playbook -i hosts.ini --become --become-user=root cluster.yml -b -vvv
Task: /kuberspray/roles/kubernetes/kubeadm/task/main.yml
shell: "{{ bin_dir }}/kubectl --kubeconfig {{ kube_config_dir }}/admin.conf delete pod -n kube-system -l k8s-app=kube-proxy"
delegate_to: "{{groups['kube-master']|first}}"
run_once: true
when:
tags:
Output:
TASK [kubernetes/kubeadm : Restart all kube-proxy pods to ensure that they load the new configmap] **********************************************************************
task path: /home/tom/Services/kubespray/roles/kubernetes/kubeadm/tasks/main.yml:135
Sunday 03 March 2019 01:33:42 +0000 (0:00:02.043) 0:12:02.490 **********
Using module file /usr/local/lib/python3.6/dist-packages/ansible/modules/commands/command.py
<10.0.1.11> ESTABLISH SSH CONNECTION FOR USER: tom
<10.0.1.11> SSH: EXEC sshpass -d12 ssh -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o User=tom -o ConnectTimeout=10 -o ControlPath=/home/tom/.ansible/cp/4c47906b36 10.0.1.11 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=wpxabqqcijihhvhkhegxzjygqeebatpe] password: " -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-wpxabqqcijihhvhkhegxzjygqeebatpe; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
The text was updated successfully, but these errors were encountered: