Skip to content

Fix service IP validation to handle "ClusterIP: None"#13765

Merged
openshift-bot merged 1 commit intoopenshift:masterfrom
danwinship:fix-service-validation
Apr 15, 2017
Merged

Fix service IP validation to handle "ClusterIP: None"#13765
openshift-bot merged 1 commit intoopenshift:masterfrom
danwinship:fix-service-validation

Conversation

@danwinship
Copy link
Contributor

The SDN master's validateNetworkConfig() (which runs any time the default ClusterNetwork object is about to be changed) doesn't handle services with "ClusterIP: None". So, if you have such a service, and then, say, you try to switch from the multitenant plugin to the networkpolicy plugin, the master won't start.

I have a pending PR to clean up the master startup validation code a bunch, and not die on errors that don't really need to be fatal, but for backporting purposes, let's stick with a simple change for now

@openshift/networking @rajatchopra PTAL

@danwinship
Copy link
Contributor Author

[test][testextended][extended:networking]

Copy link
Contributor

@rajatchopra rajatchopra 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

@pravisankar pravisankar left a comment

Choose a reason for hiding this comment

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

LGTM

@rajatchopra
Copy link
Contributor

[test] again

@danwinship danwinship force-pushed the fix-service-validation branch from c618a33 to 575abd8 Compare April 15, 2017 14:45
@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 575abd8

@openshift-bot
Copy link
Contributor

Evaluated for origin testextended up to 575abd8

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/testextended SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_extended/171/) (Base Commit: bf9854f) (Extended Tests: networking)

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/752/) (Base Commit: bf9854f)

@rajatchopra
Copy link
Contributor

[merge] please

@openshift-bot
Copy link
Contributor

openshift-bot commented Apr 15, 2017

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/752/) (Base Commit: bf9854f) (Image: devenv-rhel7_6146)

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 575abd8

@openshift-bot openshift-bot merged commit 6be6dd6 into openshift:master Apr 15, 2017
@danwinship danwinship deleted the fix-service-validation branch April 17, 2017 13:45
@knobunc
Copy link
Contributor

knobunc commented Apr 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants