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 2034358: Whereabouts IP Reconciliaton [backport 4.6] #1267
Bug 2034358: Whereabouts IP Reconciliaton [backport 4.6] #1267
Conversation
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
When failures occur, a number of failed cronjobs pile up. Since another one will start in 5 minutes, we should just wait until the next instance in order to start another pod. Additionally, we run only every 15 minutes and we cinch up the history limit for successful jobs.
This field is required for use in the IP reconciliation process for Whereabouts which uses the pod reference (podref) to calculate stranded IP addresses.
@dougbtv: This pull request references Bugzilla bug 2034358, 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. |
/hold |
/bugzilla refresh The requirements for Bugzilla bugs have changed, recalculating validity. |
@openshift-bot: This pull request references Bugzilla bug 2034358, 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. |
/label backport-risk-assessed |
/approve |
Otherwise, we're throwing errors due to a change in formatting on openshift < 4.8 Additionally, the cronjob version was incorrect in openshift < 4.8 (needed v1beta1)
/bugzilla refresh |
@dougbtv: This pull request references Bugzilla bug 2034358, 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. |
spec: | ||
template: | ||
spec: | ||
backoffLimit: 0 |
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.
The backoffLimit attribute - [0] - "specifies the number of retries
before marking this job failed. Defaults to 6."
The aforementioned attribute belongs to jobTemplate.spec, not to the
pod's spec template - [1].
[0] - https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/#lifecycle
[1] - https://github.com/openshift/cluster-network-operator/pull/1290/files
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dougbtv, squeed, tssurya 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 |
/label qe-approved |
/label cherry-pick-approved |
/bugzilla refresh |
@dougbtv: This pull request references Bugzilla bug 2034358, 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. 6 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (weliang@redhat.com), skipping review request. 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. |
/bugzilla refresh |
/hold cancel |
@dougbtv: This pull request references Bugzilla bug 2034358, which is valid. 6 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (weliang@redhat.com), skipping review request. 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 |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
@dougbtv: 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. |
/retest-required |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
3 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. |
@dougbtv: All pull requests linked via external trackers have merged: Bugzilla bug 2034358 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. |
This implements the Whereabouts IP reconciliation cron job
NOTE: This pull request should be merged AFTER openshift/whereabouts-cni#80