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

[baremetal] Set NonVirtualIP in mdns plugin config #1767

Merged
merged 1 commit into from
Jun 26, 2020

Conversation

cybertron
Copy link
Member

In order to avoid sending multicast traffic on all configured
interfaces on a system, we need to specify the address of the
interface we want to send the traffic on.

Because this is a high priority problem on baremetal and (at least
to my knowledge) not on other platforms, I'm doing it for baremetal
only for now. We can do the other platforms as a followup, but I
don't want to hold it up waiting for everyone to sign off.

- Description for the changelog
Configure coredns-mdns to only send multicast traffic on one interface
to avoid sending it to interfaces where it is undesirable.

@cybertron
Copy link
Member Author

/hold

This will need openshift/coredns-mdns#60 to merge and be vendored into coredns, and then new coredns images built before it will work. I'm testing everything together locally in the meantime to verify the fix.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 29, 2020
@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 7, 2020
@cybertron
Copy link
Member Author

Vendoring proposed in openshift/coredns#31 Once that merges and we have new images this should be good to go.

@openshift-ci-robot openshift-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 18, 2020
In order to avoid sending multicast traffic on all configured
interfaces on a system, we need to specify the address of the
interface we want to send the traffic on.

Because this is a high priority problem on baremetal and (at least
to my knowledge) not on other platforms, I'm doing it for baremetal
only for now. We can do the other platforms as a followup, but I
don't want to hold it up waiting for everyone to sign off.
@kikisdeliveryservice
Copy link
Contributor

/skip

@cybertron
Copy link
Member Author

/hold cancel

Looks like we have the new coredns image to support this.

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 23, 2020
@kikisdeliveryservice
Copy link
Contributor

/assign @celebdor @bcrochet

@bcrochet
Copy link
Member

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 24, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bcrochet, cybertron, kikisdeliveryservice

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 [kikisdeliveryservice]

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 25, 2020
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

3 similar comments
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jun 26, 2020

@cybertron: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-ovn-step-registry fc520af link /test e2e-ovn-step-registry

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 763ec9d into openshift:master Jun 26, 2020
@cybertron
Copy link
Member Author

/cherry-pick release-4.5

@openshift-cherrypick-robot

@cybertron: #1767 failed to apply on top of branch "release-4.5":

error: Failed to merge in the changes.
Using index info to reconstruct a base tree...
M	manifests/baremetal/coredns-corefile.tmpl
M	pkg/operator/assets/bindata.go
M	templates/common/baremetal/files/baremetal-coredns-corefile.yaml
Falling back to patching base and 3-way merge...
Auto-merging templates/common/baremetal/files/baremetal-coredns-corefile.yaml
CONFLICT (content): Merge conflict in templates/common/baremetal/files/baremetal-coredns-corefile.yaml
Auto-merging pkg/operator/assets/bindata.go
CONFLICT (content): Merge conflict in pkg/operator/assets/bindata.go
Auto-merging manifests/baremetal/coredns-corefile.tmpl
CONFLICT (content): Merge conflict in manifests/baremetal/coredns-corefile.tmpl
Patch failed at 0001 Set NonVirtualIP in mdns plugin config

In response to this:

/cherry-pick release-4.5

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.

cybertron added a commit to cybertron/machine-config-operator that referenced this pull request Jul 23, 2020
This is applying the change from openshift#1767 to the other platforms that
use mdns. To my knowledge it hasn't been reported as a problem on
any of them, but it's still good to do for consistency and to avoid
sending multicast traffic to interfaces that don't need it.
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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants