Skip to content

Conversation

@ShibasishDelphix
Copy link
Contributor

@ShibasishDelphix ShibasishDelphix commented May 23, 2023

Problem

After upgrading from 10 to 11 when there is an enabled fluentd configuration for a plugin such as elasticsearch-7.far, fluentd and the management stack fail to start.

Diagnosis

The fluentd logs show a failure to find a dependency of elasticsearch-7, the gem faraday of major version 1; only version 3.x is available. It turns out that this older gem version, which used to be included in the td-agent package in 10.0 (version 4.4.2-1) is no longer available in 11.0 (version 4.5.0-1). The upgrade of td-agent removes that gem, among others. The fluentd container start script copies the gems from td-agent to a new directory, but the stop script deletes that directory, so the old gems are not available anymore.

Solution

Until we decide how to deal with plugins that are missing dependencies after upgrading (DLPX-86157) and we let the stack start normally even if a plugin fails (DLPX-86156), we'll pin td-agent to its version in 10.0 (version 4.4.2-1).

Specifically, here on linux-pkg, we make sure that this older version of td-agent is available when building the appliance.

Companion app gate review that forces virtualization to depend on this older version: https://github.com/delphix/dlpx-app-gate/pull/728.

Testing Done

Provide a clear description of how this change was tested. At minimum
this should include proof that a computer has executed the changed
lines. Ideally this should include an automated test or an explanation
as to why this pull request has no tests.

@ShibasishDelphix ShibasishDelphix force-pushed the dlpx/pr/ShibasishDelphix/2bb20d87-7d9c-4cb3-b559-de3f7b431b0a branch from 777df36 to 7b9a7c3 Compare May 23, 2023 02:02
@ShibasishDelphix ShibasishDelphix force-pushed the dlpx/pr/ShibasishDelphix/2bb20d87-7d9c-4cb3-b559-de3f7b431b0a branch from 7b9a7c3 to 00e0ab9 Compare May 23, 2023 05:07
@ShibasishDelphix ShibasishDelphix changed the title DLPX-86142 [insight] Unknown command fluentd error while creating insight config DLPX-86188 [insight] Unknown command fluentd error while creating insight config May 23, 2023
@ShibasishDelphix ShibasishDelphix marked this pull request as ready for review May 23, 2023 05:12
@ShibasishDelphix ShibasishDelphix changed the title DLPX-86188 [insight] Unknown command fluentd error while creating insight config DLPX-86188 [Forwardport to 12.0.0.0] - Management service stuck in activating state after deferred upgrade release(10) to develop(12) May 23, 2023
@ShibasishDelphix ShibasishDelphix merged commit 0df5c13 into develop May 23, 2023
@ShibasishDelphix ShibasishDelphix deleted the dlpx/pr/ShibasishDelphix/2bb20d87-7d9c-4cb3-b559-de3f7b431b0a branch May 23, 2023 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants