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

Nothing happens select cluster name option in Destination Tab when creating an application. #13655

Closed
gomgomshrimp opened this issue May 19, 2023 · 5 comments · Fixed by #21028
Assignees
Labels
bug Something isn't working

Comments

@gomgomshrimp
Copy link

Checklist:

  • [v] I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • [v] I've included steps to reproduce the bug.
  • [v] I've pasted the output of argocd version.

Describe the bug

When creating an application, cannot select as the name of the cluster on the Destination tab.

To Reproduce

  1. Click New APP.
  2. In Destination tab, select Name instead of URL option.
  3. Nothing happens.

Expected behavior

Changed to a list of names of registered clusters, not cluster URLs

Screenshots

  • Cluster URL List
    스크린샷 2023-05-19 08 39 19
  • Change to Name, but noting happens. (In fact, the name option is not even selected)
    스크린샷 2023-05-19 08 32 30

Version

argocd: v2.1.5+a8a6fc8.dirty
  BuildDate: 2021-10-20T21:18:40Z
  GitCommit: a8a6fc8dda0e26bb1e0b893e270c1128038f5b0f
  GitTreeState: dirty
  GoVersion: go1.17.2
  Compiler: gc
  Platform: darwin/amd64

argocd-server: v2.7.2+cbee7e6.dirty
  BuildDate: 2023-05-12T13:43:25Z
  GitCommit: cbee7e6011407ed2d1066c482db74e97e0cc6bdb
  GitTreeState: dirty
  GoVersion: go1.19.6
  Compiler: gc
  Platform: linux/arm64
  Kustomize Version: v5.0.1 2023-03-14T01:32:48Z
  Helm Version: v3.11.2+g912ebc1
  Kubectl Version: v0.24.2
  Jsonnet Version: v0.19.1
@gomgomshrimp gomgomshrimp added the bug Something isn't working label May 19, 2023
@dgaleano
Copy link

We upated ArgoCD from version 2.5 to 2.7.2 and got the same issue.

When you click on Name is selected URL and clean the input text

argocd: v2.7.2+cbee7e6
  BuildDate: 2023-05-12T14:06:49Z
  GitCommit: cbee7e6011407ed2d1066c482db74e97e0cc6bdb
  GitTreeState: clean
  GoVersion: go1.19.9
  Compiler: gc
  Platform: linux/amd64
argocd-server: v2.7.2+cbee7e6.dirty
  BuildDate: 2023-05-12T13:43:26Z
  GitCommit: cbee7e6011407ed2d1066c482db74e97e0cc6bdb
  GitTreeState: dirty
  GoVersion: go1.19.6
  Compiler: gc
  Platform: linux/amd64
  Kustomize Version: v5.0.1 2023-03-14T01:32:48Z
  Helm Version: v3.11.2+g912ebc1
  Kubectl Version: v0.24.2
  Jsonnet Version: v0.19.1

@cite
Copy link

cite commented May 22, 2023

As a workaround, select "Edit as YAML", then enter the symbolic cluster name manually, then hit "Save". Afterwards, the input and drop-down fields will function normally.

@gomgomshrimp
Copy link
Author

Any updates?

@keithchong
Copy link
Contributor

I can reproduce this in the latest code. Running test001 from ui-test timed out at this step too.

@keithchong keithchong self-assigned this Dec 2, 2024
@keithchong
Copy link
Contributor

I'll try to fix this. One general issue is syncing up between changes made in the form, and changes made in the YAML editor. There is a case where on re-render on the same code path, these changes can 'conflict' with each other. eg. in one scenario, we want to set the combo value, but in another case, we don't. So, that's why it appears that nothing happens when you select the option. We need a way to distinguish between changes made from the form, and changes made from the YAML editor.

Previous Issues and PRs related to this.
#13813
#14216
and
#11228
#12054

keithchong added a commit to keithchong/argo-cd that referenced this issue Dec 3, 2024
…j#13655)

Signed-off-by: Keith Chong <kykchong@redhat.com>
keithchong added a commit to keithchong/argo-cd that referenced this issue Dec 3, 2024
…j#13655)

Signed-off-by: Keith Chong <kykchong@redhat.com>
ishitasequeira pushed a commit that referenced this issue Dec 4, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
…#21028)

Signed-off-by: Keith Chong <kykchong@redhat.com>
adriananeci pushed a commit to adriananeci/argo-cd that referenced this issue Dec 4, 2024
…j#13655) (argoproj#21028)

Signed-off-by: Keith Chong <kykchong@redhat.com>
Signed-off-by: Adrian Aneci <aneci@adobe.com>
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

Successfully merging a pull request may close this issue.

4 participants