Bug 1856346 (OCPRHV-267)
| Summary: | OCPRHV-267: bootstrapping fails due to missing machineCIDR in install-config.yaml | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Evgeny Slutsky <eslutsky> |
| Component: | Installer | Assignee: | Evgeny Slutsky <eslutsky> |
| Installer sub component: | OpenShift on RHV | QA Contact: | Lucie Leistnerova <lleistne> |
| Status: | CLOSED DUPLICATE | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | dougsland, rgolan |
| Version: | 4.6 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.6.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-07-14 15:03:31 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: | |||
|
Description
Evgeny Slutsky
2020-07-13 12:48:41 UTC
Just add some note from our talk today Evgeny:
- machineNetwork deprecates machineCIDR, we should have one or another not both. machineNetwork must match the API_VIP and INGRESS_VIP subclass.
Example:
API_VIP: 192.168.1.80
INGRESS_VIP: 192.168.1.81
$ cat install-config.yaml
<snip>
networking:
clusterNetwork:
- cidr: 10.128.0.0/14
hostPrefix: 23
networkType: OpenShiftSDN
machineNetwork:
- cidr: 192.168.1.0/24 <------------- here
serviceNetwork:
- 172.30.0.0/16
platform:
ovirt:
api_vip: 192.168.1.80
ingress_vip: 192.168.1.81
ovirt_cluster_id: 40285c82-00e0-11ea-acb1-ecf4bbf47b7c
ovirt_network_name: ovirtmgmt
ovirt_storage_domain_id: 449a0e7b-38b7-4468-9d84-5c00da12b7b7
vnicProfileID: 0000000a-000a-000a-000a-000000000398
</snip>
for backward compatibility, this PR [0] makes this configuration not mandatory, once merged it should work without any changes in install-config.yaml from our part. this is the PR fixing this in the 4.6 CI [1]. [0] https://github.com/openshift/cluster-etcd-operator/pull/388 [1] https://github.com/openshift/cluster-etcd-operator/pull/10197 *** This bug has been marked as a duplicate of bug 1846093 *** |