Comments (5)
Hi @adnklauser
Yes - you're right. I've just checked the latest version of our charts we have locally, and we do indeed have those flags you mention set. The other main difference between our charts and the ones here is in the shared configmap, where it sets:
<address>jms</address>
Which will only distribute messages starting with 'jms' - which for us didn't include everything. The default in these charts should probably be blank as a generic case (to include everything).
I'll work on a PR for these charts. Hope this helps!
from activemq-artemis-helm.
We face the same issue when tried to run above chart without any persistence for live (master) node
Even with :
true on the slave and trueOn the masters.
After restart New master pod starts from scratch and forms new cluster (apparently without persistence data dir configuration of broxer.xml is ignored completely )
Hence , you get a split brain with running two masters :
- master from old cluster formation ( slave0 took his role)
- and just formed new cluster from restart of master0
Conclusion:
- Don’t try that chart without persistence storage in your cluster even with above options.
- That’s an Artemis problem checked with 2.10
To reproduce on your local setup just Form a cluster. Then remove the data dir for live cluster0 with available broker.xml start a new live server
Workaround:
In case slplitbrain recreate slave once again and keep an eye on your formation
from activemq-artemis-helm.
Are there any updates regarding this issue? I want to use this helm chart in k8s production, But the aforementioned issue still exists, and as a workaround am deleting the slave pod when master restarts. I also tried adding the <check-for-live-server>true</check-for-live-server> and <allow-failback>true</allow-failback>
on respective master and slave configmap file but still it doesn't work. Can we expect any upgraded helm chart with proper failover and failback?
from activemq-artemis-helm.
@chandras-xl The issue is not with chart but with Artemis cluster configuration itself.
So If you don’t have any kind persistent storage inside your k8s, move your cluster formation on aretmis to virtual machine I.e as docker image (docker-compose) or run as daemon
from activemq-artemis-helm.
@andrusstrockiy Thank you! the failover and failback worked after using persistent storage on my k8s cluster.
from activemq-artemis-helm.
Related Issues (20)
- Connection fail HOT 12
- LoadBalancer service pendiing HOT 1
- Slave Readiness Probes faling HOT 3
- AMQ222092: Connection to the backup node failed, removing replication now: ActiveMQRemoteDisconnectException[errorType=REMOTE_DISCONNECT message=null]
- Messages arriving on the wrong master never consumed? HOT 8
- BUG: Missing security context for master and slave when using persistence mode. HOT 1
- Production ready? review 2020 HOT 7
- Broken Icon
- Github Actions for automatic Release HOT 2
- Office Hours? HOT 1
- https://vromero.github.io/activemq-artemis-helm/index.yaml is missing HOT 3
- Allow to specify a ConfigMap for config-override
- activemq-artemis ingress controller not works HOT 4
- PersistentVolume permissions HOT 1
- Remove Slave Nodes. HOT 3
- Failed to create netty connection with antiAffinity set to 'hard'
- Enable Prometheus metric
- Loadbalancing with external load balancer
- Getting Validation Error while helm install
- Issue when installing helmchart with rights in etc
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 activemq-artemis-helm.