Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playbook hangs at restarting kube-proxy pods #3

Open
tomvolek opened this issue Mar 3, 2019 · 0 comments
Open

Playbook hangs at restarting kube-proxy pods #3

tomvolek opened this issue Mar 3, 2019 · 0 comments

Comments

@tomvolek
Copy link

tomvolek commented Mar 3, 2019

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

  • 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:
    • kubeadm_config_api_fqdn is not defined
    • is_kube_master
    • kubeadm_discovery_address != kube_apiserver_endpoint
    • not kube_proxy_remove
      tags:
    • kube-proxy

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant