Skip to content

Commit

Permalink
Merge pull request openshift#2551 from haircommander/update-podman
Browse files Browse the repository at this point in the history
Bug 1943539: templates: order service files that use podman around crio-wipe
  • Loading branch information
openshift-merge-robot authored May 14, 2021
2 parents 2213f00 + 0b01b89 commit c415ce6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ contents: |
# Removal of this file signals firstboot completion
ConditionPathExists=/etc/ignition-machine-config-encapsulated.json
After=machine-config-daemon-pull.service
Before=crio.service crio-wipe.service
Before=kubelet.service
Before=crio.service kubelet.service
[Service]
Type=oneshot
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ contents: |
# This "stamp file" is unlinked when we complete
# machine-config-daemon-firstboot.service
ConditionPathExists=/etc/ignition-machine-config-encapsulated.json
Wants=network-online.target
After=network-online.target
# Run after crio-wipe so the pulled MCD image is protected against a corrupted storage from a forced shutdown
Wants=network-online.target crio-wipe.service
After=network-online.target crio-wipe.service
[Service]
Type=oneshot
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ enabled: {{if eq .Infra.Status.PlatformStatus.Type "None"}}true{{else}}false{{en
contents: |
[Unit]
Description=Writes IP address configuration so that kubelet and crio services select a valid node IP
Wants=network-online.target
After=network-online.target ignition-firstboot-complete.service
Wants=network-online.target crio-wipe.service
After=network-online.target ignition-firstboot-complete.service crio-wipe.service
Before=kubelet.service crio.service
[Service]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ contents: |
# This only applies to VIP managing environments where the kubelet and crio IP
# address picking logic is flawed and may end up selecting an address from a
# different subnet or a deprecated address
Wants=network-online.target
After=network-online.target ignition-firstboot-complete.service
Wants=network-online.target crio-wipe.service
After=network-online.target ignition-firstboot-complete.service crio-wipe.service
Before=kubelet.service crio.service
[Service]
Expand Down

0 comments on commit c415ce6

Please sign in to comment.