USHIFT-1972: Fix service restart race condition for services that exit#2695
Conversation
|
@ggiguash: This pull request references USHIFT-1972 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.15.0" version, but no target version was set. 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. |
|
@ggiguash: This pull request references USHIFT-1972 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.15.0" version, but no target version was set. 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. |
e0eb693 to
e48507c
Compare
|
@ggiguash: This pull request references USHIFT-1972 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.15.0" version, but no target version was set. 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. |
|
/test microshift-metal-tests microshift-metal-tests-arm |
|
/test metal-periodic-test |
e48507c to
c2f8e47
Compare
|
/test metal-periodic-test |
|
@ggiguash: This pull request references USHIFT-1972 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.16.0" version, but no target version was set. 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. |
c2f8e47 to
7172df6
Compare
|
@ggiguash: This pull request references USHIFT-1972 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.16.0" version, but no target version was set. 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. |
|
/test metal-periodic-test |
7172df6 to
ea5317a
Compare
|
/test metal-periodic-test |
ea5317a to
e89d8db
Compare
|
/test metal-periodic-test |
e89d8db to
0d4f3ec
Compare
0d4f3ec to
74a589a
Compare
|
@ggiguash: This pull request references USHIFT-1972 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.16.0" version, but no target version was set. 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. |
|
/test metal-periodic-test |
|
/test microshift-metal-tests microshift-metal-tests-arm |
|
@ggiguash: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ggiguash, pmtk 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 |
|
/cherry-pick release-4.15 |
|
@ggiguash: new pull request created: #2734 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. |
When services are started synchronously using
systemctl startorsystemctl restart, they go throughstartand thenrunningsub-state.The race condition was on services that do not have a "long" running phase, i.e. greenboot. Those services run until completion and exit. So, there is a
start, very shortrunningandexitedsub-states for those services.To fix the race condition with minimal changes to the existing infrastructure, a special
systemctl restartlogic was introduced for thegreenboot-healthcheck.service.In addition, the fixes include:
Systemctl With RetrykeywordSystemctlkeyword to shorten its length and address linter warning