Skip to content

7.7.0 Snapshot/restore privilege error without security #66980

@adrian-arapiles

Description

@adrian-arapiles

Kibana version: 7.7.0

Elasticsearch version: 7.6.2|7.7.0

Server OS version: Debian 10

Browser version: Chrome Versión 81.0.4044.138 (Build oficial) (64 bits)

Browser OS version: Mac

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

Describe the bug:
Elastic cluster with basic license and security disabled. When you enter on management > snapshot/restore show a error message:

Error fetching user privileges from the server.
[exception] Security must be explicitly enabled when using a [basic] license. Enable security by setting [xpack.security.enabled] to [true] in the elasticsearch.yml file and restart the node.

If I downgrade kibana to 7.6.2 works as well. Same bug with elastic 7.6.2 or 7.7.0.
I tested too with docker elastic and kibana images 7.7.0. The error persists

Steps to reproduce:

  1. docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.7.0
  2. docker run --link {DOCKER_CONTAINER_NAME}:elasticsearch -p 5601:5601 docker.elastic.co/kibana/kibana:7.7.0
  3. Enter http://localhost:5601/app/kibana#/management/elasticsearch/snapshot_restore

Expected behavior:
See homepage of snapshot/restore page.

Screenshots (if relevant):
I add screenshot with the console error on browser, I don't know if is relevant.
image

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:
For any question ask me.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:Snapshot and RestoreElasticsearch snapshots and repositories UITeam:Kibana ManagementDev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t//bugFixes for quality problems that affect the customer experience

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions