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 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+ #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

This comment has been minimized.

Copy link
Author

@alexellis alexellis commented Dec 1, 2019

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

This comment has been minimized.

Copy link
Author

@alexellis alexellis commented Dec 2, 2019

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.

rancher/k3s#1155

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
@alexellis alexellis mentioned this issue Dec 2, 2019
1 of 3 tasks complete
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.

rancher/k3s#1155

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

This comment has been minimized.

Copy link
Collaborator

@davidnuzik davidnuzik commented Dec 4, 2019

Is a duplicate of #1115

@davidnuzik davidnuzik closed this Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.