GithubHelp home page GithubHelp logo

[RFE] I need better logs and troubleshooting advice across the board. So many bugs and issues are completely unanswered with the same issue across generations of release. about rancher HOT 1 OPEN

ns-rlewkowicz avatar ns-rlewkowicz commented on May 23, 2024
[RFE] I need better logs and troubleshooting advice across the board. So many bugs and issues are completely unanswered with the same issue across generations of release.

from rancher.

Comments (1)

ns-rlewkowicz avatar ns-rlewkowicz commented on May 23, 2024

I ended up just having to scrap the cluster. I'm running out of time on an initiative and just have to rebuild, but not for lack of trying.

I wanted to share something fun I found. More or less, an undocumented api of sorts that you could cause a lot of damage with if you're not careful. I need to put this into a blog post.

You list your keys on the local cluster:

etcdctl get "" --prefix --keys-only

Grep around for cluster name, machine whatever etc and you just kinda feel out the keys.

R_CLUSTER=`etcdctl get "/registry/provisioning.cattle.io/clusters/fleet-default/c-gmd2b" --prefix | head -2 | tail -1 | jq .`

NEW_KEY=`echo $R_CLUSTER | jq '.status.conditions[0]="False"'`

etcdctl put "/registry/provisioning.cattle.io/clusters/fleet-default/c-gmd2b" "$(echo $NEW_KEY | jq . -c)"

I only got so far, and would like to play more if I can find the time, but the world is your oyster here. You can modify anything in place regardless of if you should or could otherwise. You can ready or unready nodes, try to trigger lifecycle events etc. Very powerful!

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.