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 1987848: openstack: quotas/BYON improvements #5122
Bug 1987848: openstack: quotas/BYON improvements #5122
Conversation
Due to a missing capitalization we didn't run the kuryr-specific network quota checks for OpenStack validation which could result in the installation starting even though the user has not nearly enough quota for a successful Kuryr deployment. (cherry picked from commit 5c5e29a)
Allow to skip quota checks by re-using OPENSHIFT_INSTALL_SKIP_PREFLIGHT_VALIDATIONS variable that has been used for validations already. When set to 1, we'll skip quota checks. Note that this is not suggested and please use it at your own risks. (cherry picked from commit b725c40)
When deploying OCP with pre-provisioned networks, we do not need to have available quotas for routers, networks and subnets for the machines since they are created already. This patch does the following: * On Kuryr based deployment: - Do not touch the quotas on networks / subnets, since we still need to have a bunch of quotas to create what's needed for Kuryr. - Relax the quota on Routers, since it wouldn't create one in BYON mode. * For other network types: Relax routers, subnets, networks to be 0 by default and if we don't configure OCP in BYON mode, then we add the necessary quotas (1 router, 1 network and 1 subnet). (cherry picked from commit dca1b39)
We currently document that a tenant should have ports quota set to 15 (or 1500 with Kuryr), but we didn't take in account the ports that are used for the machines: 3 masters + 3 workers = 6 ports. With these new numbers, we can deploy clusters with the existing documentation with enough resources used from available quotas. (cherry picked from commit 14b1ed0)
@EmilienM: This pull request references Bugzilla bug 1989279, 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. |
/retitle Bug 1989279: openstack: quotas/BYON improvements |
/retitle Bug 1987848: openstack: quotas/BYON improvements |
@EmilienM: This pull request references Bugzilla bug 1987848, 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. |
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
/approve
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mandre, patrickdillon 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 |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
6 similar comments
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
24 similar comments
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/skip |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
@EmilienM: All pull requests linked via external trackers have merged: Bugzilla bug 1987848 has been 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. |
openstack: allow to skip quota checks
Allow to skip quota checks by re-using
OPENSHIFT_INSTALL_SKIP_PREFLIGHT_VALIDATIONS variable that has been used
for validations already.
When set to 1, we'll skip quota checks. Note that this is not suggested
and please use it at your own risks.
openstack: relax quota checks to work with documented quotas
This patch was tested by QE who applied documented quota settings and successfully deployed with this patch.
This is a combined cherry-pick to make the review easier, and the overall solves a single problem related to quotas.