Skip to content

pass cluster-cidr to proxy#8099

Merged
sdodson merged 1 commit intoopenshift:masterfrom
ozdanborne:pass-cluster-cidr-to-proxy
May 17, 2018
Merged

pass cluster-cidr to proxy#8099
sdodson merged 1 commit intoopenshift:masterfrom
ozdanborne:pass-cluster-cidr-to-proxy

Conversation

@ozdanborne
Copy link
Contributor

When using Calico networking, connections to nodeports only succeed if the pod backing the nodeport service is running on the host being hit. So requests are not forwarded to other nodes if the pod is running there.

This PR resolves the issue by passing Cluster CIDR to kube-proxy, which implements the nececssary iptables rules.

I'm guessing this is not an issue in openshift_sdn because it implements the necessary iptables rules itself, but this is not standard in kubernetes networking plugins.

I'm open to feedback, specifically on if this can be moved out of "extraArgs" and acceptped as a first class param in origin-node.

@openshift-ci-robot openshift-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 23, 2018
@papr-bot
Copy link

Can one of the admins verify this patch?
I understand the following commands:

  • bot, add author to whitelist
  • bot, test pull request
  • bot, test pull request once

@ozdanborne ozdanborne force-pushed the pass-cluster-cidr-to-proxy branch from 5d99c7e to 682852a Compare April 27, 2018 17:44
@ozdanborne
Copy link
Contributor Author

@sdodson I just finished testing this on v3.9 (now that the systemd-logind issue was resolved). Can I get an ok-to-test?

@vrutkovs
Copy link
Contributor

bot, test pull request

@vrutkovs
Copy link
Contributor

/ok-to-test

@openshift-ci-robot openshift-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Apr 30, 2018
Copy link
Contributor

@vrutkovs vrutkovs left a comment

Choose a reason for hiding this comment

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

This breaks Atomic tests:

AnsibleUndefinedVariable: 'openshift_use_calico' is undefined

@ozdanborne ozdanborne force-pushed the pass-cluster-cidr-to-proxy branch from 682852a to 59eede9 Compare May 17, 2018 00:34
@ozdanborne
Copy link
Contributor Author

@vrutkovs I defaulted it to false if not defined. PTAL

I believe @HackToHell confirmed this fixed the issue for him as well

Copy link
Contributor

@vrutkovs vrutkovs left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 17, 2018
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ozdanborne, vrutkovs

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

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 May 17, 2018
@vrutkovs
Copy link
Contributor

/retest

@openshift-ci-robot
Copy link

openshift-ci-robot commented May 17, 2018

@ozdanborne: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/openshift-jenkins/system-containers 682852a link /test system-containers
ci/openshift-jenkins/gcp 59eede9 link /test gcp

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.

Details

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.

@sdodson
Copy link
Member

sdodson commented May 17, 2018

/skip
gcp job is a flake.

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. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants