Giter Site home page Giter Site logo

Comments (7)

whowutwut avatar whowutwut commented on May 31, 2024 1

Thanks for cleaning this up, i don't think i have seen it recently.

from ibm-spectrum-scale-csi.

mew2057 avatar mew2057 commented on May 31, 2024

So this is basically the fault of a monotonically increasing counter, which doesn't vet that changes actually happened to the secret. I originally implemented it in this way to reduce amount we actually touch the secrets and it was a lazy way to prevent exposures.

The negative is we're over restarting.

My solution to this is two fold:

  1. Implement a salted sha512 checksum to track secret changes in the daemonset.
  • This change would be in the ansible role and update the templates.
  1. Add additional logging to the controller so we can see the name, namespace and label of the secret. This way we can better check how the operator is called.

After this is implemented, and cleared I recommend moving this issue to the 1.0.1 milestone so we can do a further refinement after we run tests.

from ibm-spectrum-scale-csi.

mew2057 avatar mew2057 commented on May 31, 2024

To point number two the new log for the operator container in the operator will look like this:

{
	"level": "info",
	"ts": 1574362995.7482946,
	"logger": "controller_csiscaleoperator",
	"msg": "In mapping function, mapping to 0 items; Secret: secret1:ibm-spectrum-scale-csi-driver"
}

This says how many operators we're mapping to: mapping to 0 operators. Additionally, it outlines the secret name and namespace. Since this is an investigative fix the namespace is included to track originating namespace.

from ibm-spectrum-scale-csi.

mew2057 avatar mew2057 commented on May 31, 2024

Moving to 1.0.1 for further work.

from ibm-spectrum-scale-csi.

mew2057 avatar mew2057 commented on May 31, 2024

I have a hunch this is memory related based on the work done in Issue IBM/ibm-spectrum-scale-csi-operator#46.

from ibm-spectrum-scale-csi.

mew2057 avatar mew2057 commented on May 31, 2024

This is super stale at this point, @whowutwut have you seen this recently?

from ibm-spectrum-scale-csi.

mew2057 avatar mew2057 commented on May 31, 2024

I think this one is cleared, it had something to do with the secret code and it should have been fixed by the secret code fix.

from ibm-spectrum-scale-csi.

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.