Comments (7)
Thanks for cleaning this up, i don't think i have seen it recently.
from ibm-spectrum-scale-csi.
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:
- Implement a salted sha512 checksum to track secret changes in the daemonset.
- This change would be in the ansible role and update the templates.
- 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.
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.
Moving to 1.0.1 for further work.
from ibm-spectrum-scale-csi.
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.
This is super stale at this point, @whowutwut have you seen this recently?
from ibm-spectrum-scale-csi.
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)
- shallow copy in version 2 should point to source volume snapshot only HOT 1
- shallow copy should not create a new fileset HOT 1
- Different types of shallow copies are not supported for version 2 PVC as source volume HOT 3
- Sidecar pod has crash loopback with CSI2.10 GA Version HOT 4
- Different type of shallow copies are not supported for version 1 PVC as source volume HOT 2
- Cross cluster shallow copy is not supported HOT 1
- clone of shallow copy volume is not working HOT 1
- shallow copy pv doesn't get deleted if snapshot directory gets deleted HOT 2
- mmxcp improvement HOT 2
- volume snapshot is not getting deleted for version 2 volumes in shallow copy HOT 1
- log improvement for shallow copy volumes HOT 2
- shallow copy volume is not getting created with old snapshot handle HOT 1
- pod is not getting mounted on shallow copy pvc for remote fs k8s HOT 1
- frequent cso status update is seen with 2.11.0 latest dec HOT 1
- application pod remains in terminating if kubelet root directory is a softlink HOT 2
- Nodepublish is taking approx 3 mins to complete HOT 2
- race condition happens when shallow copy pvc and snapshot are deleted together HOT 1
- CSI doc changes for 2.10.1 HOT 2
- CSI 2.10.1 checklist HOT 1
- Scale GUI not returning list of remote filesystems HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ibm-spectrum-scale-csi.