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

SURE-6356: Kubewarden installation fail on Air Gapped Rancher environment #500

Closed
jhmarina opened this issue Aug 8, 2023 · 1 comment
Closed

Comments

@jhmarina
Copy link

jhmarina commented Aug 8, 2023

Issue description:

Kubewarden installation fails on Air Gap Environment tries to download from the wrong URL

Business impact:

Kubeawarden is the follow-up of PSP (deprecates in Kubernetes) Installation in Rancher should be also possible for Air Gap installation as it is most on large customer setups.

Troubleshooting steps:

User Rancher, v2.7.2 Extensions select the air-gaped installation in Rancher UI Extensions
Issues on Air-Gapped setup, it still tries to download from an extern URL.

Repro steps:

Having installed and adapt the deployment of Rancher Extensions by hand in Ari Gap the related Pod started working See screenshot image003.png

The documentation ( https://ranchermanager.docs.rancher.com/integrations-in-rancher/rancher-extensions#installing-extensions ) says.

In v2.7.0, the built-in extensions will not be displayed under the Available tab. Therefore, you will need to manually add the desired repos to install extensions. We will update the community once these extensions have been pulled out to be available for selection.“

It is unclear and a secret how to get there.

So Customer cloned the repo from GitHub and made it locally available for the cluster.
Upstream => Lokal
https://github.com/rancher/ui-plugin-charts => https://bitbucket.webapp.sdst.sbaintern.de/users/heilmannt001/repos/exttest/browse

After adding the Repo ( running into SSL Problem described here: => https://ranchermanager.docs.rancher.com/pages-for-subheaders/helm-charts-in-rancher#repositories and rancher/rancher#31676 ) the Extension kubewarden was selectable see screenshot: image010.png.

The installation looks successful. See screenshot image010.png

But kubewarden stays on error. See screenshot image011.png

This is probably due to the fact that the plugin operator continues to search online…. (it says so in all the files) see also screenshot image013.png

Is there documentation from your side somewhere that I may not have found to cleanly install extensions and kubewarden in AirGap?

Actual behavior:

Ari Gap Kubeawarden Extension install failed.

Expected behavior:

Kubewarden Extension install should not fail on Air Gap Install. Most Lagre customers have Air Gap setups.

@jhmarina jhmarina converted this from a draft issue Aug 8, 2023
@jhmarina
Copy link
Author

This pr in the ui-plugin-charts repo. What we're waiting for now is automatically adding the catalog image (found in Docker hub) to the rancher-images.txt file that is generated when Rancher Manager is released (accomplished with this pr). Then have the ui-plugin-operator installed on an air-gapped instance (fixed here).
 
Summarizing, this will be completely fixed in Rancher Manager v2.8.0

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

No branches or pull requests

2 participants