-
Notifications
You must be signed in to change notification settings - Fork 226
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
MGMT-2706 Delete console kernel argument #737
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: YuviGold 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 |
/assign @carbonin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few things.
- I think the problematic value was
ttyS0
according to the comment here - The value of
host.InstallerArgs
should be a json array - Doing it this way will mean this argument will be overwritten if the user makes any additional customization to this field. Is that okay?
@cgwalters WDYT? |
@@ -74,6 +74,7 @@ func (th *transitionHandler) PostRegisterHost(sw stateswitch.StateSwitch, args s | |||
|
|||
sHost.host.StatusUpdatedAt = strfmt.DateTime(time.Now()) | |||
sHost.host.StatusInfo = swag.String(statusInfoDiscovering) | |||
sHost.host.InstallerArgs = "--delete-karg 'console=tty0'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be ttyS0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or perhaps delete it via regexp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the decision from the remove console=ttyS0 on metal issue - all console defaults kargs can be dropped.
But as looking in the coreos-installer code it seems regex isn't implemented.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created a PR for coreos-installer repository.
I guess it would take time.
Hmm you'd do this unconditionally? Don't we potentially still want to keep it on some metal systems? That's the core problem here, we basically can't have a useful default today. No objections from me to this if you want to change this default. But I would prefer if we tried to solve the problem more holistically/completely upstream. |
@YuviGold: The following tests failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
@YuviGold: PR needs rebase. 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. |
No description provided.