Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd service fails if deployment in additionalManifests fails #11380

Closed
agracey opened this issue Nov 27, 2024 · 1 comment
Closed

systemd service fails if deployment in additionalManifests fails #11380

agracey opened this issue Nov 27, 2024 · 1 comment

Comments

@agracey
Copy link

agracey commented Nov 27, 2024

Environmental Info:
K3s Version:
v1.30.3+ks31

Node(s) CPU architecture, OS, and Version:
x86_64, SL Micro 6.0

Cluster Configuration:

Single node (but shouldn't matter)

Describe the bug:

If I create a broken deployment in /var/lib/rancher/k3s/server/manifests then install k3s, the k3s-server systemd service will go into a failed state and nothing that depends on it will start.

Expected behavior:
The k3s-server service should be considered running even if a custom addOn fails.

Actual behavior:
The k3s-server service fails.

Additional context / logs:
I'm using Edge Image Builder to build an appliance image.

@brandond
Copy link
Member

brandond commented Nov 27, 2024

If I create a broken deployment in /var/lib/rancher/k3s/server/manifests then install k3s, the k3s-server systemd service will go into a failed state and nothing that depends on it will start.

That's not how that works.

Did you perhaps deploy something that is so broken it causes other core components to fail? Something that is replacing core RBAC or configuration in a way that prevents embedded controllers from functioning? Just placing an invalid manifest in that dir will not cause k3s to exit.

Please post the full logs showing what you're claiming, along with the manifest in question.

@k3s-io k3s-io locked and limited conversation to collaborators Nov 27, 2024
@brandond brandond converted this issue into discussion #11381 Nov 27, 2024
@github-project-automation github-project-automation bot moved this from New to Done Issue in K3s Development Nov 27, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
Status: Done Issue
Development

No branches or pull requests

2 participants