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

Cloudnative-pg installation fails / Not found #4801

Open
RedLine89 opened this issue Dec 27, 2024 · 0 comments
Open

Cloudnative-pg installation fails / Not found #4801

RedLine89 opened this issue Dec 27, 2024 · 0 comments

Comments

@RedLine89
Copy link

Summary

Cloudnative-PG installation fails when microk8s enable cloudnative-pg is executed.

What Should Happen Instead?

Cloudnative-PG plugin should get installed.

Reproduction Steps

ubuntu@microk8s-vm:~$ microk8s enable cloudnative-pg
Infer repository community for addon cloudnative-pg
Checking if the plugin exists
Plugin not found, installing
Installing kubectl cnpg version 1.22.0
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     9  100     9    0     0     31      0 --:--:-- --:--:-- --:--:--    31
tar: This does not look like a tar archive

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
ubuntu@microk8s-vm:~$
ubuntu@microk8s-vm:~$ cat /var/snap/microk8s/7498/tmp/cloudnative-pg/kubectl-cnpg.tar.gz
Not Foundubuntu@microk8s-vm:~$

Introspection Report

Can you suggest a fix?

It appears that URL to download Cloudnative-PG is wrong. On the other hand if cURL is being used to download the file, it will not work without 'redirect' so option -L potentially needs to be added to the enable script.

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

1 participant