-
Notifications
You must be signed in to change notification settings - Fork 51
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
Add RHCOS kernel options before installation #129
Add RHCOS kernel options before installation #129
Conversation
Signed-off-by: Aishwarya Kamat <aishwarya.kamat@ibm.com>
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.
/lgtm
/lgtm |
IMO we should use existing |
@@ -48,6 +48,7 @@ workdir: <Directory to use for creating OCP configs> | |||
storage_type: <Storage type used in the cluster. Eg: nfs (Note: Currently NFS provisioner is not configured using this playbook. This variable is only used for setting up image registry to EmptyDir if storage_type is not nfs)> | |||
log_level: <Option --log-level in openshift-install commands. Default is 'info'> | |||
release_image_override: '<This is set to OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE while creating ign files. If you are using internal artifactory then ensure that you have added auth key to the pull_secret>' | |||
rhcos_pre_kernel_options: <List of day-1 kernel options for RHCOS nodes eg: ["rd.multipath=default","root=/dev/disk/by-label/dm-mpath-root"]> |
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.
The PR looks good, but I'm wondering if we can come up with a better var name ?
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.
eg. rhcos_day1_kernel_options ?
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.
thoughts @yussufsh @Prajyot-Parab ?
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 feel we should add everything from rhcos_kernel_options in the manifest. No need of a new variable.
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.
As per my understanding, we can use the same existing var but then we would need logic to decide when to use it either pre or post installation. If that adds additional var then we can stick to current PR changes itself.
IMO we can stick to current approach with renaming the vars as it would be much simpler and easier to understand.
@aishwaryabk @Prajyot-Parab ensure this is backported in the release branches. |
@yussufsh Thanks! Backported in the release branches - 4.5, 4.6 and 4.7 |
Signed-off-by: Aishwarya Kamat aishwarya.kamat@ibm.com