-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kibana 7.17.0 is not up and working with ES 8.0.0 after restart. #122459
Comments
Pinging @elastic/kibana-core (Team:Core) |
As already discussed, the fix itself it quite easy. The main issue is that we don't have ANY kind of automated testing around Kib/ES version mismatch in our FTR suites. Technically, all we have to do to support 7.17 Kib -> 8.X ES is the same thing that was done in https://github.com/elastic/kibana/pull/30390/files // Accept the next major version of ES.
if (esVersionNumbers.major === kibanaVersionNumbers.major + 1) {
return true;
} The version check logic is here: kibana/src/core/server/elasticsearch/version_check/es_kibana_version_compatability.ts Lines 29 to 32 in 4584a8b
|
My main question now is: Do we want to support Kibana 7.17 connecting to ANY minor of ES, or do we want to only allow connecting to ES 8.0? Elasticsearch currently allows upgrading from 7.last to ANY 8.x version, so I feel like we don't have much choice but to align? |
I think it would be good to align. Pierre is right that we need to expand some of our FTR upgrade testing to make sure we have some test coverage. |
@pgayvallet, I pinged the stack upgrade team and got confirmation from @mfinkle that we "should assume that 7.last will upgrade to 8.0 and 8.x". Hopefully that helps move things forward. |
Okay, after further discussion with @tylersmalley @pgayvallet @mfinkle @LeeDr & @elasticdog, here is where we ended up:
TLDR: for this particular task, we just need to update the version check logic as Pierre describes in #122459 (comment) |
Closed by #122627 |
Kibana version: 7.17 BC1
Elasticsearch version: 8.0.0 RC1
Server OS version: darwin_x86_64
Browser version: chrome latest
Browser OS version: OS X
Original install method (e.g. download page, yum, from source, etc.): from staging
Describe the bug: Kibana 7.17 is not functional with ES 8.0.0.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: