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

aws: allow GENEVE (6081) and OVN database ports (6641 & 6642) #1563

Merged
merged 1 commit into from Jul 8, 2019

Conversation

dcbw
Copy link
Contributor

@dcbw dcbw commented Apr 9, 2019

  1. Allow GENEVE (6081) between all nodes (masters & workers)
  2. Allow OVN databases (6641 & 6642) between all masters
  3. Allow OVN databases (6641 & 6642) between masters and workers, but not between workers themselves

@squeed @pecameron @danwinship @JacobTanenbaum @rcarrillocruz

[question: should these be enabled by default even if the install isn't using ovn-kubernetes? Or, how do SG rules get selectively added based on specific network plugin requirements? eg when running ovn-kubernetes we don't need VXLAN between nodes, and when running openshift-sdn we don't need GENEVE...]

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 9, 2019
@danwinship
Copy link
Contributor

There's discussion in #1218. Consensus seemed to be leaning toward "CNO should manage this itself, somehow", with the "somehow" being not really at all figured out.

@wking
Copy link
Member

wking commented Apr 9, 2019

Consensus seemed to be leaning toward "CNO should manage this itself, somehow", with the "somehow" being not really at all figured out.

Can we #1218 and figure this out? I feel like I'm personally unqualified to review "network type x needs ports y" pull requests, and would be much happier handing security-group information off to the network operator so it could set up whatever it needs directly.

@pecameron
Copy link

/lgtm
My only reservation is that we have not verified it using ovn.

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 12, 2019
@dcbw
Copy link
Contributor Author

dcbw commented Apr 25, 2019

/retest

@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Apr 28, 2019
@dcbw
Copy link
Contributor Author

dcbw commented Apr 28, 2019

@danwinship @squeed @pecameron updated to address danw's issue with SBDB ports on nodes.

@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 Apr 29, 2019
@dcbw
Copy link
Contributor Author

dcbw commented Apr 30, 2019

/retest

2 similar comments
@dcbw
Copy link
Contributor Author

dcbw commented May 15, 2019

/retest

@dcbw
Copy link
Contributor Author

dcbw commented May 16, 2019

/retest

@squeed
Copy link
Contributor

squeed commented Jun 19, 2019

So, we've decided that we definitely want to move port opening to the CNO, but it won't happen in time for 4.2. These ports are for OVN, which is tech-preview.

We can move the ovndb ports to the 9000-9999 space, but the GENEVE port can't be changed. So, we'd like to merge this PR (with the db ports removed) for 4.2, but remove it as soon as the CNO gains this capability.

@danwinship
Copy link
Contributor

(with the db ports removed)

Really? It's one thing to move around metrics and health checks and things like that that don't necessarily have canonical port numbers, but for "real" services, keeping the traffic on the "right" ports seems nice to me in terms of debuggability, etc. (Eg, tools like tcpdump will recognize certain protocols when they are on the right port, but not when they are on other ports.)

@dcbw
Copy link
Contributor Author

dcbw commented Jun 26, 2019

CLosing this one in favor or #1905

@dcbw dcbw closed this Jun 26, 2019
@danwinship
Copy link
Contributor

/reopen

@openshift-ci-robot
Copy link
Contributor

@danwinship: Reopened this PR.

In response to this:

/reopen

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.

@danwinship
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 2, 2019
@dcbw
Copy link
Contributor Author

dcbw commented Jul 3, 2019

@wking @squeed this one look OK now?

@squeed
Copy link
Contributor

squeed commented Jul 3, 2019

/hold cancel
/lgtm

@dcbw
Copy link
Contributor Author

dcbw commented Jul 3, 2019

/hold cancel

@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 Jul 3, 2019
@squeed
Copy link
Contributor

squeed commented Jul 3, 2019

@abhinavdahiya as per our conversation, this is the way you'd like to go forward.

@danwinship
Copy link
Contributor

/retest

data/data/aws/vpc/sg-master.tf Outdated Show resolved Hide resolved
data/data/aws/vpc/sg-master.tf Outdated Show resolved Hide resolved
data/data/aws/vpc/sg-master.tf Outdated Show resolved Hide resolved
1) Allow GENEVE (6081) between all nodes (masters & workers)
2) Allow OVN databases (6641 & 6642) between all masters
3) Allow OVN databases (6641 & 6642) between masters and
   workers, but not between workers themselves
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jul 8, 2019
@dcbw
Copy link
Contributor Author

dcbw commented Jul 8, 2019

@abhinavdahiya PTAL thanks!

@abhinavdahiya
Copy link
Contributor

@jstuever We should update the GCP list be match this PR.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 8, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, danwinship, dcbw, pecameron, squeed

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 /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 Jul 8, 2019
@dcbw
Copy link
Contributor Author

dcbw commented Jul 8, 2019

/retest

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jul 8, 2019

@dcbw: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/prow/e2e-aws-scaleup-rhel7 4a4adfe link /test e2e-aws-scaleup-rhel7

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-merge-robot openshift-merge-robot merged commit 7cedd27 into openshift:master Jul 8, 2019
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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants