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
[release-4.11] OCPBUGS-1720: Backport changes to ovnkube-trace #1436
[release-4.11] OCPBUGS-1720: Backport changes to ovnkube-trace #1436
Conversation
As per kubernetes/kubernetes#107533 applied in kubernetes 1.24, replace all occurences of node-role.kubernetes.io/master with node-role.kubernetes.io/control-plane Cherry-pick for ovnkube-trace.go only Signed-off-by: Riccardo Ravaioli <rravaiol@redhat.com> (cherry picked from commit 1094ec9) Signed-off-by: Andreas Karis <ak.karis@gmail.com>
ovnkube-trace no longer depends on bash inside the application pod and instead gets all information that it needs from ovs/ovn commands inside the ovnkube-node pods. Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=2066891 Signed-off-by: Andreas Karis <ak.karis@gmail.com> (cherry picked from commit a8e23b3)
Add color coding to ovnkube-trace output for better readability. Refactor large parts of main() and remove code duplication. Fix issues with host networked pods and shared gateway mode. Signed-off-by: Andreas Karis <ak.karis@gmail.com> (cherry picked from commit 9a01dc8) Conflicts: go-controller/cmd/ovnkube-trace/ovnkube-trace.go
Add parameter -dst-ip to allow users of ovnkube-trace to run a trace to an external IP address. Reported-at: SDN-2336 | [Debugging] ovnkube-trace improvements: Implement pod2external traffic in ovnkube-trace Signed-off-by: Andreas Karis <ak.karis@gmail.com> (cherry picked from commit 21e2c75)
Reported-at: https://issues.redhat.com/browse/SDN-3573 Signed-off-by: Andreas Karis <ak.karis@gmail.com> (cherry picked from commit 1598b33) (cherry picked from commit 5e0fbbf)
- to accommodate scenarios where ovnkube-master is not present in the namespace use ovnkube-node pod to detect the db addresses - use ovn-sbctl instead of ovn-nbctl to enable environments without nbdb connectivity - run ovn-detrace only if connectivity to nbdb is available Signed-off-by: Patryk Diak <pdiak@redhat.com> (cherry picked from commit 9162f25) (cherry picked from commit c985498)
@andreaskaris: This pull request references Jira Issue OCPBUGS-1720, which is valid. The bug has been moved to the POST state. 6 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 kubernetes/test-infra repository. |
@andreaskaris: No Bugzilla bug is referenced in the title of this pull request. Retaining the bugzilla/valid-bug label as it was manually added. 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. |
@andreaskaris: This pull request references Jira Issue OCPBUGS-1720, which is valid. 6 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. |
@andreaskaris: No Bugzilla bug is referenced in the title of this pull request. Retaining the bugzilla/valid-bug label as it was manually added. 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. |
@andreaskaris: This pull request references Jira Issue OCPBUGS-1720, which is valid. 6 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. |
@andreaskaris: No Bugzilla bug is referenced in the title of this pull request. Retaining the bugzilla/valid-bug label as it was manually added. 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. |
Signed-off-by: Andreas Karis <ak.karis@gmail.com> (cherry picked from commit 59818fb)
/retest-required |
/approve |
/retest-required |
3 similar comments
/retest-required |
/retest-required |
/retest-required |
/retest-required |
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andreaskaris, dcbw, jcaamano 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 |
/label cherry-pick-approved |
/retest-required |
/retest |
@andreaskaris: 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. |
@andreaskaris: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-1720 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. |
Minimal conflicts in a couple of cherry-picks due to b0efc6b landing out of order.
ovnkube-trace is exactly the same now as for 4.12: