-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Bug 1928948: openstack: Allow to skip master replica validation #4657
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
Conversation
With this patch, when the environment variable OPENSHIFT_INSTALL_SKIP_PREFLIGHT_VALIDATIONS is set to "1", the Installer skips the validation of the number of Control plane replicas.
|
@pierreprinetti: This pull request references Bugzilla bug 1928948, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
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. |
|
[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.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
EmilienM
left a comment
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
|
The control plane replica check is not a pre-flight validation. It is a validation on the install config that has no dependence on the platform provider. |
|
@staebler
Can you help me understand what is your suggested course of action? |
|
/retest |
|
My understanding of the purpose of the environment variable is that it is useful in CI where you either do not have access to a real OpenStack system or the OpenStack system does not support certain configurations that you want to test. Maybe I am missing how skipping this check helps with your CI tests. From #4452,
There are two types of validation-- static checks and pre-flight checks. A static check validates the install config in ways that do not require access to the platform provider (the OpenStack system in this case). A pre-flight check validates in ways that do require access to the platform provider. The validation of the number of control plane replicas is a static check, not a pre-flight check. If you are going to skip this validation, then you should also skip the static validation in the installconfig asset, which I do not believe is the behavior that we want. |
|
The purpose of this change is to enable @akrzos to test single-node clusters. I am not going to pretend I know what's the best way around the validation. |
|
@pierreprinetti: The following test 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. |
How can you perform a single-node installation when the terraform always creates 3 control-plane nodes? |
|
@pierreprinetti: 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. |
|
@pierreprinetti Does #4672 obviate the need for these changes? Can we close this PR? |
|
@pierreprinetti: This pull request references Bugzilla bug 1928948. The bug has been updated to no longer refer to the pull request using the external bug tracker. All external bug links have been closed. The bug has been moved to the NEW 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. |
With this patch, when the environment variable
OPENSHIFT_INSTALL_SKIP_PREFLIGHT_VALIDATIONS is set to "1", the
Installer skips the validation of the number of Control plane replicas.