diff --git a/templates/common/_base/units/ovs-configuration.service.yaml b/templates/common/_base/units/ovs-configuration.service.yaml index 71a08b247b..fc997575fc 100644 --- a/templates/common/_base/units/ovs-configuration.service.yaml +++ b/templates/common/_base/units/ovs-configuration.service.yaml @@ -2,6 +2,11 @@ name: ovs-configuration.service enabled: {{if eq .NetworkType "OVNKubernetes" "OpenShiftSDN"}}true{{else}}false{{end}} contents: | [Unit] + # Kdump will generate it's initramfs based on the running state when kdump.service run + # If OVS has already run, the kdump fails to gather a working network config, + # which prevent network log exports, sush as SSH. + # See https://issues.redhat.com/browse/OCPBUGS-28239 + After=kdump.service Description=Configures OVS with proper host networking configuration # This service is used to move a physical NIC into OVS and reconfigure OVS to use the host IP Requires=openvswitch.service diff --git a/templates/common/azure/units/ovs-configuration.service.yaml b/templates/common/azure/units/ovs-configuration.service.yaml index b422db75e7..ac4f300279 100644 --- a/templates/common/azure/units/ovs-configuration.service.yaml +++ b/templates/common/azure/units/ovs-configuration.service.yaml @@ -2,6 +2,11 @@ name: ovs-configuration.service enabled: {{if eq .NetworkType "OVNKubernetes" "OpenShiftSDN"}}true{{else}}false{{end}} contents: | [Unit] + # Kdump will generate it's initramfs based on the running state when kdump.service run + # If OVS has already run, the kdump fails to gather a working network config, + # which prevent network log exports, sush as SSH. + # See https://issues.redhat.com/browse/OCPBUGS-28239 + After=kdump.service Description=Configures OVS with proper host networking configuration # This service is used to move a physical NIC into OVS and reconfigure OVS to use the host IP Requires=openvswitch.service