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

CCR page needs to display a better error message to the user on trial license without security #32141

Closed
bhavyarm opened this issue Feb 27, 2019 · 3 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:CCR and Remote Clusters Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@bhavyarm
Copy link
Contributor

Kibana version: 6.7.0 BC4

Elasticsearch version: 6.7.0 BC4

Server OS version: darwin_x_86_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: CCR page needs to display a better user message to the user who is on trial license without security.

Currently Kibana displays the message about security needs to be enabled and internal server error:

screen shot 2019-02-27 at 10 40 38 am 2

This can be changed to to tell the user that CCR needs security enabled.

We are also spitting this out in Kibana logs:

error  [15:36:35.796]  [exception] Security must be explicitly enabled when using a trial license. Enable security by setting [xpack.security.enabled] to [true] in the elasticsearch.yml file and restart the node. :: {"path":"/_security/user/_has_privileges","query":{},"body":"{\"cluster\":[\"manage\",\"manage_ccr\"]}","statusCode":500,"response":"{\"error\":{\"root_cause\":[{\"type\":\"exception\",\"reason\":\"Security must be explicitly enabled when using a trial license. Enable security by setting [xpack.security.enabled] to [true] in the elasticsearch.yml file and restart the node.\"}],\"type\":\"exception\",\"reason\":\"Security must be explicitly enabled when using a trial license. Enable security by setting [xpack.security.enabled] to [true] in the elasticsearch.yml file and restart the node.\"},\"status\":500}"}
    at respond (/Users/bhavyarajumandya/Desktop/BC4_6.7.0/kibana-6.7.0-darwin-x86_64/node_modules/elasticsearch/src/lib/transport.js:308:15)
    at checkRespForFailure (/Users/bhavyarajumandya/Desktop/BC4_6.7.0/kibana-6.7.0-darwin-x86_64/node_modules/elasticsearch/src/lib/transport.js:267:7)
    at HttpConnector.<anonymous> (/Users/bhavyarajumandya/Desktop/BC4_6.7.0/kibana-6.7.0-darwin-x86_64/node_modules/elasticsearch/src/lib/connectors/http.js:166:7)
    at IncomingMessage.wrapper (/Users/bhavyarajumandya/Desktop/BC4_6.7.0/kibana-6.7.0-darwin-x86_64/node_modules/elasticsearch/node_modules/lodash/lodash.js:4935:19)
    at IncomingMessage.emit (events.js:194:15)
    at endReadableNT (_stream_readable.js:1103:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
@bhavyarm bhavyarm added bug Fixes for quality problems that affect the customer experience Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Feb 27, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui

@cjcenizal
Copy link
Contributor

Related to #30613

@alisonelizabeth
Copy link
Contributor

Security is now enabled by default so I do not think this issue is applicable anymore

https://www.elastic.co/guide/en/kibana/current/security-settings-kb.html

@alisonelizabeth alisonelizabeth closed this as not planned Won't fix, can't repro, duplicate, stale Sep 16, 2024
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:CCR and Remote Clusters Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests

4 participants