Skip to content

[BUG] Kibana shows "Snapshot not found" for snapshots having ":" char in the name (and possibly other special chars) #75951

@nickbabkin

Description

@nickbabkin

Kibana version:
7.9.0

Elasticsearch version:
7.9.0

Browser version:
Latest Chrome

Describe the bug:
Snapshots having “:” character (and possibly other special characters) in the name are shown as not found when clicking at them in “Snapshot and restore” section due to Kibana encoding of special characters when making request to Elasticsearch API.
Accessing the same snapshot via API works.

Steps to reproduce:

  1. Make a snapshot with “:” in the name, for example, use this naming template: <hourly-snapshot-{now/m{yyyy.MM.dd-HH:mm}}>
  2. Wait until snapshot is done, go to “Snapshot and restore” section in Kibana and find it.
  3. Click on the snapshot name, Kibana will show “Snapshot not found” error.

Expected behavior:
Snapshot details shall be shown.

Errors in browser console (if relevant):
Request made by Kibana:
GET /api/snapshot_restore/snapshots/elasticsearch-security-snapshots-new/hourly-snapshot-2020.08.25-12%253A03-1xid0zu9qfe1frfmb0pfpq

Response:
{“statusCode”:404,“error”:“Not Found”,“message”:“Snapshot not found”}

Any additional context:
Same snapshot in dev tools:
GET /_snapshot/elasticsearch-security-snapshots-new/hourly-snapshot-2020.08.25-12:03-1xid0zu9qfe1frfmb0pfpq

Response:

{
  “snapshots” : [
    {
      “snapshot” : “hourly-snapshot-2020.08.25-12:03-1xid0zu9qfe1frfmb0pfpq”,
      “uuid” : “pkN5qGMTTkSSnQoXD2Y9sw”,
      “version_id” : 7090099,
      “version” : “7.9.0",
..... further omitted

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