Skip to content

Commit

Permalink
Greatly raise StartLimitBurst for rpm-ostreed.service
Browse files Browse the repository at this point in the history
This is a hack to work around the lack of
coreos/rpm-ostree@0556152
for RHEL 8.6 and below.

A recent PR in the MCO openshift/machine-config-operator#3243
tipped things over the edge and we now see failures a lot more often.
  • Loading branch information
cgwalters committed Jul 18, 2022
1 parent e38a30d commit 7f8348b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ostree-layers:
- overlay/05rhcos
- overlay/06gcp-routes
- overlay/15rhcos-tuned-bits
- overlay/15rhcos-rhel8-workarounds # TODO conditionalize on rhel8
- overlay/20platform-chrony
- overlay/21dhcp-chrony

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[Unit]
# Work around for lack of https://github.com/coreos/rpm-ostree/pull/3523/commits/0556152adb14a8e1cdf6c5d6f234aacbe8dd4e3f
# on older RHEL
StartLimitBurst=1000
5 changes: 5 additions & 0 deletions tests/kola/rpm-ostree/startlimit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -euo pipefail
# https://github.com/coreos/rpm-ostree/pull/3523/commits/0556152adb14a8e1cdf6c5d6f234aacbe8dd4e3f
for x in $(seq 10); do rpm-ostree status >/dev/null; done
echo ok

0 comments on commit 7f8348b

Please sign in to comment.