OCPBUGS-64793: use master schedulability for topology calculation#10350
OCPBUGS-64793: use master schedulability for topology calculation#10350patrickdillon wants to merge 1 commit intoopenshift:mainfrom
Conversation
When masters are schedulable OLM and ingress operator (and anything else) can schedule infrastructure to the control plane. So the infrastructure topology needs to take master schedulability into account.
|
@patrickdillon: This pull request references Jira Issue OCPBUGS-64793, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Are there any fields in the Infrastructure CR that are not derived from the install-config? The issue with cross-dependencies is as follows:
I believe in this case, the Infrastructure CR will be regenerated, resulting in the correct InfrastrucutreTopology but wiping out any other changes. But perhaps that's OK if there is nothing you would conceivably want to change in Infrastructure because everything is configurable in the install-config already. |
|
@patrickdillon: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
Yes, exactly & as you say the user changes to infrastructure will be lost. Also, note that in the log message it says "Common Manifests" so either best case scenario that is just an error in the log message but perhaps all manifests are being regenerated 😱 Will check that. I would guess the infrastructure manifest is one of the most common manifests to be edited. For example, I could definitely imagine a UPI install editing these two. /hold Users could potentially avoid this problem by running In terms of resolving the bug... As we discussed, we could give users a way to avoid the problem with an install config field for mastersSchedulable. Perhaps we even backport it if a user is affected by the bug? The only actual fix I see to the problem is a cluster controller Actually, it just occurred to me we could potentialy (and probably should) use the cluster-config-operator during bootstrapping to set the value |
When masters are schedulable OLM and ingress operator (and anything else) can schedule infrastructure to the control plane. So the infrastructure topology needs to take master schedulability into account.
Example of local testing: