Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-30239: Prevent OVS-configuration to run before kdump #4213

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions templates/common/_base/units/ovs-configuration.service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions templates/common/azure/units/ovs-configuration.service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down