Erroneus warning "Elasticsearch version not compatible"

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

UI shows “Elasticsearch version not compatible” for a compatible version.

The version was confirmed as truncated below:

gitlab-rake gitlab:elastic:info

Advanced Search
Server version:                 8.17.2
Server distribution:            elasticsearch
Indexing enabled:               yes
Search enabled:                 yes
Requeue Indexing workers:       no
Pause indexing:                 no
Indexing restrictions enabled:  no

All other search services work perfectly, just the warning on the customer's UI.

A restart of the instance did not resolve the issue.

GitLab version - 17.8.2

Ticket - https://gitlab.zendesk.com/agent/tickets/607976

Steps to reproduce

N/A - only visible on customer's environment

What is the current bug behavior?

What is the expected correct behavior?

No warning on ES version incompatibiltiy

Relevant logs and/or screenshots

Possible fixes

Edited by 🤖 GitLab Bot 🤖