Code Monkey home page Code Monkey logo

Comments (10)

Smana avatar Smana commented on May 13, 2024

Works with flannel.
Trying to get calico working

from kubespray.

ant31 avatar ant31 commented on May 13, 2024

Fail with sudo even with -t
"sudo: sorry, you must have a tty to run sudo\n"

from kubespray.

Smana avatar Smana commented on May 13, 2024

Currently the only way i've been able to get it working is to edit the file /etc/sudoers and add

Defaults:travis !requiretty

But i guess, you don't want to change cloud provider's images.
Still searching for the right option.

from kubespray.

Smana avatar Smana commented on May 13, 2024

For an unknown reason the options --ssh-extra-args="-t -t" causes ansible to hang

from kubespray.

ant31 avatar ant31 commented on May 13, 2024

I will try with a root user for now.

from kubespray.

Smana avatar Smana commented on May 13, 2024

Could you please try with

-R root

instead of

-b --become-user=root

?

from kubespray.

ant31 avatar ant31 commented on May 13, 2024

it doesn't work.

root ssh isn't allowed,
I'll create a custom image that allow non-tty until we find a way

from kubespray.

ant31 avatar ant31 commented on May 13, 2024

I use a custom image that allow sudo:
Got a new error:
"No Package matching 'python-httplib2

from kubespray.

ant31 avatar ant31 commented on May 13, 2024

next error:

TASK [kubernetes/node : Secrets | synchronize certificates for nodes] **********
skipping: [node2] => (item=/etc/kubernetes/ssl/ca.pem) 
skipping: [node2] => (item=/etc/kubernetes/ssl/node.pem) 
skipping: [node2] => (item=/etc/kubernetes/ssl/node-key.pem) 
skipping: [node1] => (item=/etc/kubernetes/ssl/ca.pem) 
skipping: [node1] => (item=/etc/kubernetes/ssl/node.pem) 
skipping: [node1] => (item=/etc/kubernetes/ssl/node-key.pem) 
failed: [node3 -> None] => (item=/etc/kubernetes/ssl/ca.pem) => {"cmd": "rsync --delay-updates -F --compress --delete-after --archive --rsh 'ssh  -S none -o StrictHostKeyChecking=no' --one-file-system --out-format='<<CHANGED>>%i %n%L' \"/etc/kubernetes/ssl/ca.pem\" \"104.197.223.94:/etc/kubernetes/ssl\"", "failed": true, "item": "/etc/kubernetes/ssl/ca.pem", "msg": "Warning: Permanently added '104.197.223.94' (ECDSA) to the list of known hosts.\r\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic).\r\nrsync: connection unexpectedly closed (0 bytes received so far) [sender]\nrsync error: unexplained error (code 255) at io.c(605) [sender=3.0.9]\n", "rc": 255}
failed: [node3 -> None] => (item=/etc/kubernetes/ssl/node.pem) => {"cmd": "rsync --delay-updates -F --compress --delete-after --archive --rsh 'ssh  -S none -o StrictHostKeyChecking=no' --one-file-system --out-format='<<CHANGED>>%i %n%L' \"/etc/kubernetes/ssl/node.pem\" \"104.197.223.94:/etc/kubernetes/ssl\"", "failed": true, "item": "/etc/kubernetes/ssl/node.pem", "msg": "Permission denied (publickey,gssapi-keyex,gssapi-with-mic).\r\nrsync: connection unexpectedly closed (0 bytes received so far) [sender]\nrsync error: unexplained error (code 255) at io.c(605) [sender=3.0.9]\n", "rc": 255}
failed: [node3 -> None] => (item=/etc/kubernetes/ssl/node-key.pem) => {"cmd": "rsync --delay-updates -F --compress --delete-after --archive --rsh 'ssh  -S none -o StrictHostKeyChecking=no' --one-file-system --out-format='<<CHANGED>>%i %n%L' \"/etc/kubernetes/ssl/node-key.pem\" \"104.197.223.94:/etc/kubernetes/ssl\"", "failed": true, "item": "/etc/kubernetes/ssl/node-key.pem", "msg": "Permission denied (publickey,gssapi-keyex,gssapi-with-mic).\r\nrsync: connection unexpectedly closed (0 bytes received so far) [sender]\nrsync error: unexplained error (code 255) at io.c(605) [sender=3.0.9]\n", "rc": 255}

node3 is kube-node only

from kubespray.

ant31 avatar ant31 commented on May 13, 2024

there is one more issue on apimaster restart (check travis)

from kubespray.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.