GithubHelp home page GithubHelp logo

Comments (9)

abinet avatar abinet commented on September 26, 2024 4

It seems like a bug introduced in new version.
Workaround which worked for us is to set configuration in downstream clusters manually by

kubectl patch settings.management.cattle.io system-catalog --type=merge --patch 'value: "bundled"'

from rancher.

Trekky12 avatar Trekky12 commented on September 26, 2024

I can confirm this and because the error messages reads Ensure failure I assume the error was somewhere introducted in:

func Ensure(secret *corev1.Secret, namespace, name, gitURL, commit string, insecureSkipTLS bool, caBundle []byte) error {
git, err := gitForRepo(secret, namespace, name, gitURL, insecureSkipTLS, caBundle)
if err != nil {
return fmt.Errorf("ensure failure: %w", err)
}
// If the repositories are rancher managed and if bundled is set
// don't fetch anything from upstream.
if IsBundled(git.Directory) && settings.SystemCatalog.Get() == "bundled" {
return nil
}
if err := git.clone(""); err != nil {
return fmt.Errorf("ensure failure: %w", err)
}
if err := git.reset(commit); err == nil {
return nil
}
if err := git.fetchAndReset(commit); err != nil {
return fmt.Errorf("ensure failure: %w", err)
}
return nil

The git history is here:
https://github.com/rancher/rancher/commits/904c2fb091373c12951a0c54d8ba10969d887369/pkg/catalogv2/git/download.go

from rancher.

abinet avatar abinet commented on September 26, 2024

we have same issue with air-gapped 2.8.4 installation as well

from rancher.

LeonSchumacher avatar LeonSchumacher commented on September 26, 2024

Hi i have the same issue with 2.8.3 also airgapped installation.

from rancher.

dfencegit avatar dfencegit commented on September 26, 2024

Same here worked at 2.8.1 and now broken after upgrade to 2.8.4. Looks like new clusters deployed from 2.8.4 work seem ok for ~20 minutes then the Repositories fail to update and the fall into error state. This issue does not impact the local cluster.

from rancher.

dfencegit avatar dfencegit commented on September 26, 2024

Thanks, that worked for us, brought offline charts back.

from rancher.

jdbaudean avatar jdbaudean commented on September 26, 2024

I hit the same bug in 2.8.4, that patch worked for me as well. Does anyone know if this is still present in 2.8.5?

from rancher.

LsM97 avatar LsM97 commented on September 26, 2024

Can confirm the issue still persists in 2.8.5 for us

from rancher.

sammasamadhi avatar sammasamadhi commented on September 26, 2024

Thanks, that worked for us

from rancher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.