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] "Rename restored indices" radio buttons ignore option to "Do not rename" #1003

Open
drewmiranda-gl opened this issue Mar 11, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@drewmiranda-gl
Copy link

Describe the bug

When using OpenSearch Dashboards to restore a snapshot, a menu appears that asks:

  • Rename restored indices
    • Do not rename
    • Add prefix to restored index names (default)
    • Rename using regular expression (Advanced)

In the default state, the "Specify prefix for restored index names" box is preopoulated as restored_

image

Changing the radio button to Do not rename does hide the "Specify prefix for restored index names", however, it does not clear the value and still will prepend restored_ to the restored snapshot index or indices.

image

image

To Reproduce

  1. create a snapshot
  2. Restore snapshot (see above screenshots)
    • Be sure to select
      • Rename restored indices: Do not rename

Expected behavior
Radio buttons are obeyed and the restored snapshot is not prefixed with restored_

OpenSearch Version
2.12

Dashboards Version
2.12

Plugins

out of box install from package repo on ubuntu

Screenshots

See above

Host/Environment (please complete the following information):

  • OS: Ubuntu Server 22.04 LTS
  • Browser and version Google Chrome Version 122.0.6261.112 (Official Build) (arm64)
@drewmiranda-gl drewmiranda-gl added bug Something isn't working untriaged labels Mar 11, 2024
@drewmiranda-gl
Copy link
Author

I should add that leaving the default radio button select and clearing the contents of the input box does work as intended/expected:

image

@manasvinibs
Copy link
Member

@opensearch-project/admin Please route this to Index state management plugin team to take a look.

@bbarani bbarani transferred this issue from opensearch-project/OpenSearch-Dashboards Mar 12, 2024
@mgodwan
Copy link
Member

mgodwan commented Mar 13, 2024

@opensearch-project/admin @vikasvb90 Can we move this to https://github.com/opensearch-project/index-management-dashboards-plugin/

@vikasvb90 vikasvb90 transferred this issue from opensearch-project/index-management Mar 13, 2024
@dblock dblock removed the untriaged label Jun 17, 2024
@dblock
Copy link
Member

dblock commented Jun 17, 2024

Catch All Triage - 1 2 3 4 5

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

4 participants