harvester icon indicating copy to clipboard operation
harvester copied to clipboard

[BUG] In Setting: support-bundle-image, can NOT "Use the default value" once configured

Open albinsun opened this issue 1 year ago • 2 comments

Describe the bug Once config Setting:support-bundle-image, will fail to reset to default value.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Settings' -> support-bundle-image -> Edit Setting -> Save image
  2. Go to 'Settings' -> support-bundle-image -> Edit Setting -> Use the default value -> Save ${\color{red} \text{Fail, shows "Repository"/"Tag" is required.}}$ image

Expected behavior Should be able to save after click "Use the default value"

Support bundle supportbundle_setting-support-bundle-image_2024-04-29T04-32-31Z.zip

Environment

  • Harvester
    • Version: v1.2.2-rc1
    • Profile: QEMU/KVM, 3 nodes (8C/16G/500G)
    • ui-source: Auto

Additional context n/a

albinsun avatar Apr 29 '24 04:04 albinsun

@albinsun could you check if you are receiving the default value in harvesterhci.io.settings -> support-bundle-image payload ?

image

torchiaf avatar Apr 29 '24 10:04 torchiaf

@albinsun could you check if you are receiving the default value in harvesterhci.io.settings -> support-bundle-image payload ?

image

nope, key default has empty value. image Following is my UI source (I haven't change it, should be default value) image

albinsun avatar Apr 30 '24 01:04 albinsun