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-17218: Warn when firewall rull missing. #7417
OCPBUGS-17218: Warn when firewall rull missing. #7417
Conversation
@barbacbd: This pull request references Jira Issue OCPBUGS-17218, which is invalid:
Comment 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 kubernetes/test-infra repository. |
/jira refresh |
@barbacbd: This pull request references Jira Issue OCPBUGS-17218, 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 kubernetes/test-infra repository. |
/retest-required |
**GCP Xpn: The compute.firewalls.create rule is not required, but a warning should be provided when it is not found.
e8637f6
to
1231a39
Compare
@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/test-infra repository. I understand the commands that are listed here. |
/lgtm |
@@ -434,6 +434,10 @@ func (t *TerraformVariables) Generate(parents asset.Parents) error { | |||
return err | |||
} | |||
createFirewallRules = permissions.Has(GCPFirewallPermission) | |||
|
|||
if !createFirewallRules { | |||
logrus.Warnf("failed to find permission %s, skipping firewall rule creation", GCPFirewallPermission) |
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.
Can GCPFirewallPermission be "" ?
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.
GCPFirewallPermission
is a constant set here
installer/pkg/asset/cluster/tfvars.go
Line 79 in 186cb91
GCPFirewallPermission = "compute.firewalls.create" |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sadasu 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 |
/jira refresh The requirements for Jira bugs have changed (Jira issues linked to PRs on main branch need to target different OCP), recalculating validity. |
@openshift-bot: This pull request references Jira Issue OCPBUGS-17218, 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. |
/jira refresh |
@barbacbd: This pull request references Jira Issue OCPBUGS-17218, 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 kubernetes/test-infra repository. |
3a554d4
into
openshift:master
@barbacbd: Jira Issue OCPBUGS-17218: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-17218 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. |
/jira refresh |
@jianli-wei: Jira Issue OCPBUGS-17218 is in an unrecognized state (ON_QA) and will not be 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. |
Fix included in accepted release 4.15.0-0.nightly-2023-09-27-073353 |
**GCP Xpn: The compute.firewalls.create rule is not required, but a warning should be provided when it is not found.