Code Monkey home page Code Monkey logo

Comments (3)

mddamato avatar mddamato commented on August 17, 2024

@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.

jberger avatar jberger commented on August 17, 2024

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.

lee-b avatar lee-b commented on August 17, 2024

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)

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.