GithubHelp home page GithubHelp logo

Comments (7)

dgoodwin avatar dgoodwin commented on July 29, 2024

If we reach into cluster to shut things off we'll need admin kubeconfig available to destroy cluster and Hive, which is probably fine, though it should be an optional thing and if it's given we'll try, but errors would be non-fatal for the cases where we're deleting a broken cluster.

If we could continually scan I'd almost prefer that, wiping out the masters first would help, but it's going to get tricky with the master recovery code coming.

from hive.

abhinavdahiya avatar abhinavdahiya commented on July 29, 2024

If we can model the delete runners to run untill a required confidence level is reached, successfull delete pass increases the confidence, error can reset it...

Or something on the lines so that the delete runners are running multiple passess of success untill we can be sure...

from hive.

joelddiaz avatar joelddiaz commented on July 29, 2024

We're currently filtering for instances with state 'running' https://github.com/openshift/hive/blob/master/contrib/pkg/awstagdeprovision/awstagdeprovision.go#L722 , so I believe we can extend this to also catch anything that is just recently launched by adding 'pending'.

from hive.

joelddiaz avatar joelddiaz commented on July 29, 2024

I haven't had the pleasure of running into the scenario described here (I'll try to set something up locally here), but it would be great if someone could try this out https://github.com/joelddiaz/hive/tree/catch-pending-instances

from hive.

joelddiaz avatar joelddiaz commented on July 29, 2024

So I added the search-for-pending logic and I was still seeing hangs in the uninstall. The issue was that the return logic in deleteInstances() was flipped. I've corrected it and PRed both changes in #58

from hive.

joelddiaz avatar joelddiaz commented on July 29, 2024

Can we close this out with #58 being merged?

from hive.

crawford avatar crawford commented on July 29, 2024

Probably. I'll reopen if we have trouble again in the future.

from hive.

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.