Overview

The following scenarios can be observed due to synchronization failure.

Routes that are deployed on a TalendESB configured in Cellar node do not restart automatically after restarting Cellar node. The feature associated to the Route needs to be manually installed to start the Route. This means that you need to type the feature install command to manually reinstall the route's feature that installs and starts the Route.

When you have the same feature name installed on a cluster group (but with different version), restarting a Cellar node causes overlap between the two features. This causes failure in starting the Service/Route associated to the feature.

Environment

TalendESB, Cellar

Symptoms/Description

There are two different symptoms of the same problem.

Symptom/Description 1:

An environment consists of three TalendESBs, each on a distinct physical server, and grouped in a single Cellar Cluster.

Steps to reproduce this scenario:

Restart one of the three TalendESBs that are currently active. Some of the Routes that are currently deployed do not restart automatically.

Type the command camel:context-list. You will observe that contexts have been destroyed for these Routes.

You need to type the feature install command to manually reinstall the feature. This installs and starts the associated Routes.

Symptom/Description 2:

An environment consists of three TalendESBs (server1, server2, server3), each on a distinct physical server, and grouped in a single Cellar Cluster, Cluster1.

A feature, for example XXXYYService-feature is published and available in the Artifact Repository in two versions, namely 0.1.1 and 0.1.2

Steps to reproduce this scenario:

Feature version 0.1.2, deployed on a fresh Cluster1, works correctly. The Route/Service associated to this feature is up and running. Restarting one node of the cluster doesn’t cause any issues.

Deploy feature version 0.1.1 onto Cluster1. Restart server1.

The Route/Service associated with the feature version is not more available in server1 or server2.

Resolution

The problem is linked to the synchronization of the TalendESB when it starts in Cellar Node.

The resolution is to disable the Cellar features sync. This can be done by editing the file in container/etc/org.apache.karaf.cellar.groups.cfg.