Skip to content

Switch from defaulting to converting clusterNetworkCIDR #16649

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

Merged

Conversation

smarterclayton
Copy link
Contributor

@smarterclayton smarterclayton commented Oct 3, 2017

Fixes break. On disk, deprecated fields override the first value in
the clusterNetworks array if specified. When writing out, the deprecated
fields are set to the first value of the network CIDR.

Fixes #16627

This fixes oc cluster up. @csrwng @JacobTanenbaum

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 3, 2017
@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 3, 2017
Fixes break. On disk, deprecated fields override the first value in
the clusterNetworks array if specified. When writing out, the deprecated
fields are set to the first value of the network CIDR.

This fixes oc cluster up.
@mfojtik
Copy link
Contributor

mfojtik commented Oct 3, 2017

/lgtm

verified this fixed that oc cluster up issue.

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 3, 2017
@openshift-bot
Copy link
Contributor

/retest

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

@JacobTanenbaum
Copy link
Contributor

lgtm

@JacobTanenbaum JacobTanenbaum self-requested a review October 3, 2017 13:25
@csrwng
Copy link
Contributor

csrwng commented Oct 3, 2017

Tested and works for me as well
/lgtm

However, oc cluster up won't start with a config that was created with a v3.6.0 server. Not related to this issue, but if possible we should have defaults that work.

F1003 13:52:52.932242    5308 start_allinone.go:100] 
Server could not start: Couldn't init admission plugin "openshift.io/ImagePolicy": [
openshift.io/ImagePolicy.resolutionRules[0].policy: 
Required value: a policy must be specified for this resource, 
openshift.io/ImagePolicy.resolutionRules[1].policy: 
Required value: a policy must be specified for this resource, 
openshift.io/ImagePolicy.resolutionRules[2].policy: 
Required value: a policy must be specified for this resource, 
openshift.io/ImagePolicy.resolutionRules[3].policy: 
Required value: a policy must be specified for this resource, 
openshift.io/ImagePolicy.resolutionRules[4].policy: 
Required value: a policy must be specified for this resource]

@mfojtik

@openshift-merge-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: csrwng, mfojtik, smarterclayton

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

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@smarterclayton
Copy link
Contributor Author

smarterclayton commented Oct 3, 2017 via email

@smarterclayton smarterclayton added the kind/bug Categorizes issue or PR as related to a bug. label Oct 3, 2017
@openshift-merge-robot
Copy link
Contributor

/test all [submit-queue is verifying that this PR is safe to merge]

@openshift-merge-robot
Copy link
Contributor

Automatic merge from submit-queue (batch tested with PRs 16644, 16649, 16656, 16651, 16663).

@openshift-merge-robot openshift-merge-robot merged commit 2696919 into openshift:master Oct 4, 2017
@openshift-ci-robot
Copy link

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

Test name Commit Details Rerun command
ci/openshift-jenkins/integration a5f3a43 link /test integration
ci/openshift-jenkins/extended_conformance_install_update a5f3a43 link /test extended_conformance_install_update

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.

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. kind/bug Categorizes issue or PR as related to a bug. 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.

oc cluster up master branch broken
8 participants