Skip to content
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

Merged
merged 1 commit into from Oct 25, 2016

Conversation

dgoodwin
Copy link
Contributor

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.

@@ -14,5 +14,3 @@
gather_facts: no
tasks:
- include_vars: ../../byo/openshift-cluster/cluster_hosts.yml

- include: ../../common/openshift-master/restart.yml
Copy link
Member

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good thinking yes, thanks.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

@@ -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
Copy link
Member

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.

Copy link
Contributor Author

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.
@dgoodwin
Copy link
Contributor Author

@sdodson fyi this one needs to go in before 3.4 upgrade ideally.

@sdodson sdodson merged commit 57b02c8 into openshift:master Oct 25, 2016
@dgoodwin dgoodwin deleted the ctrl-plane-restart branch November 7, 2016 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants