Skip to content

Disable ingress ip when cloud provider enabled - #10455

Merged
openshift-bot merged 1 commit into
openshift:masterfrom
marun:ingress-only-on-bm
Aug 19, 2016
Merged

openshift-bot merged 1 commit into
openshift:masterfrom
marun:ingress-only-on-bm

Conversation

@marun

@marun marun commented Aug 16, 2016 •

Copy link
Copy Markdown
Contributor

@marun

marun commented Aug 16, 2016

Copy link
Copy Markdown
Contributor Author

[test]

@marun marun changed the title Only enable ingress ip on baremetal Only enable ingress ip assignment on baremetal Aug 16, 2016
Comment thread pkg/cmd/server/start/start_master.go Outdated
glog.Fatalf("Could not get client: %v", err)
onBareMetal := (kc.CloudProvider == nil)
if onBareMetal {
// The ingress ip controller should only be run on baremetal. In a cloud environment, it will conflict with the

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Have you tested whether you can run side by side even in a cloud environment?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

How would that be possible? In a cloud environment the service controller is active and relies on the same status field that the ingress controller uses.

@smarterclayton

Copy link
Copy Markdown
Contributor

There can be more than one ingress for a load balancer service. Does the
cloud provider clobber them or merge?

On Tue, Aug 16, 2016 at 1:56 PM, OpenShift Bot [email protected]
wrote:

continuous-integration/openshift-jenkins/test FAILURE (
https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/7977/)

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#10455 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABG_p9XEPrP1Wy69V1bYXnQgmMhF2YPJks5qgfnHgaJpZM4Jlj1j
.

@marun

marun commented Aug 16, 2016

Copy link
Copy Markdown
Contributor Author

@smarterclayton It clobbers. The assumption of the ingress ip controller is that it is in control of the status field. This is the first time I'm hearing that the feature should work on a cloud provider. Wasn't the whole point to provide an alternative on baremetal?

@marun marun changed the title Only enable ingress ip assignment on baremetal Disable ingress ip when cloud provider enabled Aug 17, 2016
Comment thread pkg/cmd/server/api/validation/master.go Outdated
validationResults.AddErrors(field.Invalid(fldPath.Child("networkConfig", "ingressIPNetworkCIDR").Index(0), cidr, "must be a valid CIDR notation IP range (e.g. 172.30.0.0/16)"))
}
} else {
validationResults.AddErrors(field.Invalid(fldPath.Child("networkConfig", "ingressIPNetworkCIDR").Index(0), cidr, "should not be provided when a cloud-provider is enabled."))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No period at the end.

@knobunc

knobunc commented Aug 18, 2016

Copy link
Copy Markdown
Contributor

The code (sans test) LGTM

@marun

marun commented Aug 19, 2016

Copy link
Copy Markdown
Contributor Author

What a difference testing makes!

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to 346982a

@smarterclayton

Copy link
Copy Markdown
Contributor

Lgtm [merge]

@openshift-bot

openshift-bot commented Aug 19, 2016 •

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/8226/) (Image: devenv-rhel7_4877)

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to 346982a

@openshift-bot

Copy link
Copy Markdown
Contributor

@marun

marun commented Aug 19, 2016

Copy link
Copy Markdown
Contributor Author

Check job failure is flake #10487

@marun

marun commented Aug 19, 2016 •

Copy link
Copy Markdown
Contributor Author

Conformance job failure is flake #9548

@openshift-bot
openshift-bot merged commit 5512262 into openshift:master Aug 19, 2016
@marun
marun deleted the ingress-only-on-bm branch August 23, 2016 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants