Loading

CloudHub 2.0 Clustered App Deployment Fails During Rolling

Publiceringsdatum: Nov 3, 2026
Beskrivning

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!
Lösning

CAUSE

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.

SOLUTION

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.

Update the Mule Runtime Version in pom.xml

  1. Open the application pom.xml file.
  2. Update the Mule runtime version configuration within the 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>

Perform the Initial Boundary Deployment

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:

  • Option A (Recreate Strategy): In your CI/CD deployment configuration or 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.
  • Option B (Stop and Start): Deploy the application using your existing deployment pipeline. If the deployment fails to join the existing cluster, stop the application in Runtime Manager and start it again so that all replicas initialize on the new runtime patch concurrently.

Subsequent patch deployments within the 4.9.x series will share Hazelcast version 5.2.5, allowing rolling updates without service interruption.

APPLIES TO

  • CloudHub 2.0
  • Mule runtime 4.9.x
  • Clustered deployments with Rolling update strategy
Knowledge-artikelnummer

005465996

 
Laddar
Salesforce Help | Article