Giter Site home page Giter Site logo

Comments (8)

turkenh avatar turkenh commented on May 27, 2024

@jbw976 do you have following env var set in helm provider controller deployment? probably not?

    - name: XDG_CACHE_HOME
      value: /tmp

Probably this got lost during transition to new packaging.

from provider-helm.

jbw976 avatar jbw976 commented on May 27, 2024

No I do not have that in my provider-helm deployment, I can try adding it and seeing if it fixes this @turkenh.

I would expect kubectl crossplane install provider crossplane/provider-helm:v0.3.0 to take care of this for me. Do we need to fix something (and where?) so that this works without manual intervention in v0.3.1 or something? 🙏

from provider-helm.

turkenh avatar turkenh commented on May 27, 2024

I would expect kubectl crossplane install provider crossplane/provider-helm:v0.3.0 to take care of this for me. Do we need to fix something (and where?) so that this works without manual intervention in v0.3.1 or something? 🙏

Yes, this was already case with v0.2.0, but as stated, probably we lost this with new packaging changes. I remember, @hasheddan mentioned somewhere that this might got removed with new packaging (as we now use a static controller deployment).

Anyway, just pushed a possible fix (#37). It would be great if you could test it in your setup, built and pushed controller image as "turkenh/provider-helm-controller:fix36". Otherwise, I can test tomorrow.

from provider-helm.

jbw976 avatar jbw976 commented on May 27, 2024

i tested with @turkenh fixed controller from above and it appears to have fixed the initial issue, but now I see this, is it supposed to be transient? its still there after 6-7 mins

  status:
    atProvider:
      releaseDescription: Initial install underway
      revision: 1
      state: pending-install
    conditions:
    - lastTransitionTime: "2020-10-20T23:53:15Z"
      message: 'update failed: failed to upgrade release: "platform-ref-aws-cluster-hmfxt-bt279"
        has no deployed releases'
      reason: ReconcileError
      status: "False"
      type: Synced

from provider-helm.

turkenh avatar turkenh commented on May 27, 2024

'update failed: failed to upgrade release: "platform-ref-aws-cluster-hmfxt-bt279"
has no deployed releases'

This is because previous installation attempt got interrupted (helm controller pod got terminated for some reason) before it is completed and actual helm release is in pending-install state. There is a helm issue for this: helm/helm#7139

Just tested with the helm release you used in this issue and observed that chart has pre-install hooks for an initial job which means installation takes longer than usual, still should not be an issue if controller not stopped/killed.

So I wouldn't expect this would happen again with a clean installation.

from provider-helm.

turkenh avatar turkenh commented on May 27, 2024

Still to overcome such an edge case:

We have an optional rollback support which rolls back latest release and retries which should also start supporting pending states with #37.

from provider-helm.

turkenh avatar turkenh commented on May 27, 2024

@jbw976 crossplane/provider-helm:v0.3.3 has the fixes.

from provider-helm.

jbw976 avatar jbw976 commented on May 27, 2024

Tested with v0.3.3 just now and it looks like this issue has been fixed!! thank you @turkenh!

from provider-helm.

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.