opensearch-project / index-management-dashboards-plugin

🗃 Manage policies and jobs and automate periodic data operations in OpenSearch Dashboards
https://opensearch.org/docs/latest/im-plugin/index/
Apache License 2.0
16 stars 85 forks source link

[BUG] "Rename restored indices" radio buttons ignore option to "Do not rename" #1003

Open drewmiranda-gl opened 6 months ago

drewmiranda-gl commented 6 months ago

Describe the bug

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

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):

drewmiranda-gl commented 6 months ago

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 commented 6 months ago

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

mgodwan commented 6 months ago

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

dblock commented 2 months ago

Catch All Triage - 1 2 3 4 5