Comments (10)
Works with flannel.
Trying to get calico working
from kubespray.
Fail with sudo even with -t
"sudo: sorry, you must have a tty to run sudo\n"
from kubespray.
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.
For an unknown reason the options --ssh-extra-args="-t -t"
causes ansible to hang
from kubespray.
I will try with a root user for now.
from kubespray.
Could you please try with
-R root
instead of
-b --become-user=root
?
from kubespray.
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.
I use a custom image that allow sudo:
Got a new error:
"No Package matching 'python-httplib2
from kubespray.
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.
there is one more issue on apimaster restart (check travis)
from kubespray.
Related Issues (20)
- Duplicate images coming with <none>:<none> tag
- kube_network_node_prefix is not getting applied to Calico HOT 4
- Tolerations are not getting applied HOT 4
- Kubernetes 1.30 Support
- Install bird when cilium using bird to run BGP?
- Kubespray and configure default-ssl cert ingress-nginx
- Allow arguments in liveness-probe for cinder-csi
- extra p in 'stop' word is there in reset role for "Reset | stop all cri pods" task
- Add needed affinities to calico-typha and calico-kube-controllers HOT 1
- Ubuntu 24.04 LTS Support HOT 5
- Error adding node HOT 2
- Release Proposal v2.25 HOT 15
- kubespray v2.24.1 cannot bootstrap in Oracle Linux 7 HOT 2
- kube-scheduler doesn't work properly after reboot HOT 4
- Remove Weave from documents and repository HOT 1
- terraform jobs on elastx failing HOT 1
- Kubespray upgrade failed because etcd-event.service cannot start
- local_path_provisioner_enabled: true - error HOT 4
- boostrap-os: badly formed task file included HOT 5
- kubernetes/preinstall fails due to missing jsonschema package HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubespray.