Repository navigation
Ensure default ingress cidr is a private range - #12379
Conversation
|
This was an oversight on my part. I followed the suggestion from #10387 (comment) without double checking it was a private range. This change and the doc change should ensure future installations work as expected. |
|
[test] |
|
should that be a const somewhere rather than hardcoding it in 3 places? |
|
This is not compatible with old clusters - changing the default means that anyone who set this up and got the value defaulted from their config will now see a different value if you change it. |
|
Removing merge. |
|
Please link the doc updates here and make sure it's in the next release notes (any clusters deployed with the old value are broken on update) |
|
Next origin release notes, that is. Breaking API change approved. |
|
Added constant as per @danwinship. I'm not confident that it's defined in the right place, though. |
|
Evaluated for origin test up to f980b4c |
|
@smarterclayton If old clusters will be broken on update, do defaults that aren't explicitly set not get written into the serialized config? |
|
An admin has to actually generate a serialized config with the defaults. An old config (from v1.0) would have the default value internally, but the file on disk would not have the default. Various upgrade actions may have led to it getting written, but we can't assume it. Basically, defaults are part of public API and changing them breaks old clusters. Exception granted in this case because:
It would be good in the doc/errata/upgrade warnings to describe exactly what happens if the cluster gets restarted with a different default ip range (i.e. are all their external IPs changed, which could result in production apps no longer taking traffic), etc etc. |
|
So should the pr for openshift-docs be updated to include mention of the impact of a cidr change? And where should errata/upgrade warnings go? |
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/12653/) (Base Commit: 3a9bd3e) |
|
[merge] |
|
@marun: I would say the docs should be updated to cover that. As to the errata procedure, I'm not sure. |
|
Evaluated for origin merge up to f980b4c |
|
For the next origin release notes (if this gets backported to 1.4, or 1.5)
there has to be a clear must upgrade section. The release notes for 1.5 (
OpenShift 1.5/3.5 Release Notes Tracker)
<openshift/openshift-docs#3404> or 1.4 (OpenShift
1.4/3.4 Release Notes Tracker
<openshift/openshift-docs#2933>) should include
it.
…On Wed, Jan 4, 2017 at 3:34 PM, Ben Bennett ***@***.***> wrote:
@marun <https://github.com/marun>: I would say the docs should be updated
to cover that. As to the errata procedure, I'm not sure.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12379 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABG_pzxW6S8VjglPlaIaxzqW651jLrexks5rPAJfgaJpZM4LZ7vP>
.
|
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/12664/) (Base Commit: e820389) (Image: devenv-rhel7_5630) |
Addresses #12313
cc: @openshift/networking
Doc updates: openshift/openshift-docs#3441