Comments (3)
@jberger Could you elaborate on the conditions required to observe the failure and which type of nodes you're seeing this for? We have tried to work in enough staggering logic where each "start" happens in sequence and the systemd unit then waits until ETCD has joined to return exit 0.
from rke2-ansible.
I don't think this is related to staggering. Even when doing the deploy manually (without the ansible stuff) sometimes the initial systemctl start rke2-server.service
exits 1. It then continues to retry until it works. Mostly I think this is due to round-robin DNS for the registration url. Anyway, the logic later on in ansible seems to be fine for detecting that the kubelet and etcd come up it just is noise that the start shows as an error.
Anyway, if you need any other details I'm happy to give them. Ubuntu 20.04, rke2 latest. Baremetal servers.
from rke2-ansible.
It would be good not to expect systemd here at all. systemd is 1m+ lines of code, not really fit for purpose on a small lean server that just wants to run rke. For these and other reasons, Devuan (debian/ubuntu compatible in all other ways) doesn't include it, and instead provides options of sysvinit, runit, etc.
from rke2-ansible.
Related Issues (20)
- Multimaster rke2_servers support
- Hanging on task: `Extract the hostname-override parameter from the kubelet process` HOT 1
- `cni: "cilium"` not working HOT 2
- Add configuration to set specific RKE2 version HOT 2
- rke2 version check failing on bash pipe HOT 2
- Request for Clarification [setting proxy information] HOT 3
- CIS hardening does not support new generic cis profile
- Parameterize Temporary Directory used during Tarball Install
- Feature Request [RHEL/Rocky/CentOS 9] Support HOT 1
- Yum repo names incorrect for uninstall
- Turn this into a collection
- allow for manifests to be applied after the cluster is fully up
- How can one leverage a CNI besides Canal? HOT 5
- Add tags to Ansible tasks
- Add registry role to ansible HOT 1
- manage yum repos by default HOT 1
- Add role to rotate certificates on a cluster
- Re-run ansible playbook after first run breaks
- previous_install.yaml logic doesn't work with detecting if the rke2_agent and rke2_server service is present or not
- previous_install.yaml logic breaks when rke2 is installed with an RPM and then later switched to TAR HOT 1
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 rke2-ansible.