Skip to content
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 status is showing incorrect build hash #101506

Closed
liza-mae opened this issue Jun 7, 2021 · 13 comments
Closed

Kibana status is showing incorrect build hash #101506

liza-mae opened this issue Jun 7, 2021 · 13 comments
Labels
bug Fixes for quality problems that affect the customer experience Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:Operations Team label for Operations Team

Comments

@liza-mae
Copy link
Contributor

liza-mae commented Jun 7, 2021

Kibana version: Latest 7.13 and 7.14 snapshots

Server OS version: Ubuntu

Original install method (e.g. download page, yum, from source, etc.):
Snapshots

Description of the problem including expected versus actual behavior:
When I run /api/status the build_hash for 7.13 is incorrect and invalid.

Steps to reproduce:

  1. Install latest snapshot for 7.13 or 7.14
  2. Go to /api/status, observe the build hash is incorrect/invalid.

Both 7.13 and 7.14 are showing the same hash and the last time it worked was on Jun 4. Both are showing this hash 5b2de169-2785-441b-ae8c-186a1936b17d.

7.13.2

{"name":"e26da0b0eba8","uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":{"number":"7.13.2","build_hash":"5cab87e2069dd31848490f83964291fc802d6889","build_number":40927,"build_snapshot":true},"status":{"overall":{"since":"2021-06-07T05:18:23.866Z","state":"green","title":"Green","nickname":"Looking good","icon":"success","uiColor":"secondary"},"statuses":[{"id":"core:elasticsearch@7.13.2","message":"Elasticsearch is available","since":"2021-06-07T05:18:23.866Z","state":"green","icon":"success","uiColor":"secondary"},{"id":"core:savedObjects@7.13.2","message":"SavedObjects service has completed migrations and is available","since":"2021-06-07T05:18:23.866Z","state":"green","icon":"success","uiColor":"secondary"}

7.14.0

{"name":"8e872e923e30","uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":{"number":"7.14.0","build_hash":"5cab87e2069dd31848490f83964291fc802d6889","build_number":41498,"build_snapshot":true},"status":{"overall":{"since":"2021-06-06T10:14:02.207Z","state":"green","title":"Green","nickname":"Looking good","icon":"success","uiColor":"secondary"},"statuses":[{"id":"core:elasticsearch@7.14.0","message":"Elasticsearch is available","since":"2021-06-06T10:14:02.207Z","state":"green","icon":"success","uiColor":"secondary"},{"id":"core:savedObjects@7.14.0","message":"SavedObjects service has completed migrations and is available","since":"2021-06-06T10:14:02.207Z","state":"green","icon":"success","uiColor":"secondary"}
@botelastic botelastic bot added the needs-team Issues missing a team label label Jun 7, 2021
@liza-mae liza-mae added the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label Jun 7, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jun 7, 2021
@liza-mae liza-mae added needs-team Issues missing a team label Team:Operations Team label for Operations Team labels Jun 7, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jun 7, 2021
@liza-mae liza-mae added the bug Fixes for quality problems that affect the customer experience label Jun 7, 2021
@jbudz
Copy link
Member

jbudz commented Jun 7, 2021

Can you share where the builds are from or where they were started? Trying to track this down - I ran a few local builds and the checked artifacts API snapshots - build_hashes seem to be functioning there.

@liza-mae
Copy link
Contributor Author

liza-mae commented Jun 7, 2021

@jbudz This is on cloud.

@mshustov
Copy link
Contributor

mshustov commented Jun 8, 2021

We need to validate that sha in package.json contains different values for both versions.

@liza-mae
Copy link
Contributor Author

liza-mae commented Jun 8, 2021

@mshustov I confirmed the sha is different in both versions.

@tylersmalley
Copy link
Contributor

I did find this is a valid commit hash on the Infra repo: https://github.com/elastic/infra/commit/5cab87e2069dd31848490f83964291fc802d6889

@liza-mae
Copy link
Contributor Author

liza-mae commented Jun 8, 2021

This is not specific to cloud, installed on-prem on Ubuntu and same issue. @tylersmalley is right the build_hash is matching up with the infra repo not kibana repo.

@liza-mae
Copy link
Contributor Author

liza-mae commented Jun 8, 2021

@jbudz found this PR as the possible root cause:
https://github.com/elastic/kibana/pull/100492/files#diff-721eea0c29e3b785f7d7af7cfbce626e2f6e4cc57dce3afb55c76b3625fbbed2R32

@liza-mae
Copy link
Contributor Author

liza-mae commented Jun 8, 2021

PR: #101642

@mshustov
Copy link
Contributor

mshustov commented Jun 9, 2021

@liza-mae Could you confirm #101642 fixed the problem, and we can close the issue?

@liza-mae
Copy link
Contributor Author

liza-mae commented Jun 9, 2021

@mshustov yes I will verify on the next build and close if it is fixed. Thanks.

@liza-mae
Copy link
Contributor Author

liza-mae commented Jun 9, 2021

Confirmed fixed on latest 7.13.2 snapshot. Thanks.

Screenshot from 2021-06-09 16-27-31

{"name":"c06533ec0282","uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":{"number":"7.13.2","build_hash":"0dcd6032f1d183cd69fc336b195b5a172333e538","build_number":40936,"build_snapshot":true},"status":{"overall":{"since":"2021-06-09T17:26:14.651Z","state":"green","title":"Green","nickname":"Looking good","icon":"success","uiColor":"secondary"},"statuses":[{"id":"core:elasticsearch@7.13.2","message":"Elasticsearch is available","since":"2021-06-09T17:26:14.651Z","state":"green","icon":"success","uiColor":"secondary"}

@liza-mae liza-mae closed this as completed Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:Operations Team label for Operations Team
Projects
None yet
Development

No branches or pull requests

5 participants