[Backport 7.61.x] [Bug Fix] fix backward compatibility issue in remote tagger dca server #31726
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport 1c2acb4 from #31711.
<!--
-->
What does this PR do?
Fixes backward compatibility issue in the remote tagger server.
The broken backward compatibility makes it impossible for cluster check runners to get tags using the remote tagger (except for the first runner that connects to the server). This happens if we use older versions of cluster check runners with newer versions of the cluster agent. The backward compatibility was broken in 7.60, but we are fixing it in 7.61 because this feature is disabled by default and has no customer impact since it is not exposed in helm-chart or the operator.
Motivation
Restore backward compatibility.
Describe how you validated your changes
<!--
Validate your changes before merge, ensuring that:
If you want additional validation by a second person, you can ask reviewers to do it. Describe how to set up an environment for manual tests in the PR description. Manual validation is expected to happen on every commit before merge.
Any manual validation step should then map to an automated test. Manual validation should not substitute automation, minus exceptions not supported by test tooling yet.
-->
Deploy the cluster agent with CLC runners enabled and using the remote tagger with at least 2 replicas of CLCs.
All CLC replicas should be able to get tags from the cluster tagger.
The CLC runner should have a version 7.59 or older, and the DCA should be using version 7.61 or newer.
Example:
Once everything gets into running state, we should be able to see the same tags in all CLC runner taggers:
Without this fix, only one runner will get the tags, and others would fail to get them.
Possible Drawbacks / Trade-offs
Customers who:
DD_CLC_RUNNER_REMOTE_TAGGER_ENABLED
to true)Will still be facing broken backward compatibility.
However, we choose not to fix this in 7.60 in order to avoid building a new release candidate and considering that enabling remote tagger in clc runners is disabled by default and not exposed publicly in helm chart or in operator, so it should not have any customer impact (unless the customer manually sets this option).
Additional Notes
<!--
version was chosen.
-->