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
Fix and reorder control plane service restart. #2637
Conversation
| @@ -14,5 +14,3 @@ | |||
| gather_facts: no | |||
| tasks: | |||
| - include_vars: ../../byo/openshift-cluster/cluster_hosts.yml | |||
|
|
|||
| - include: ../../common/openshift-master/restart.yml | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This include should remain here for standalone use of the playbook, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good thinking yes, thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
c5c7d3b
to
6683da7
Compare
| @@ -15,4 +15,4 @@ | |||
| tasks: | |||
| - include_vars: ../../byo/openshift-cluster/cluster_hosts.yml | |||
|
|
|||
| - include: ../../common/openshift-master/restart.yml | |||
| - include: ../../common/openshift-master/restart.yml | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a play include so needs to be top level indent-wise.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugh my bad. Updated.
This was missed in the standalone upgrade control plane playbook. However it also looks to be out of order, we should restart before reconciling and upgrading nodes. As such moved the restart directly into the control plane upgrade common code, and placed it before reconciliation.
6683da7
to
abbeb68
Compare
|
@sdodson fyi this one needs to go in before 3.4 upgrade ideally. |
This was missed in the standalone upgrade control plane playbook.
However it also looks to be out of order, we should restart before
reconciling and upgrading nodes. As such moved the restart directly into
the control plane upgrade common code, and placed it before
reconciliation.