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
Bug 1886229: Clarify multipath support in release notes #30697
Conversation
@jlebon: This pull request references Bugzilla bug 1886229, which is invalid:
Comment In response to this:
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. |
@@ -91,7 +90,7 @@ Previously, {op-system} DHCP kernel parameters were not working as expected beca | |||
[id="ocp-4-7-rhcos-supports-multipath"] | |||
==== {op-system} supports multipath | |||
|
|||
{op-system} now supports multipath on the primary disk, allowing stronger resilience to hardware failure so that you can set up {op-system} on top of multipath to achieve higher host availability. See link:https://bugzilla.redhat.com/show_bug.cgi?id=1886229[*BZ#1886229*] for more information. | |||
{op-system} now supports multipath on the primary disk, allowing stronger resilience to hardware failure so that you can set up {op-system} on top of multipath to achieve higher host availability. Note that multipathing should only be enabled via kernel arguments within a MachineConfig as documented. Specifically, it shouldn't be enabled at installation time. See link:https://bugzilla.redhat.com/show_bug.cgi?id=1886229[*BZ#1886229*] for more information. |
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 wanted to link to the part of the docs where we show the multipath MachineConfig, but... while I see it in the repo, I don't see that page anywhere in the live site. Are we missing an include?
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.
It looks like the MachineConfigs with multipath configs are hidden behind an if
statement for IBM Z systems:
ifdef::ibm-z,ibm-power[]
. For an installation with FCP, additional steps are required to enable multipathing.
.. To enable multipathing on master nodes, apply the following machine config file:
+
[source,yaml]
--
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
labels:
machineconfiguration.openshift.io/role: "master"
name: 99-master-kargs-mpath
spec:
kernelArguments:
- 'rd.multipath=default'
- 'root=/dev/disk/by-label/dm-mpath-root'
--
.. To enable multipathing on worker nodes, apply the following machine config file:
+
[source,yaml]
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.
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.
Ahhh, good find! Oddly, doing a search for "multipath" on the docs site doesn't find that section.
So yeah, I think we should drop the ifdef
here and have it included for not just IBM Z.
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.
Ahhh, good find! Oddly, doing a search for "multipath" on the docs site doesn't find that section.
Yeah, I find the search on the site to be a bit unreliable
So yeah, I think we should drop the
ifdef
here and have it included for not just IBM Z.
Agreed!
I'd also suggest tweaking the order; having it as the final bit of info after the cluster has been installed seems out of place.
Deploy preview for osdocs ready! Built with commit b53b6ee |
Thanks for this, @jlebon.
I've created https://bugzilla.redhat.com/show_bug.cgi?id=1942192 and will soon be adding the multipath steps to non-Power/Z install docs as well. Once that is settled and the
@miabbott Earlier in the doc under Creating Red Hat Enterprise Linux CoreOS (RHCOS) machines (step 3, bullet 5), there are instructions for multipath settings.
Do you think the machine config examples should be moved up here? Maybe we continue in this part by saying "multipathing is only supported when activated by applying the following machine config files" and then showing the master and worker node machine configs examples. |
Based on this proposed update from @jlebon, it seems like we shouldn't be suggesting the use of kernel arguments at install time and should only be showing how to enable multipathing after installation.
Unless this caveat doesn't apply to installations on Z systems? Perhaps the use of MachineConfigs to enable multipath would fall under the "Post-installation configuration" section of the docs? |
It applies to all platforms. It's confusing because coreos-installer does support installing to devicemapper targets like multipath, so one could turn on multipath during the install phase, but it needs to be clear that they can't use e.g. |
If you apply any changes that need to be verified by the IBM Z/P SMEs let me know then I'll get them in the loop. |
Hi @jlebon - According to @wvoesch, with Z systems, multipathing must be turned on during installation. See his comment. I don't think what you are introducing in this PR is contradicting what he is saying, and it seems that the Z docs - multipathing instructions are fine as they are, but I want to double-check with you both. Could you please review step 3 - 5th bullet (FCP) to be sure the info is correct as is in the following procedure? https://docs.openshift.com/container-platform/4.7/installing/installing_ibm_z/installing-ibm-z.html#installation-user-infra-machines-iso-ibm-z_installing-ibm-z |
@jlebon Apologies for the delay on this. I left a comment/clarification about Z systems but if that seems fine, then this LGTM. After I merge #31140, we'll have the link to line 101 in this PR and can uncomment by updating to:
(Unfortunately, we currently have a limitation with linking directly to the multipath module Thank you! Cc: @miabbott |
Hi @jlebon - left one comment about linking to the new multipath docs path. Let me know if you want to update that and then I can get this merged for you. Thanks! |
Updated this now with a mention of the new page! |
Make it clearer that multipathing is only supported when activated using the documented MachineConfig and that it must not be enabled before this.
/lgtm |
@jlebon: Bugzilla bug 1886229 is in an unrecognized state (CLOSED (ERRATA)) and will not be moved to the MODIFIED state. In response to this:
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. |
Make it clearer that multipathing is only supported when activated using
the documented MachineConfig and that it must not be enabled before
this.