Comments (5)
Hi @windowsrefund!
Apologies for the delay.
The error is caused by ReadWriteOnce
access mode of a Mongo volume. It means that the volume can be mounted as read-write by a single node. It can still allow multiple pods to access the volume but they need to reside on the same node. More about access modes: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes
There were no changes from our side to Mongo values so the pod was recreated for a different reason (perhaps it needed to be moved to another node as the current one was lacking resources or sth ) and while the volume was still used by a previous pod a new one could not attach to it.
To avoid such issues in future you may consider using Recreate
strategy for Deployments: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#recreate-deployment
It will guarantee termination of an older pod before a new one is launched.
from helm-charts.
@ypoplavs please check
from helm-charts.
bumping this
from helm-charts.
Thanks for this. I was able to upgrade as expected after adding the following into my values.yaml
mongodb:
updateStrategy:
type: Recreate
However, now I appear to have hit another issue. A test suite which ran fine on the previous deployment is now failing despite the fact I haven't changed anything related to minio. Here's the appropriate key of the corresponding tse
executionresult:
status: failed
output: ""
outputtype: ""
errormessage: 'can''t create new test execution, can''t insert into storage:
could not create bucket: bucket "testkube-logs" already exists'
steps: []
reports: null
I'll post an update should I find the root cause
from helm-charts.
OK so interestingly enough, the failure occurs only once post upgrade and subsequent runs pass. I'll probably close this out soon (unless my experience changes) as the primary issue has been resolved. That said, feel free to ping me if I can provide any info that may be helpful.
from helm-charts.
Related Issues (20)
- Make it possible to pass in labels and annotations that the operator will apply to all dynamically created objects (via the Go templates). HOT 11
- feat: (testkube-api) All job templates should be configurable as cleartext HOT 4
- apiServerEndpoint and internal cluster svc HOT 2
- Allow PathType for ingress to be defined other than Prefix HOT 1
- Documentation for Installation und Maintenance of Testkube via GitOps and ArgoCD HOT 1
- testkube-api-server pod keep print error log HOT 2
- Cannot load tests and testsuites after unintall and install helm without remove pvc HOT 6
- creating tests in different namespaces HOT 7
- Scheduling test does not work HOT 3
- Make the artifacts volume size configurable HOT 2
- Custom cronjobs template HOT 10
- Add capability to limit the ValidatingWebhookConfiguration to a single namespace. HOT 2
- Add the possibility to globally set tolerations and nodeSelector HOT 3
- testkube-playwright-executor error on arm64/aarch64 HOT 8
- Secrets
- Global values.yaml limit test creation source to only GIT for all test types. HOT 1
- Allowing users to disable Liveness and Readiness Probe for mongodb chart HOT 4
- Stable releases? HOT 15
- Wrong indentation for tolerations and nodeSelector in deployment.yaml HOT 2
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 helm-charts.