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

dqlite - panic: runtime error: makeslice: len out of range #1155

Closed
alexellis opened this issue Dec 1, 2019 · 3 comments
Closed

dqlite - panic: runtime error: makeslice: len out of range #1155

alexellis opened this issue Dec 1, 2019 · 3 comments

Comments

@alexellis
Copy link

alexellis commented Dec 1, 2019

I'm trying to run k3s server with --cluster-init on latest Raspbian with RPi3.

Please see below for what was going wrong

Errors:

journal
kine-fail

Version:

pi@k5s-201:~ $ k3s --version
k3s version v1.0.0 (18bd921c)
pi@k5s-201:~ $ uname -a
Linux k5s-201 4.19.75-v7+ rancher/k3s#1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux
pi@k5s-201:~ $ cat /etc/os-release 
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@k5s-201:~ $ 
@alexellis
Copy link
Author

This is the command I was using in k3sup: curl -sLS https://get.k3s.io | INSTALL_K3S_EXEC='server --cluster-init --tls-san 192.168.0.202 ' INSTALL_K3S_VERSION='v1.0.0' sh -

@alexellis
Copy link
Author

cc @ibuildthecloud

alexellis added a commit to alexellis/k3sup that referenced this issue Dec 2, 2019
Adds the --cluster flag which passes --cluster-init to k3s
under the hood. This worked on a 64-bit machine but did not
work on armhf and I've raised an upstream issue.

The k3s maintainers believe this to be an issue with dqlite.

k3s-io/k3s#1155

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
alexellis added a commit to alexellis/k3sup that referenced this issue Dec 2, 2019
Adds the --cluster flag which passes --cluster-init to k3s
under the hood. This worked on a 64-bit machine but did not
work on armhf and I've raised an upstream issue.

The k3s maintainers believe this to be an issue with dqlite.

k3s-io/k3s#1155

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
@davidnuzik
Copy link
Contributor

Is a duplicate of #1115

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

No branches or pull requests

2 participants