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-38577: Fix initial load of serial console #1812

Conversation

metalice
Copy link
Member

📝 Description

The initial setting of the serial console wasn't loaded into the features config map.
More checks were added to tell if the VM needs to restart after enabling the setting in cluster scope.

🎥 Demo

Before:
as can be seen in the photos in the bug report https://issues.redhat.com/browse/CNV-38577

After:
image

@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Feb 21, 2024

@metalice: This pull request references CNV-38577 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

The initial setting of the serial console wasn't loaded into the features config map.
More checks were added to tell if the VM needs to restart after enabling the setting in cluster scope.

🎥 Demo

Before:
as can be seen in the photos in the bug report https://issues.redhat.com/browse/CNV-38577

After:
image

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 Feb 21, 2024
@pcbailey
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Passed code review, ready for merge label Feb 28, 2024
@metalice metalice force-pushed the CNV-38577-serial-console-is-on-initial-load branch from 2501cff to f415d36 Compare March 3, 2024 06:06
@openshift-ci openshift-ci bot removed the lgtm Passed code review, ready for merge label Mar 3, 2024
Copy link
Member

@avivtur avivtur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci openshift-ci bot added the lgtm Passed code review, ready for merge label Mar 3, 2024
@metalice metalice force-pushed the CNV-38577-serial-console-is-on-initial-load branch from f415d36 to 17056e1 Compare March 4, 2024 06:06
@openshift-ci openshift-ci bot removed the lgtm Passed code review, ready for merge label Mar 4, 2024
}

if (isClusterDisabledGuestSystemLogs) {
return <Bullseye>{t('Guest system logs are disabled at cluster')}</Bullseye>;
}

if (isNeededRestart || !isPodLogContainerExist) {
return <Bullseye>{t('Guest system access logs not ready. a restart required')}</Bullseye>;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you adding this string here? Just recently it was suggested to me to use "Restart required" instead of "a restart required". And the sentence should start with a big letter.. Maybe you've just accidentally copied here the older version of this string?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably beause moved the IF check and it took the string before. anyway changed

Signed-off-by: Matan Schatzman <mschatzm@redhat.com>
@metalice metalice force-pushed the CNV-38577-serial-console-is-on-initial-load branch from 17056e1 to 3c47fc4 Compare March 5, 2024 05:59
@metalice
Copy link
Member Author

metalice commented Mar 5, 2024

/retest

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

openshift-ci bot commented Mar 5, 2024

[APPROVALNOTIFIER] This PR is APPROVED

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

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:
  • OWNERS [avivtur,hstastna,metalice,pcbailey]

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 86a8070 into kubevirt-ui:main Mar 5, 2024
9 checks passed
@metalice
Copy link
Member Author

/cherry-pick release-4.15

@openshift-cherrypick-robot
Copy link
Collaborator

@metalice: new pull request created: #1839

In response to this:

/cherry-pick release-4.15

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 kubernetes/test-infra repository.

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.

7 participants