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
[release-4.14] OCPBUGS-19319: Handle agent tui failure gracefully #7497
[release-4.14] OCPBUGS-19319: Handle agent tui failure gracefully #7497
Conversation
By setting agent-interactive-service RequiredBy sshd and systemd-logind, we prevent the user from ever logging in to the host if the agent-tui process fails. This makes it impossible to debug the failure. We want to start the agent-tui whenever tty1 exists (which in practice seems to be always, even if there is only a serial console). To ensure that we don't block subsequent login to the console after a failure, use WantedBy instead of RequiredBy. The other install dependencies are not needed.
If agent-tui fails to start, we still want to switch back to the regular VT and re-enable systemd status. Since ExecStartPost commands only run if ExecStart succeeds, use ExecStopPost instead. This means disabling RemainAfterExit (which is not needed anyway) so that the service also stops on success.
@openshift-cherrypick-robot: Jira Issue OCPBUGS-19037 has been cloned as Jira Issue OCPBUGS-19319. Will retitle bug to link to clone. In 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. |
@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-19319, which is valid. The bug has been moved to the POST state. 6 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In 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. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bfournie The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
@openshift-cherrypick-robot: The following tests failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
/assign @jhou1 |
/label cherry-pick-approved |
73beb52
into
openshift:release-4.14
@openshift-cherrypick-robot: Jira Issue OCPBUGS-19319: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-19319 has been moved to the MODIFIED state. In 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. |
This is an automated cherry-pick of #7490
/assign zaneb