Skip to content
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

v0.15.2 fails to install k0s on Flatcar hosts (regression from v0.15.0) #495

Closed
twz123 opened this issue Jun 14, 2023 · 1 comment · Fixed by #496
Closed

v0.15.2 fails to install k0s on Flatcar hosts (regression from v0.15.0) #495

twz123 opened this issue Jun 14, 2023 · 1 comment · Fixed by #496

Comments

@twz123
Copy link
Member

twz123 commented Jun 14, 2023

Relevant log excerpt:

time="14 Jun 23 08:39 CEST" level=info msg="==> Running phase: Install k0s binaries on hosts"
time="14 Jun 23 08:39 CEST" level=debug msg="[ssh] 52.59.122.63:22: executing sudo -s -- test -e /tmp/tmp.qUkCFJ7Go8 2> /dev/null"
time="14 Jun 23 08:39 CEST" level=debug msg="[ssh] 52.59.122.63:22: executing sudo -s -- install -m 0755 -o root -g root -d \"/usr/local/bin\""
time="14 Jun 23 08:39 CEST" level=debug msg="[ssh] 52.59.122.63:22: executing sudo -s -- install -m 0750 -o root -g root \"/tmp/tmp.qUkCFJ7Go8\" \"/usr/local/bin/k0s\""
time="14 Jun 23 08:39 CEST" level=debug msg="[ssh] 52.59.122.63:22: (stderr) install: cannot create regular file '/usr/local/bin/k0s': Read-only file system"
time="14 Jun 23 08:39 CEST" level=info msg="* Running clean-up for phase: Install k0s binaries on hosts"
time="14 Jun 23 08:39 CEST" level=info msg="[ssh] 52.59.122.63:22: cleaning up k0s binary tempfile"
time="14 Jun 23 08:39 CEST" level=debug msg="[ssh] 52.59.122.63:22: executing sudo -s -- rm -f -- /tmp/tmp.qUkCFJ7Go8 2> /dev/null"
time="14 Jun 23 08:39 CEST" level=info msg="###### New session ######"
time="14 Jun 23 08:39 CEST" level=error msg="apply failed - log file saved to /home/twieczorek/.cache/k0sctl/k0sctl.log"
time="14 Jun 23 08:39 CEST" level=fatal msg="failed on 1 hosts:\n - [ssh] 52.59.122.63:22: failed to install k0s binary: update k0s binary: install k0s binary: command failed: client exec: ssh session wait: Process exited with status 1"

Full logs:

OS info:

Linux 5.15.111-flatcar #1 SMP Mon May 29 09:16:20 -00 2023 x86_64 GNU/Linux
NAME="Flatcar Container Linux by Kinvolk"
ID=flatcar
ID_LIKE=coreos
VERSION=3510.2.2
VERSION_ID=3510.2.2
BUILD_ID=2023-05-29-0939
SYSEXT_LEVEL=1.0
PRETTY_NAME="Flatcar Container Linux by Kinvolk 3510.2.2 (Oklo)"
ANSI_COLOR="38;5;75"
HOME_URL="https://flatcar.org/"
BUG_REPORT_URL="https://issues.flatcar.org"
FLATCAR_BOARD="amd64-usr"
CPE_NAME="cpe:2.3:o:flatcar-linux:flatcar_linux:3510.2.2:*:*:*:*:*:*:*"
@kke
Copy link
Contributor

kke commented Jun 14, 2023

This was done in #460 - apparently /usr/local/bin on flatcar can't be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants