When deploying an application with clustering enabled to CloudHub 2.0 using the Rolling update strategy, the deployment fails intermittently. The new replicas fail to join the cluster, traffic remains on the existing replicas, and the application log displays:
Invalid cluster configuration: Node failed to start!
In CloudHub 2.0 clustered mode, all replicas join together into a single Hazelcast cluster. During a rolling update, new replicas spin up while older replicas are still active, requiring incoming replicas to connect to the active Hazelcast cluster.
Different Mule runtime versions may package different Hazelcast versions. For example, Mule runtime 4.9.0 bundles Hazelcast 5.4.0, whereas Mule runtime patch releases starting from 4.9.2 (such as 4.9.23) bundle Hazelcast 5.2.5 as detailed in the Mule 4.9.0 Release Notes. When a deployment attempts to roll from one runtime version to another across a Hazelcast version incompatibility boundary, the new replicas cannot join the existing cluster nodes, and the replica initialization fails.
To resolve the Hazelcast cluster incompatibility and enable future rolling updates, align the Mule runtime version in your build configuration and execute an initial boundary update.
pom.xml file.mule-maven-plugin configuration to use patch version 4.9.23 or a consistent patch release:<configuration>
<cloudhub2Deployment>
<muleVersion>4.9.23</muleVersion>
</cloudhub2Deployment>
</configuration>
Because the active replicas are running on an incompatible Hazelcast version, the initial migration across the version boundary cannot complete via a standard rolling update. Choose one of the following methods during a scheduled maintenance window:
pom.xml, temporarily change <updateStrategy>rolling</updateStrategy> to <updateStrategy>recreate</updateStrategy>, trigger the deployment, and then set the strategy back to rolling once all replicas run version 4.9.23.Subsequent patch deployments within the 4.9.x series will share Hazelcast version 5.2.5, allowing rolling updates without service interruption.
005465996

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.