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

Support for other linux distros and versions #49

Closed
ShylajaDevadiga opened this issue Jun 30, 2020 · 9 comments
Closed

Support for other linux distros and versions #49

ShylajaDevadiga opened this issue Jun 30, 2020 · 9 comments
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@ShylajaDevadiga
Copy link
Contributor

RKE2 version:
v0.0.1-alpha.4

Node OS:
Ubuntu 18.04:

Describe the issue:
rke2 installation errors on ubuntu18.04.

Logs:

Using binary for rke2. now seeing this error `rke2: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.28' not found (required by rke2)
@briandowns
Copy link
Member

A binary that's statically linked can be made by issuing: BUILDTAGS="netgo" make build. Do we want to add this to the BUILDTAGS variable as a default value in the Makefile and append on additonal things when the make command is run? @cjellick @ibuildthecloud @galal-hussein

@cjellick
Copy link
Contributor

go for it

@ShylajaDevadiga
Copy link
Contributor Author

ShylajaDevadiga commented Jul 9, 2020

Using rke2 v0.0.1-alpha.7
On CentOS 7.8 and RHEL 7.8 we have the same error.

# cat /etc/redhat-release 
CentOS Linux release 7.8.2003 (Core)
# ./rke2 -v
./rke2: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by ./rke2)
# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.8 Beta (Maipo)
#./rke2  -v
./rke2: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by ./rke2)

@briandowns
Copy link
Member

PR #73 submitted to resolve issue.

@ShylajaDevadiga
Copy link
Contributor Author

With rke2 version v1.18.4-alpha9-rke2

Centos 7, rpm does not exist

rpm -i https://rpm.rancher.io/rke2-selinux-0.1.1-rc1.el7.noarch.rpm
curl: (22) The requested URL returned error: 404 Not Found
error: skipping https://rpm.rancher.io/rke2-selinux-0.1.1-rc1.el7.noarch.rpm - transfer failed

@Oats87
Copy link
Contributor

Oats87 commented Jul 14, 2020

With rke2 version v1.18.4-alpha9-rke2

Centos 7, rpm does not exist

rpm -i https://rpm.rancher.io/rke2-selinux-0.1.1-rc1.el7.noarch.rpm
curl: (22) The requested URL returned error: 404 Not Found
error: skipping https://rpm.rancher.io/rke2-selinux-0.1.1-rc1.el7.noarch.rpm - transfer failed

RPM's are unavailable at this point, but will be available soon

@briandowns
Copy link
Member

This issue is different than the original reported here. I think this should be tracked separately and tag @Oats87 .

@ShylajaDevadiga
Copy link
Contributor Author

rke2 version: v1.18.4-alpha9-rke2
Node OS: Ubuntu 18.04
Installation on single node is successful, pods are up and running.

 lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.4 LTS
Release:	18.04
Codename:	bionic

rke2 -v
rke2 version v1.18.4-alpha9-rke2 (HEAD)

kubectl  get nodes
NAME              STATUS   ROLES         AGE   VERSION
ip-172-31-9-128   Ready    etcd,master   99s   v1.18.4-alpha9-rke2

kubectl get pods -A 
NAMESPACE     NAME                                             READY   STATUS      RESTARTS   AGE
kube-system   canal-mc6xx                                      2/2     Running     0          4m4s
kube-system   coredns-coredns-bf59846fc-994nt                  1/1     Running     0          4m3s
kube-system   etcd-ip-172-31-9-128                             1/1     Running     0          3m52s
kube-system   helm-install-canal-tmx7v                         0/1     Completed   0          4m20s
kube-system   helm-install-coredns-z8pdp                       0/1     Completed   0          4m20s
kube-system   helm-install-kube-proxy-jfkxg                    0/1     Completed   0          4m20s
kube-system   helm-install-metrics-server-c6kl6                0/1     Completed   0          4m20s
kube-system   helm-install-nginx-ingress-8p426                 0/1     Completed   0          4m20s
kube-system   kube-apiserver-ip-172-31-9-128                   1/1     Running     0          3m35s
kube-system   kube-controller-manager-ip-172-31-9-128          1/1     Running     0          4m34s
kube-system   kube-proxy-ff5t4                                 1/1     Running     0          4m4s
kube-system   kube-scheduler-ip-172-31-9-128                   1/1     Running     0          4m34s
kube-system   metrics-server-6785b5b6f9-2j4hl                  1/1     Running     0          3m37s
kube-system   nginx-ingress-controller-dfdff6bdd-7w5b9         1/1     Running     0          3m31s
kube-system   nginx-ingress-default-backend-7c868597f4-5s7rp   1/1     Running     0          3m31s

@ShylajaDevadiga
Copy link
Contributor Author

Closing this ticket as resolved or original issue is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants