Skip to content

Commit 4c35481

Browse files
committed
OCPBUGS-53425: Make mtu-migration run after wait-for-primary-ip
When NMState is used to manage br-ex, we need mtu-migration to run after the wait-for-primary-ip service so we know the network is ready to go. If not, the script can have trouble getting the current configuration.
1 parent fe8353e commit 4c35481

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: templates/common/_base/units/mtu-migration.service.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ contents: |
66
Description=Configures interfaces and routes with temporary MTUs during MTU migration
77
Requires=openvswitch.service ovs-configuration.service
88
Wants=NetworkManager-wait-online.service
9-
After=NetworkManager-wait-online.service openvswitch.service network.service ovs-configuration.service
9+
After=NetworkManager-wait-online.service openvswitch.service network.service ovs-configuration.service wait-for-primary-ip.service
1010
Before=kubelet-dependencies.target node-valid-hostname.service
1111
1212
[Service]
@@ -29,4 +29,4 @@ contents: |
2929
[Install]
3030
WantedBy=kubelet-dependencies.target
3131
32-
{{ end }}{{ end }}
32+
{{ end }}{{ end }}

0 commit comments

Comments
 (0)