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

[BUG] 2.11.1 restoring kibana indices from snapshots through UI fails #964

Open
sandervandegeijn opened this issue Jan 15, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@sandervandegeijn
Copy link

sandervandegeijn commented Jan 15, 2024

Describe the bug

I'm trying to do a disaster recovery of my cluster. I have a snapshot containing the following indices:

Restoring all indexes without rename to a fresh cluster:

image

The alias option does not make a difference. I'm restoring all indices, option for specific indices is active to show which indices I'm restoring.

no write index is defined for alias  Kibana)  The write index may be explicitly disabled using

{"message":"alias [.kibana] has more than one index associated with it [.kibana_1, restored_.kibana_3], can't execute a single index op: illegal_argument_exception: [illegal_argument_exception] Reason: alias [.kibana] has more than one index associated with it [.kibana_1, restored_.kibana_3], can't execute a single index op","statusCode":400,"error":"Bad Request"}

Related component

Storage:Snapshots

To Reproduce

See above

Expected behavior

Restore is executed or if this is not the way to do this, the user is blocked and instructions are provided. You want a clear path when you are under stress because of a failed production environment.

Additional Details

Default 2.11.1 images with S3 plugin added.

@sandervandegeijn sandervandegeijn added bug Something isn't working untriaged labels Jan 15, 2024
@sandervandegeijn
Copy link
Author

Doing the restore with the admin certificate works as expected.

@dblock dblock transferred this issue from opensearch-project/OpenSearch Jan 16, 2024
@kavilla
Copy link
Member

kavilla commented Jan 17, 2024

@opensearch-project/admin please re-route this to https://github.com/opensearch-project/index-management-dashboards-plugin.

This might require @opensearch-project/opensearch-ux to provide insight. It seems like the issue could be appear that this UI cat/indices even if the current user snapshotting does not have write permissions to those indices. So maybe some indicator of that or filtering indices that they can make indices.

@kavilla kavilla removed the untriaged label Jan 17, 2024
@sandervandegeijn
Copy link
Author

I'm doing it from the ui with the admin rol, all_access. But that isn't enough, you need key based admin auth.

The experience has always been somewhat difficult and frustrating, so I have created a new issue to polish the flow (describing it from a utopian point of view ;) )

opensearch-project/OpenSearch#11894

@gaiksaya gaiksaya transferred this issue from opensearch-project/OpenSearch-Dashboards Jan 17, 2024
@dblock
Copy link
Member

dblock commented Jun 17, 2024

Catch All Triage - 1 2 3 4 5

@dblock dblock removed the untriaged label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants