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
Copy file name to clipboardExpand all lines: docs_user/modules/proc_using-new-subnet-ranges.adoc
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -35,10 +35,7 @@ addresses in `fixedIP` fields in `OpenstackDataplaneNodeSet` per-node section.
35
35
Before proceeding, configure host routes on the adopted nodes for the
36
36
control plane subnets.
37
37
38
-
To achieve this, you will need to re-run `tripleo deploy` with additional
39
-
`routes` entries added to `network_config`. (This change should be applied
40
-
for every adopted node configuration.) For example, you may add the following
41
-
to `net_config.yaml`:
38
+
To achieve this, you will need to re-run `openstack overcloud node provision` with additional `routes` entries added to `network_config`. (This change should be applied for every adopted node configuration.) For example, you may add the following to `net_config.yaml`:
42
39
43
40
```yaml
44
41
network_config:
@@ -47,20 +44,22 @@ network_config:
47
44
routes:
48
45
- ip_netmask: 0.0.0.0/0
49
46
next_hop: 192.168.1.1
50
-
- ip_netmask: 172.31.0.0/24 # <- new ctlplane subnet
51
-
next_hop: 192.168.1.100 # <- adopted node ctlplane IP address
47
+
- ip_netmask: 172.31.0.0/24 <1>
48
+
next_hop: 192.168.1.100 <2>
52
49
```
50
+
<1> The new control plane subnet.
51
+
<2> The control plane IP address of the adopted data plane node.
53
52
54
53
Do the same for other networks that will need to use different subnets for the
55
54
new and old parts of the deployment.
56
55
57
-
Once done, run `tripleo deploy` to apply the new configuration.
56
+
Once done, run `openstack overcloud node provision` to apply the new configuration.
58
57
59
58
Note that network configuration changes are not applied by default to avoid
60
59
risk of network disruption. You will have to enforce the changes by setting the
61
60
`StandaloneNetworkConfigUpdate: true` in the {OpenStackPreviousInstaller} configuration files.
62
61
63
-
Once `tripleo deploy` is complete, you should see new link local routes to the
62
+
Once `openstack overcloud node provision` is complete, you should see new link local routes to the
64
63
new subnet on each node. For example,
65
64
66
65
```bash
@@ -74,9 +73,11 @@ The next step is to configure similar routes for the old subnet for control plan
74
73
`NodeNetworkConfigurationPolicy` CRs for each network. For example,
75
74
76
75
```yaml
77
-
- destination: 192.168.122.0/24
78
-
next-hop-interface: ospbr
76
+
- destination: 192.168.122.0/24 <1>
77
+
next-hop-interface: ospbr <2>
79
78
```
79
+
<1> The isolated network's original subnet on the data plane.
80
+
<2> The {OpenShiftShort} worker network interface that corresponds to the isolated network on the data plane.
80
81
81
82
Once applied, you should eventually see the following route added to your {rhocp_long} nodes.
0 commit comments