Bug 1508445
Summary: | [3.6] failed to start SDN plugin controller when Network CIDRS are invalid. | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Ben Bennett <bbennett> |
Component: | Networking | Assignee: | Ben Bennett <bbennett> |
Status: | CLOSED ERRATA | QA Contact: | Meng Bo <bmeng> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.6.0 | CC: | aloughla, aos-bugs, bbennett, bmeng, danw, jtanenba, rhowe, yadu |
Target Milestone: | --- | ||
Target Release: | 3.6.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: 3.6 rejected certain invalid master-config.yaml values which 3.5 silently accepted
Consequence: When upgrading from 3.5 to 3.6, the master would fail to start if the clusterNetworkCIDR or serviceNetworkCIDR value in master-config.yaml was "invalid". (eg, if you had "172.30.1.1/16" instead of "172.30.0.0/16")
Fix: 3.6 now accepts the same invalid values that 3.5 accepted, but logs a warning about it
Result: Upgrades will now work, and the admin is notified about the incorrect config values
|
Story Points: | --- |
Clone Of: | 1506017 | Environment: | |
Last Closed: | 2017-12-14 21:02:32 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1506017 | ||
Bug Blocks: |
Description
Ben Bennett
2017-11-01 12:42:15 UTC
After upgrading OCP v3.5 to v3.6.173.0.83 with the parameters: osm_cluster_network_cidr=10.1.0.0/13 openshift_portal_net=172.30.0.0/13 Both atomic-openshift-master and node works well after upgrade finished. And we could get the warning when using a invalid Network CIDR. Dec 05 01:16:12 host-8-241-24.host.centralci.eng.rdu2.redhat.com atomic-openshift-master[26892]: I1205 01:16:12.213132 26892 subnets.go:97] Created HostSubnet host-8-241-24.host.centralci.eng.rdu2.redhat.com (host: "host-8-241-24.host.centralci.eng.rdu2.redhat.com", ip: "10.8.241.24", subnet: "10.1.0.0/23") Dec 05 01:49:42 host-8-241-24.host.centralci.eng.rdu2.redhat.com atomic-openshift-master[1612]: E1205 01:49:42.561393 1612 common.go:46] Configured clusterNetworkCIDR value "10.1.0.0/13" is invalid; treating it as "10.0.0.0/13" Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:3438 |