bug 2039670: Skip deployment of PDBs on the SNO topology#109
bug 2039670: Skip deployment of PDBs on the SNO topology#109openshift-merge-robot merged 2 commits intoopenshift:masterfrom
Conversation
|
@ingvagabund: This pull request references Bugzilla bug 2039670, which is valid. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
Requesting review from QA contact: 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 kubernetes/test-infra repository. |
bertinatto
left a comment
There was a problem hiding this comment.
@ingvagabund I think we got this sorted out already. Please take a look: af5cba6
677623e to
9341966
Compare
|
@bertinatto of course you have /O\ . I will just update the code so the PDBs are created conditionally. To avoid installation on the SNO topology. |
9341966 to
a9f8a0a
Compare
|
@ingvagabund: An error was encountered querying GitHub for users with public email (yinzhou@redhat.com) for bug 2039670 on the Bugzilla server at https://bugzilla.redhat.com. No known errors were detected, please see the full error message for details. Full error message.
non-200 OK status code: 403 Forbidden body: "{\n \"documentation_url\": \"https://docs.github.com/en/free-pro-team@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits\",\n \"message\": \"You have exceeded a secondary rate limit. Please wait a few minutes before you try again.\"\n}\n"
Please contact an administrator to resolve this issue, then request a bug refresh with 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 kubernetes/test-infra repository. |
|
/hold |
a9f8a0a to
518a38d
Compare
|
/hold cancel |
|
/hold |
518a38d to
bbbbb8c
Compare
|
Once #110 gets merged I will rebase this PR. |
|
/test all |
| isSNO, precheckSucceeded, err := guard.IsSNOCheckFnc(configInformers.Config().V1().Infrastructures())() | ||
| if err != nil { | ||
| klog.Errorf("IsSNOCheckFnc failed: %v", err) | ||
| return false | ||
| } | ||
| if !precheckSucceeded { | ||
| klog.V(4).Infof("IsSNOCheckFnc precheck did not succeed, skipping") | ||
| return false | ||
| } | ||
| return !isSNO |
There was a problem hiding this comment.
Can you create isSNO() out of this and use isSNO() / !isSNO() below?
There was a problem hiding this comment.
Unfortunately, the create/delete conditionals are not opposite of each other. They both can be false when:
configInformers.Config().V1().Infrastructures()'s hasSynced is false- retrieval of the
clusterinfrastructure object failed.
bbbbb8c to
2e2fcc9
Compare
|
/hold cancel |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ingvagabund, jsafrane The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@ingvagabund: 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/test-infra repository. I understand the commands that are listed here. |
|
@ingvagabund: All pull requests linked via external trackers have merged:
Bugzilla bug 2039670 has been moved to the MODIFIED state. 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 kubernetes/test-infra repository. |
Builds on top of openshift/library-go#1246 and WithIsSNOCheck from openshift/library-go#1238.