Skip to content
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

NO-ISSUE: OCPBUGS-43352 calculate outgoing interface for arping #877

Merged

Conversation

eifrach
Copy link
Contributor

@eifrach eifrach commented Dec 22, 2024

  • arping is running on interfaces that are not in the same address range as the remote IP.
    In some proxy-arp enabled networks this causes false-positive IP duplication error.

This PR will validate the remote IP is in the same network as the outgoing interface

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 22, 2024
Copy link

openshift-ci bot commented Dec 22, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci-robot openshift-ci-robot added jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Dec 22, 2024
@openshift-ci-robot
Copy link

@eifrach: This pull request references Jira Issue OCPBUGS-43352, which is invalid:

  • expected the bug to target the "4.19.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

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.

@openshift-ci openshift-ci bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Dec 22, 2024
@eifrach eifrach force-pushed the arp_ping_outgoing_interface branch from 760b9bc to d0cf7b5 Compare December 24, 2024 13:15
@eifrach
Copy link
Contributor Author

eifrach commented Dec 24, 2024

/test ?

Copy link

openshift-ci bot commented Dec 24, 2024

@eifrach: The following commands are available to trigger required jobs:

/test e2e-agent-compact-ipv4
/test edge-e2e-ai-operator-ztp
/test edge-e2e-metal-assisted-4-18
/test edge-images
/test edge-lint
/test edge-subsystem-test
/test edge-unit-test
/test images
/test mce-images

The following commands are available to trigger optional jobs:

/test e2e-agent-4control-ipv4
/test e2e-agent-5control-ipv4
/test e2e-agent-ha-dualstack
/test e2e-agent-sno-ipv6
/test edge-e2e-metal-assisted-cnv-4-17
/test edge-e2e-metal-assisted-day2-4-18
/test edge-e2e-metal-assisted-external-4-18
/test edge-e2e-metal-assisted-ipv6-4-18
/test edge-e2e-metal-assisted-lvm-4-18
/test edge-e2e-metal-assisted-odf-4-17
/test edge-e2e-metal-assisted-single-node-4-18
/test edge-e2e-metal-assisted-upgrade-agent-4-18
/test edge-e2e-oci-assisted-4-17
/test edge-e2e-oci-assisted-4-18
/test edge-publish-multi-arch-images-dry-run
/test okd-scos-e2e-aws-ovn
/test okd-scos-images

Use /test all to run the following jobs that were automatically triggered:

pull-ci-openshift-assisted-installer-agent-master-e2e-agent-compact-ipv4
pull-ci-openshift-assisted-installer-agent-master-edge-e2e-ai-operator-ztp
pull-ci-openshift-assisted-installer-agent-master-edge-e2e-metal-assisted-4-18
pull-ci-openshift-assisted-installer-agent-master-edge-e2e-metal-assisted-cnv-4-17
pull-ci-openshift-assisted-installer-agent-master-edge-e2e-metal-assisted-day2-4-18
pull-ci-openshift-assisted-installer-agent-master-edge-e2e-metal-assisted-ipv6-4-18
pull-ci-openshift-assisted-installer-agent-master-edge-e2e-metal-assisted-lvm-4-18
pull-ci-openshift-assisted-installer-agent-master-edge-e2e-metal-assisted-odf-4-17
pull-ci-openshift-assisted-installer-agent-master-edge-e2e-metal-assisted-single-node-4-18
pull-ci-openshift-assisted-installer-agent-master-edge-e2e-metal-assisted-upgrade-agent-4-18
pull-ci-openshift-assisted-installer-agent-master-edge-e2e-oci-assisted-4-18
pull-ci-openshift-assisted-installer-agent-master-edge-images
pull-ci-openshift-assisted-installer-agent-master-edge-lint
pull-ci-openshift-assisted-installer-agent-master-edge-subsystem-test
pull-ci-openshift-assisted-installer-agent-master-edge-unit-test
pull-ci-openshift-assisted-installer-agent-master-images
pull-ci-openshift-assisted-installer-agent-master-mce-images
pull-ci-openshift-assisted-installer-agent-master-okd-scos-e2e-aws-ovn

In response to this:

/test ?

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.

@eifrach
Copy link
Contributor Author

eifrach commented Dec 24, 2024

/test e2e-agent-compact-ipv4
/test edge-subsystem-test

@openshift-ci openshift-ci bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Dec 25, 2024
@eifrach eifrach force-pushed the arp_ping_outgoing_interface branch from de7699e to df68ea1 Compare December 25, 2024 13:53
@eifrach
Copy link
Contributor Author

eifrach commented Dec 25, 2024

/test e2e-agent-compact-ipv4
/test edge-subsystem-test
/test images
/test edge-lint
/test edge-unit-test

Copy link

codecov bot commented Dec 25, 2024

Codecov Report

Attention: Patch coverage is 69.56522% with 14 lines in your changes missing coverage. Please review.

Project coverage is 60.47%. Comparing base (8d7bc11) to head (258fdb0).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/connectivity_check/ipv4_arping_checker.go 69.56% 10 Missing and 4 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #877      +/-   ##
==========================================
- Coverage   60.54%   60.47%   -0.07%     
==========================================
  Files          75       75              
  Lines        3992     4003      +11     
==========================================
+ Hits         2417     2421       +4     
- Misses       1405     1410       +5     
- Partials      170      172       +2     
Files with missing lines Coverage Δ
src/connectivity_check/ipv4_arping_checker.go 77.27% <69.56%> (-4.55%) ⬇️

... and 1 file with indirect coverage changes

@openshift-ci openshift-ci bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Dec 26, 2024
@eifrach eifrach force-pushed the arp_ping_outgoing_interface branch from a18675c to c9604b4 Compare December 26, 2024 15:48
@eifrach
Copy link
Contributor Author

eifrach commented Dec 26, 2024

/test e2e-agent-compact-ipv4
/test edge-subsystem-test
/test images
/test edge-lint
/test edge-unit-test

@eifrach
Copy link
Contributor Author

eifrach commented Dec 29, 2024

/test e2e-agent-compact-ipv4
/test edge-unit-test

@eifrach eifrach force-pushed the arp_ping_outgoing_interface branch from c9604b4 to 7a9155e Compare December 30, 2024 15:07
@openshift-ci openshift-ci bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Dec 30, 2024
@paul-maidment
Copy link
Contributor

/lgtm

@eifrach eifrach force-pushed the arp_ping_outgoing_interface branch from c26fb85 to 258fdb0 Compare January 6, 2025 14:30
@eifrach
Copy link
Contributor Author

eifrach commented Jan 6, 2025

/override ci/prow/edge-e2e-oci-assisted-4-18

@eifrach eifrach requested a review from paul-maidment January 6, 2025 14:32
Copy link
Contributor

@paul-maidment paul-maidment left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link

openshift-ci bot commented Jan 6, 2025

@eifrach: Overrode contexts on behalf of eifrach: ci/prow/edge-e2e-oci-assisted-4-18

In response to this:

/override ci/prow/edge-e2e-oci-assisted-4-18

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.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 6, 2025
Copy link

openshift-ci bot commented Jan 6, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: eifrach, paul-maidment

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:
  • OWNERS [eifrach,paul-maidment]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@eifrach
Copy link
Contributor Author

eifrach commented Jan 6, 2025

/override ci/prow/edge-e2e-oci-assisted-4-18

Copy link

openshift-ci bot commented Jan 6, 2025

@eifrach: Overrode contexts on behalf of eifrach: ci/prow/edge-e2e-oci-assisted-4-18

In response to this:

/override ci/prow/edge-e2e-oci-assisted-4-18

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.

@eifrach
Copy link
Contributor Author

eifrach commented Jan 7, 2025

/override ci/prow/okd-scos-e2e-aws-ovn

Copy link

openshift-ci bot commented Jan 7, 2025

@eifrach: Overrode contexts on behalf of eifrach: ci/prow/okd-scos-e2e-aws-ovn

In response to this:

/override ci/prow/okd-scos-e2e-aws-ovn

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.

Copy link

openshift-ci bot commented Jan 7, 2025

@eifrach: all tests passed!

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.

@eifrach
Copy link
Contributor Author

eifrach commented Jan 7, 2025

/jira refresh

@openshift-ci-robot
Copy link

@eifrach: This pull request references Jira Issue OCPBUGS-43352, which is invalid:

  • expected the bug to target the "4.19.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

/jira refresh

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.

@eifrach
Copy link
Contributor Author

eifrach commented Jan 7, 2025

/jira refresh

@openshift-ci-robot
Copy link

@eifrach: This pull request references Jira Issue OCPBUGS-43352, which is invalid:

  • expected the bug to target the "4.19.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

/jira refresh

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.

@eifrach
Copy link
Contributor Author

eifrach commented Jan 7, 2025

/jira refresh

@openshift-ci-robot
Copy link

@eifrach: This pull request references Jira Issue OCPBUGS-43352, which is invalid:

  • expected the bug to target the "4.19.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

/jira refresh

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.

@eifrach
Copy link
Contributor Author

eifrach commented Jan 7, 2025

/jira refresh

@openshift-ci-robot
Copy link

@eifrach: This pull request references Jira Issue OCPBUGS-43352, which is invalid:

  • expected the bug to target the "4.19.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

/jira refresh

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.

@eifrach eifrach changed the title OCPBUGS-43352: calculate outgoing interface for arping NO-ISSUE: OCPBUGS-43352 calculate outgoing interface for arping Jan 7, 2025
@openshift-ci-robot openshift-ci-robot removed jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Jan 7, 2025
@openshift-ci-robot
Copy link

@eifrach: This pull request explicitly references no jira issue.

In response to this:

  • arping is running on interfaces that are not in the same address range as the remote IP.
    In some proxy-arp enabled networks this causes false-positive IP duplication error.

This PR will validate the remote IP is in the same network as the outgoing interface

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.

@eifrach
Copy link
Contributor Author

eifrach commented Jan 7, 2025

/jira refresh

@openshift-ci-robot
Copy link

@eifrach: This pull request explicitly references no jira issue.

In response to this:

/jira refresh

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-merge-bot openshift-merge-bot bot merged commit dd3ad96 into openshift:master Jan 7, 2025
21 checks passed
@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: ose-agent-installer-node-agent
This PR has been included in build ose-agent-installer-node-agent-container-v4.19.0-202501071907.p0.gdd3ad96.assembly.stream.el9.
All builds following this will include this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants