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

Can't apply some K8s manifests because of undefined symbol and GLIBC_PRIVATE #4453

Closed
kimwnasptd opened this issue Mar 7, 2024 · 1 comment

Comments

@kimwnasptd
Copy link

Summary

I've tried to run the following command in a microK8s 1.29 (snap) and it fails to apply the resources

$ microk8s.kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/nfd?ref=v0.29.0'
error: failed to run '/snap/microk8s/6539/usr/bin/git fetch --depth=1 https://github.com/intel/intel-device-plugins-for-kubernetes v0.29.0': /usr/lib/git-core/git-remote-https: symbol lookup error: /snap/core20/current/lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE: exit status 128

What Should Happen Instead?

The above manifests can be installed with the following

sudo snap install kubectl --classic
sudo microk8s kubectl config view --raw > $HOME/.kube/config
kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/nfd?ref=v0.29.0'

Comparing the 2 kubectl versions I see they are identical

kubectl version
Client Version: v1.29.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.2

microk8s.kubectl version
Client Version: v1.29.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.2

Reproduction Steps

sudo snap install microk8s --classic --channel=1.29/stable
microk8s.kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/nfd?ref=v0.29.0'

Introspection Report

Can you suggest a fix?

Are you interested in contributing with a fix?

@neoaggelos
Copy link
Member

Thanks for reporting @kimwnasptd. This is a duplicate of #3988

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