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

CNV-37382: Inconsistency between the cluster settings and VM settings for SSH over LoadBalancer #1745

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

avivtur
Copy link
Member

@avivtur avivtur commented Jan 24, 2024

📝 Description

This bug is introducing a few problematic behaviors:

  1. Under Overview > Settings > Cluster > General settings > SSH configurations we have a switch to toggle the option of SSH over LB inside the VM's Configuration > SSH tab. If the metalLB operator is installed, the option inside the VM is always selectable no matter what state the switch has.

  2. If the metalLB operator was installed in the cluster, then uninstalled, we still show as the operator is installed (the ssh over LB inside the VM is still selectable

The solution includes a tighter check if metalLB is installed, and if so we disable the switch as on.

🎥 Demo

###Before:
metallb-not-installed-selectable-b4
metallb-not-installed-switch-off-b4

After:

MetalLB is installed:
metallb-installed-lb-selectable
metallb-installed-switch-on

MetalLB is NOT installed:

switch is on:
metallb-not-installed-4-lb-selectable
metallb-not-installed-3

switch is off:
metallb-not-installed-2
metallb-not-installed

… for SSH over LoadBalancer

Signed-off-by: Aviv Turgeman <aturgema@redhat.com>
@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Jan 24, 2024

@avivtur: This pull request references CNV-37382 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.16.0" version, but no target version was set.

In response to this:

📝 Description

This bug is introducing a few problematic behaviors:

  1. Under Overview > Settings > Cluster > General settings > SSH configurations we have a switch to toggle the option of SSH over LB inside the VM's Configuration > SSH tab. If the metalLB operator is installed, the option inside the VM is always selectable no matter what state the switch has.

  2. If the metalLB operator was installed in the cluster, then uninstalled, we still show as the operator is installed (the ssh over LB inside the VM is still selectable

The solution includes a tighter check if metalLB is installed, and if so we disable the switch as on.

🎥 Demo

###Before:
metallb-not-installed-selectable-b4
metallb-not-installed-switch-off-b4

After:

MetalLB is installed:
metallb-installed-lb-selectable
metallb-installed-switch-on

MetalLB is NOT installed:

switch is on:
metallb-not-installed-4-lb-selectable
metallb-not-installed-3

switch is off:
metallb-not-installed-2
metallb-not-installed

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot added the approved This issue is something we want to fix label Jan 24, 2024
@avivtur
Copy link
Member Author

avivtur commented Jan 24, 2024

/jira refresh

@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Jan 24, 2024

@avivtur: This pull request references CNV-37382 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target either version "4.16." or "openshift-4.16.", but it targets "CNV v4.16.0" instead.

In response to this:

/jira refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@metalice
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Passed code review, ready for merge label Jan 24, 2024
Copy link
Contributor

openshift-ci bot commented Jan 24, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: avivtur, metalice

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 2caa668 into kubevirt-ui:main Jan 24, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved This issue is something we want to fix jira/valid-reference lgtm Passed code review, ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants