You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove custom OVN ConfigMap/DataPlaneService from DCN docs
Remove documentation for the ovncontroller-config-dcn ConfigMap,
ovn-dcn DataPlaneService, and instructions to replace the ovn service
with ovn-dcn in DCN nodesets. The adoption should work without these
extra steps.
The standard OVN service uses DNS (ovsdbserver-sb.openstack.svc) which
resolves to internalapi IPs via DNSData CRs and should work for DCN
nodes when proper inter-site routes are configured.
Jira: OSPRH-30146
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: John Fulton <fulton@redhat.com>
Copy file name to clipboardExpand all lines: docs_user/modules/proc_configuring-dcn-data-plane-nodesets.adoc
+3-78Lines changed: 3 additions & 78 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,80 +29,6 @@ If you are adopting a Distributed Compute Node (DCN) deployment, you must create
29
29
| DCN2 | `leaf2:br-ex`
30
30
|===
31
31
32
-
. Configure OVN for DCN sites. The default OVN controller configuration uses the Kubernetes ClusterIP (`ovsdbserver-sb.openstack.svc`), which is not routable from remote DCN sites. You must create a DCN-specific configuration that uses direct `internalapi` IP addresses.
33
-
34
-
.. Get the OVN Southbound database `internalapi` IP addresses:
35
-
+
36
-
----
37
-
$ oc get pod -l service=ovsdbserver-sb -o jsonpath='{range .items[*]}{.metadata.annotations.k8s\.v1\.cni\.cncf\.io/network-status}{"\n"}{end}' | jq -r '.[] | select(.name=="openstack/internalapi") | .ips[0]'
38
-
----
39
-
+
40
-
Example output:
41
-
+
42
-
----
43
-
172.17.0.34
44
-
172.17.0.35
45
-
172.17.0.36
46
-
----
47
-
48
-
.. Create a ConfigMap with the OVN SB direct IPs for DCN sites:
* Replace the IP addresses with the actual `internalapi` IPs from the previous step.
65
-
66
-
.. Create an `OpenStackDataPlaneService` CR for DCN OVN configuration:
67
-
+
68
-
----
69
-
$ oc apply -f - <<EOF
70
-
apiVersion: dataplane.openstack.org/v1beta1
71
-
kind: OpenStackDataPlaneService
72
-
metadata:
73
-
name: ovn-dcn
74
-
namespace: openstack
75
-
spec:
76
-
addCertMounts: false
77
-
caCerts: combined-ca-bundle
78
-
containerImageFields:
79
-
- OvnControllerImage
80
-
dataSources:
81
-
- configMapRef:
82
-
name: ovncontroller-config-dcn
83
-
edpmServiceType: ovn
84
-
playbook: osp.edpm.ovn
85
-
tlsCerts:
86
-
default:
87
-
contents:
88
-
- dnsnames
89
-
- ips
90
-
issuer: osp-rootca-issuer-ovn
91
-
keyUsages:
92
-
- digital signature
93
-
- key encipherment
94
-
- server auth
95
-
- client auth
96
-
networks:
97
-
- ctlplane
98
-
EOF
99
-
----
100
-
+
101
-
[NOTE]
102
-
====
103
-
The `ovn-dcn` service uses the `ovncontroller-config-dcn` ConfigMap (through `dataSources`), which contains the direct `internalapi` IPs instead of the `ClusterIP`. DCN node sets must use this service instead of the default `ovn` service.
104
-
====
105
-
106
32
. Create an `OpenStackDataPlaneNodeSet` CR for the central site Compute nodes:
107
33
+
108
34
[source,yaml,subs="+quotes"]
@@ -186,7 +112,7 @@ endif::[]
186
112
* The OVN bridge mapping uses the central site physnet `leaf0`.
187
113
* Central site nodes reference `subnet1` for all networks.
188
114
189
-
. Create an `OpenStackDataPlaneNodeSet` CR for DCN1 edge site compute nodes. You must add inter-site routes to the network configuration template and use the `ovn-dcn` service:
115
+
. Create an `OpenStackDataPlaneNodeSet` CR for DCN1 edge site compute nodes. You must add inter-site routes to the network configuration template:
190
116
+
191
117
[source,yaml,subs="+quotes"]
192
118
----
@@ -211,7 +137,7 @@ spec:
211
137
- run-os
212
138
- reboot-os
213
139
- install-certs
214
-
- ovn-dcn
140
+
- ovn
215
141
- neutron-metadata
216
142
- libvirt
217
143
- nova-cell1
@@ -288,8 +214,7 @@ spec:
288
214
- name: tenant
289
215
*subnetName: tenantdcn1*
290
216
----
291
-
* Replace `ovn` with `ovn-dcn` under spec:services. This ensures OVN controller connects to the OVN Southbound database using direct internalapi IPs instead of the unreachable ClusterIP.
292
-
* DCN1 uses the `leaf1` physnet, for its OVN bridge mapping under `spec:nodeTemplate:ansible:ansibleVars:edpm_ovn_bridge_mappings`.
217
+
* DCN1 uses the `leaf1` physnet for its OVN bridge mapping under `spec:nodeTemplate:ansible:ansibleVars:edpm_ovn_bridge_mappings`.
293
218
* Inter-site routes must be added to the network configuration template. These routes enable DCN1 compute nodes to reach the central site (192.168.122.0/24) and other DCN sites (192.168.144.0/24 for DCN2). Similar routes are added for each service network (internalapi, storage, tenant).
294
219
* DCN1 nodes reference site-specific subnet names like `ctlplanedcn1` and `internalapidcn1`. These subnet names must match those defined in the `NetConfig` CR.
0 commit comments