Skip to content

k0sctl fails when trying k0s install on OpenRC when it's already installed #362

Open

Description

k0sctl 0.13.0-rc.1 will sometimes try to install the k0s service when it's already installed. This fails at least on OpenRC:

time="29 Mar 22 16:08 CEST" level=info msg="[ssh] 10.83.134.82:22: installing k0s controller"
time="29 Mar 22 16:08 CEST" level=debug msg="[ssh] 10.83.134.82:22: executing sudo -s /usr/local/bin/k0s install controller --enable-worker --config \"/etc/k0s/k0s.yaml\""
time="29 Mar 22 16:08 CEST" level=debug msg="[ssh] 10.83.134.82:22: Error: failed to install k0s service: failed to install service: Init already exists: /etc/init.d/k0scontroller"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions