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

Does not work microk8s.helm3 plugins install #1260

Closed
NerdDoc opened this issue Jun 2, 2020 · 8 comments
Closed

Does not work microk8s.helm3 plugins install #1260

NerdDoc opened this issue Jun 2, 2020 · 8 comments
Assignees
Labels

Comments

@NerdDoc
Copy link

NerdDoc commented Jun 2, 2020

Microk8s was installed by using snap on ubuntu 18.04.4

# snap install microk8s --classic microk8s (1.18/stable) v1.18.3 from Canonical✓ installed

Then enabled Helm3

# microk8s.enable helm3 Enabling Helm 3 Fetching helm version v3.0.2. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 11.5M 100 11.5M 0 0 1692k 0 0:00:06 0:00:06 --:--:-- 2272k Helm 3 is enabled

After that - trying to install diff plugin for helm - no luck

# microk8s.helm3 plugin install https://github.com/databus23/helm-diff --version master Error: Unable to get repository: Cloning into '/home/user/.cache/helm/plugins/https-github.com-databus23-helm-diff'... /usr/lib/git-core/git-remote-https: relocation error: /lib/x86_64-linux-gnu/libnss_dns.so.2: symbol __res_context_search version GLIBC_PRIVATE not defined in file libresolv.so.2 with link time reference : exit status 128

The same problem with other plugin

# microk8s.helm3 plugin install https://github.com/chartmuseum/helm-push Error: Unable to get repository: Cloning into '/home/user/.cache/helm/plugins/https-github.com-chartmuseum-helm-push'... /usr/lib/git-core/git-remote-https: relocation error: /lib/x86_64-linux-gnu/libnss_dns.so.2: symbol __res_context_search version GLIBC_PRIVATE not defined in file libresolv.so.2 with link time reference : exit status 128

No differences if you run installation under root or user

inspection-report-20200602_082429.tar.gz

@ionfist
Copy link

ionfist commented Jun 2, 2020

I have a similar error trying to install helm plugins on Ubuntu 20.04
#sudo microk8s.helm3 --debug plugin install https://github.com/databus23/helm-diff --version master

[debug] cloning https://github.com/databus23/helm-diff to /root/.cache/helm/plugins/https-github.com-databus23-helm-diff Error: Unable to get repository: Cloning into '/root/.cache/helm/plugins/https-github.com-databus23-helm-diff'... /usr/lib/git-core/git-remote-https: symbol lookup error: /usr/lib/git-core/git-remote-https: undefined symbol: curl_global_sslset, version CURL_GNUTLS_3 : exit status 128 helm.go:76: [debug] Unable to get repository: Cloning into '/root/.cache/helm/plugins/https-github.com-databus23-helm-diff'... /usr/lib/git-core/git-remote-https: symbol lookup error: /usr/lib/git-core/git-remote-https: undefined symbol: curl_global_sslset, version CURL_GNUTLS_3 : exit status 128

However, if I manually clone the plugin repo and install it from the cloned path it works.

@Izopi4a
Copy link

Izopi4a commented Dec 18, 2020

i got the same error

microk8s helm3 plugin install https://github.com/hayorov/helm-gcs.git

Error: Unable to get repository: Cloning into '/root/.cache/helm/plugins/https-github.com-hayorov-helm-gcs.git'...
/usr/lib/git-core/git-remote-https: symbol lookup error: /usr/lib/git-core/git-remote-https: undefined symbol: curl_global_sslset, version CURL_GNUTLS_3
: exit status 128

@joedborg
Copy link
Contributor

@Izopi4a which revision of MicroK8s are you using?

@joedborg joedborg self-assigned this Dec 18, 2020
@Izopi4a
Copy link

Izopi4a commented Dec 22, 2020

I am not sure if this is the correct way to check for the version

izopi4a@server:~$ microk8s ctr version
Client:
  Version:  v1.3.7
  Revision: 8fba4e9a7d01810a393d5d25a3621dc101981175

Server:
  Version:  v1.3.7
  Revision: 8fba4e9a7d01810a393d5d25a3621dc1019811

// I missed my email sorry for the delay.

// ubuntu 20.04 desktop, i just followed a tutorial when installing MicroK8s ( from the official web page ) I don't do anything special with the cluster, literally enable DNS and install few web helm charts and that is it

@AdamIsrael
Copy link
Contributor

I'm having the same problem.

Ubuntu 20.10
Microk8s v1.20.5

$ microk8s.helm3 plugin install https://github.com/salesforce/helm-starter.git
Error: Unable to get repository: Cloning into '/home/stone/.cache/helm/plugins/https-github.com-salesforce-helm-starter.git'...
/usr/lib/git-core/git-remote-https: symbol lookup error: /usr/lib/git-core/git-remote-https: undefined symbol: curl_global_sslset, version CURL_GNUTLS_3
: exit status 128

@stale
Copy link

stale bot commented Nov 23, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the inactive label Nov 23, 2022
@stale stale bot closed this as completed Dec 23, 2022
@zhuhaow
Copy link

zhuhaow commented Mar 14, 2024

Still not fixed in the latest microk8s

$ microk8s.helm3 --debug plugin install https://github.com/databus23/helm-diff
[debug] vcs_installer.go:159: cloning https://github.com/databus23/helm-diff to /home/zhuhaow/.cache/helm/plugins/https-github.com-databus23-helm-diff
Error: Unable to get repository: Cloning into '/home/zhuhaow/.cache/helm/plugins/https-github.com-databus23-helm-diff'...
/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
helm.go:84: [debug] Unable to get repository: Cloning into '/home/zhuhaow/.cache/helm/plugins/https-github.com-databus23-helm-diff'...
/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
$ microk8s version
MicroK8s v1.29.0 revision 6364

@radiosilence
Copy link

radiosilence commented Dec 19, 2024

I am also getting:

Error: Unable to get repository: Cloning into '/root/.cache/helm/plugins/https-github.com-databus23-helm-diff'...", "/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```

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

No branches or pull requests

7 participants