-
-
Notifications
You must be signed in to change notification settings - Fork 378
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
k3sup not working on fcos with testing channel #407
Comments
For comparison here's output of me manually running k3s installer, with the testing channel, on that fcos node..
|
Hi @adrecord I've unfortunately not heard of fcos, can you please give us a link to the project you are referring to? I assume that's a shortened version of some other project? What makes you believe that K3s should work on fcos? This does seem like an issue for the k3s project and not k3sup, since k3sup just installs k3s over SSH. If K3s fails to install, it implies a compatibility issue that must be solved upstream K3s itself. Thoughts? If you think that bash is working, but the k3sup installation may run with different parameters, you could also try adding
Alex |
Thanks for your response, and thanks for this great project. I appreciate both.
Sorry for the shorthand. By fcos I meant Fedora CoreOS.
So the text in the body of this issue included the snippet of output of trying to run k3sup. The first comment in this issue was me running k3s installer directly on the fcos host, for comparison. That did work, which is why I thought this was a k3sup issue.
Thanks for this great advice. Seeing the commands led me to figure out what's going on. I can see that the k3s install line looks great and k3s installs fine. The error occurs after trying to
I did not set
|
found it.. the k3s install script is defaulting
edit: I looked at the k3sup options, and I'm not seeing how to get k3sup to set that env variable on the install of k3s. Is that possible? Where k3sup was calling..
it should look like..
is there any way to call k3sup to make that happen? Thanks! |
I think they have
If that's the case, you'd still want INSTALL_K3S_SKIP_START to remain as true, because it would fail without the reboot. |
Perhaps having the node reboot to let systemctl start k3s the way it will on every subsequent reboot is cleaner, but it seems to work just fine without reboot. It also immediately creates the I guess this question is now just a generic question of... is there a way to pass environment variables thru k3sup such that they'll be seen in the environment of the k3s installer? |
I use k3sup to setup a k3s cluster on fcos nodes for personal cluster (libvirt vms). This used to work. Per this issue the stable channel doesn't have some rpms, but using the testing channel works. I verified that manually ssh'ing to the fcos node and running
curl -sfL https://get.k3s.io | INSTALL_K3S_CHANNEL=testing sh -
does work, as suggested in this comment. However, the equivalent version of this, to pass--k3s-channel testing
to k3sup, does not work.Expected Behaviour
I'm expecting k3sup installs k3s successfully.
Current Behaviour
Possible Solution
not sure
Steps to Reproduce
./k3sup install --host coreos01.adr.net --user root --k3s-channel testing --ssh-key ~/.ssh/id_ecdsa
Your Environment
k3sup install/join
):FCOS
Do you want to work on this?
Subject to design approval, are you willing to work on a Pull Request for this issue or feature request?
The text was updated successfully, but these errors were encountered: