Giter Site home page Giter Site logo

Comments (5)

okozachenko1203 avatar okozachenko1203 commented on September 4, 2024
  • Cluster status is not changed from UPDATE_COMPLETE to UPDATE_IN_PROGRESS (the case which @guilhermesteinmuller mentioned above)
  • Cluster status is not reflecting the failed result. Even though cluster creation failed because of resource lack, it keeps CREATE_IN_PROGRESS status.

from magnum-cluster-api.

mnaser avatar mnaser commented on September 4, 2024

@okozachenko1203 so I think this issue should track the first part of your message, and the second part is covered in #64

from magnum-cluster-api.

okozachenko1203 avatar okozachenko1203 commented on September 4, 2024

Cluster status transition from COMPLETE to IN_PROGRESS is done by conductor's periodic service ClusterUpdateJob. mcapi driver only does update the status from IN_PROGRESS to COMPLETE.
This is more likely related to the race condition and the conductor was stuck to do the periodic service, and not related to mcapi.

from magnum-cluster-api.

mnaser avatar mnaser commented on September 4, 2024

i think this issue still valid, if I start an upgrade o fthe cluster, it goes into COMPLETE right away because the reconciler did not start the upgrade yet.. we should somehow find a way to 'delay' the check or know that it will go into reconciliation

from magnum-cluster-api.

okozachenko1203 avatar okozachenko1203 commented on September 4, 2024

i think this issue still valid, if I start an upgrade o fthe cluster, it goes into COMPLETE right away because the reconciler did not start the upgrade yet.. we should somehow find a way to 'delay' the check or know that it will go into reconciliation

Add a delay could be the simple fix but not perfect i think
To know it will go into reconciliation, we need to share the k8s controller task queue or events? Not sure it could be possible.

Now in the mcapi driver's upgrade_cluster(), it just applies the desired states to the capi resources and ends. And the cluster_conductor's cluster_upgrade handler will hand over the task and update the cluster status to IN_PROGRESS. I think mcapi driver's upgrade_cluster() method can wait till the new reconciliation is started, so conductor will change the coe cluster status after the capi controller changed the capi cluster status.

from magnum-cluster-api.

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.