Bug 1888565: daemon: Explicitly start rpm-ostreed#2291
Bug 1888565: daemon: Explicitly start rpm-ostreed#2291openshift-merge-robot merged 1 commit intoopenshift:masterfrom
Conversation
See https://bugzilla.redhat.com/show_bug.cgi?id=1888565 for one instance of this. Since the DBus activation timeout is 25s but the systemd timeout is 90s, let's defer to the latter by explicitly starting the service. (This is slightly racy because rpm-ostreed auto-exits on idle, but when we go to send the DBus message we'll auto-activate again if really necessary). Also tell systemd we're going to need the service via the firstboot unit file.
|
@cgwalters: This pull request references Bugzilla bug 1888565, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/retest |
|
Few observation:
|
I think the main problem is during OS boot, there's a lot going on, a lot of services starting at once competing for I/O on the disk.
That already happens today - that's how it's all working without this! The problem as noted in the commit message is the disparity between the DBus activation timeout and the systemd one. But yes, we will likely work around this in rpm-ostree upstream too. It'll just take much longer to land. (And in any case I think the last bit of |
|
Thanks for the explanation, makes sense then. |
|
|
||
| // Start ensures the daemon is running; the DBus activation timeout | ||
| // is shorter than the systemd timeout. xref | ||
| // https://bugzilla.redhat.com/show_bug.cgi?id=1888565#c3 |
There was a problem hiding this comment.
Just wanted to confirm, this solves referenced bug but it doesn't solve bug https://bugzilla.redhat.com/show_bug.cgi?id=1888565 where we are seeing rpm-ostree cleanup -r failing because of slow disk, right?
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, sinnykumari The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
10 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
12 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@cgwalters: All pull requests linked via external trackers have merged: Bugzilla bug 1888565 has been moved to the MODIFIED state. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
See https://bugzilla.redhat.com/show_bug.cgi?id=1888565
for one instance of this. Since the DBus activation timeout is 25s
but the systemd timeout is 90s, let's defer to the latter by explicitly
starting the service. (This is slightly racy because rpm-ostreed
auto-exits on idle, but when we go to send the DBus message we'll
auto-activate again if really necessary).
Also tell systemd we're going to need the service via the
firstboot unit file.