Skip to content

Instantly share code, notes, and snippets.

@juicedM3
Created November 15, 2018 20:27
Show Gist options
  • Select an option

  • Save juicedM3/c631ab3381c6970ab65a22c6cf1cd653 to your computer and use it in GitHub Desktop.

Select an option

Save juicedM3/c631ab3381c6970ab65a22c6cf1cd653 to your computer and use it in GitHub Desktop.
Kubespray scaling: host unreachable, but the real issue is the python path.
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/commands/command.py
<10.250.199.12> ESTABLISH SSH CONNECTION FOR USER: core
<10.250.199.12> SSH: EXEC ssh -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=core -o ConnectTimeout=10 -o 'ProxyCommand=ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -W %h:%p [email protected]' -o ControlPath=/Users/jbedard/.ansible/cp/520dfddec1 10.250.199.12 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-dpqyloobrgvjrzuwqspcstcyxqhozeme; no_proxy='"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"' https_proxy='"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"' http_proxy='"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"' /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
fatal: [kubernetes-jbdevcluster-worker4]: UNREACHABLE! => {
"changed": false,
"msg": "SSH Error: data could not be sent to remote host \"10.250.199.12\". Make sure this host can be reached over ssh",
"unreachable": true
}
NO MORE HOSTS LEFT ******************************************************************************************************************************************
to retry, use: --limit @/Users/jbedard/Documents/work/malachi/kubespray/scale.retry
PLAY RECAP **************************************************************************************************************************************************
kubernetes-jbdevcluster-worker4 : ok=30 changed=1 unreachable=1 failed=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment