In gitlab-org/gitlab!91243 (merged) we're going to introduce a new rake task called gitlab:elastic:info. I think it can be very helpful for debugging Advanced Search cases if we add it to gitlabsos. It could be done similarly to db:migrate:status
I confirmed on a 15.1 instance that did not have this rake task that if you run the GitLabSOS it will continue to run but the log output will look like this:
root@gitlab-omnibus-15-1:/gitlabsos.gitlab-omnibus-15-1_20221027162050# cat elastic_inforake aborted!Don't know how to build task 'gitlab:elastic:info' (See the list of available tasks with `rake --tasks`)Did you mean? gitlab:elastic:index/opt/gitlab/embedded/bin/bundle:23:in `load'/opt/gitlab/embedded/bin/bundle:23:in `<main>'(See full trace by running task with --trace)