Giter Club home page Giter Club logo

newrelic-controller's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

newrelic-controller's Issues

"resourceVersion now: 13748114" and processing old versions of CRD resources

The problem is that often the controller that is watching a CRD starts processing old versions of the CRD resources.

This is potentially disastrous.

Example log output:

{"time":"2019-01-15 11:21:50,490", "level":"DEBUG", "resource_name":"-", "new_relic_app":"-", "message":"Error code 410"}
{"time":"2019-01-15 11:21:50,491", "level":"DEBUG", "resource_name":"-", "new_relic_app":"-", "message":"Updating resource version to 18726332 due to "too old" error"}
{"time":"2019-01-15 11:21:51,229", "level":"DEBUG", "resource_name":"-", "new_relic_app":"-", "message":"Error code 410"}
{"time":"2019-01-15 11:21:51,229", "level":"DEBUG", "resource_name":"-", "new_relic_app":"-", "message":"Updating resource version to 20220905 due to "too old" error"}
{"time":"2019-01-15 11:21:51,927", "level":"DEBUG", "resource_name":"-", "new_relic_app":"-", "message":"resourceVersion now: 20220906"}

I tried to use an a function to parse the 410 error correctly but it still doesn't work correctly.

I opened an issue here with the kubernetes-client/python project: kubernetes-client/python#693

@juliantaylor created a PR to fix it in the kubernetes-client/python-base project: kubernetes-client/python-base#109

Another issue: kubernetes-client/python#609

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.