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

Add sample data is erroring out with internal server error on search serverless project #165114

Closed
bhavyarm opened this issue Aug 29, 2023 · 1 comment · Fixed by #165157
Closed
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Add Data Add Data and sample data feature on Home Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)

Comments

@bhavyarm
Copy link
Contributor

bhavyarm commented Aug 29, 2023

Kibana version: main

Elasticsearch version: main

Server OS version: serverless

Browser version: chrome latest

Serverless project:* Search/security/o11y

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

Describe the bug: When user clicks on add sample data on search observability project - Kibana is erroring out with "Unable to install sample data set: Sample web logs" in the UI and internal server error in the console.

Screenshot 2023-08-29 at 11 02 19 AM
@bhavyarm bhavyarm added bug Fixes for quality problems that affect the customer experience Feature:Add Data Add Data and sample data feature on Home labels Aug 29, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Aug 29, 2023
@bhavyarm bhavyarm added the Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) label Aug 29, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/appex-sharedux (Team:SharedUX)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Aug 29, 2023
rshen91 added a commit that referenced this issue Sep 8, 2023
## Summary

Closes #165114
Closes #165368


Unable to create sample data index "kibana_sample_data_flights", error:
illegal_argument_exception Root causes: illegal_argument_exception:
Settings [index.auto_expand_replicas,index.number_of_shards] are not
available when running in serverless mode

<img width="1441" alt="Screenshot 2023-08-30 at 11 21 03 AM"
src="https://github.com/elastic/kibana/assets/20343860/14f580f2-5dff-496f-907c-31007b3904f1">



found in
[logs](https://overview.qa.cld.elstc.co/s/appex/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:'2023-08-30T16:48:55.621Z',to:'2023-08-30T18:27:14.583Z'))&_a=(columns:!(),filters:!(),grid:(columns:(request_method.keyword:(width:814))),hideAggregatedPreview:!f,index:'2e3efa6b-bb9e-48a7-a1b5-af690e556a6b',interval:auto,query:(language:kuery,query:'kubernetes.labels.k8s_elastic_co%2Fproject-id:%20%22d660f827d17a4e3f9662d473461c099c%22%20'),sort:!(!('@timestamp',desc)),viewMode:aggregated))
in the message field when filtering by project by
kubernetes.labels.k8s_elastic_co/project-id:
"d660f827d17a4e3f9662d473461c099c"

- [x] TODO set up FTR that should have caught this to confirm this fix
works in serverless environments (based off the home page object)

---------
Co-authored-by: Sébastien Loix <[email protected]>
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 Feature:Add Data Add Data and sample data feature on Home Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants