Skip to content

Commit

Permalink
Merge pull request #4213 from jbtrystram/kdump-ovs-ordering
Browse files Browse the repository at this point in the history
OCPBUGS-30239: Prevent OVS-configuration to run before kdump
  • Loading branch information
openshift-merge-bot[bot] authored Mar 13, 2024
2 parents 562ef07 + e1770af commit a24148c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
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

0 comments on commit a24148c

Please sign in to comment.