Skip to content

[Snapshot/Restore] UI marks snapshot as "not deletable" falsely #153107

@rsdrakh

Description

@rsdrakh

Kibana version:
8.6.2
Elasticsearch version:
8.6.2
Server OS version:
ESS

Describe the bug:
I try to delete a snapshot that was created by an ILM policy to be used as "searchable snapshot". To find it in the snapshot
2023-03-10 15_20_28-Window
list, I filter for a part of the index name.
Now in the list that is presented to me, the top hit of the snapshots found has its checkbox greyed out, because "the latest successful snapshot of a snapshot policy cannot be deleted".
While this is true for regular cluster snapshots, it is not true for searchable snapshot snapshots. The snapshot can still be deleted by opening the snapshot details and clicking the Delete button in there.

Steps to reproduce:

  1. Have searchable snapshots enabled
  2. In the Snapshot UI, search the snapshot list for one of these snapshots
  3. see the box of the top hit in grey

Expected behavior:
All of these snapshots should be deletable from the result list

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions