-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
OCPBUGS-35262: Do not create firewall rules for xpn installs #8801
OCPBUGS-35262: Do not create firewall rules for xpn installs #8801
Conversation
@barbacbd: This pull request references Jira Issue OCPBUGS-35262, which is valid. The bug has been moved to the POST state. 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. 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 openshift-eng/jira-lifecycle-plugin repository. |
/cc @patrickdillon |
/label platform/google |
25077f6
to
40da75d
Compare
/lgtm |
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.
/approve
/hold
Remove when you're happy the xpn CI job result.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: r4f4 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 |
/test e2e-gcp-ovn-xpn Previous test was on terraform, default should be on capg now. |
@@ -215,31 +215,42 @@ func deleteFirewallRule(ctx context.Context, name, projectID string) error { | |||
return nil | |||
} | |||
|
|||
func hasFirewallPermission(ctx context.Context, projectID string) (bool, error) { | |||
client, err := gcpconfig.NewClient(context.Background()) |
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.
nit: there is a ctx passed into this function, so creating a new background context should not be necessary. The calling function should not be setting timeouts or limiting the ctx passed in so that it cannot be used to create the client.
40da75d
to
262fcc9
Compare
/lgtm |
/hold cancel |
@barbacbd: This pull request references Jira Issue OCPBUGS-35262, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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 openshift-eng/jira-lifecycle-plugin repository. |
/jira backport release-4.17 |
@barbacbd: The following backport issues have been created:
Queuing cherrypicks to the requested branches to be created after this PR merges: 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 openshift-eng/jira-lifecycle-plugin repository. |
@openshift-ci-robot: once the present PR merges, I will cherry-pick it on top of release-4.17 in a new PR and assign it to you. 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-sigs/prow repository. |
/test e2e-gcp-ovn-xpn |
@patrickdillon The failure in e2e-gcp-ovn-xpn is looking for |
Depending on how that test is setup, the issue is addressed by #8815 |
/hold cancel |
/retest-required |
/test okd-scos-e2e-vsphere-ovn |
@barbacbd: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
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-sigs/prow repository. |
** Bootstrap firewall rules should not be created when the user does not have the permission to do so (during capg xpn installs).
b84f59b
to
76e9633
Compare
/lgtm |
@barbacbd: The following tests 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-sigs/prow repository. I understand the commands that are listed here. |
f4c89c6
into
openshift:master
@barbacbd: Jira Issue OCPBUGS-35262: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-35262 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 openshift-eng/jira-lifecycle-plugin repository. |
@openshift-ci-robot: new pull request created: #8847 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-sigs/prow repository. |
[ART PR BUILD NOTIFIER] Distgit: ose-installer-altinfra |
[ART PR BUILD NOTIFIER] Distgit: ose-installer-terraform-providers |
[ART PR BUILD NOTIFIER] Distgit: ose-baremetal-installer |
[ART PR BUILD NOTIFIER] Distgit: ose-installer-artifacts |
** Bootstrap firewall rules should not be created when the user does not have the permission to do so (during capg xpn installs).