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

[release-3.9] Re-apply tuned profile during upgrade #10266

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@
('glusterfs' in groups and inventory_hostname in groups['glusterfs'])
or ('glusterfs_registry' in groups and inventory_hostname in groups['glusterfs_registry'])

# Tuned profile are removed when removing tuned-profiles-atomic-openshift-node rpm
# Need to be re apply
- import_role:
name: tuned

- name: Re-enable excluders
hosts: oo_nodes_to_upgrade:!oo_masters_to_config
tasks:
Expand Down
2 changes: 2 additions & 0 deletions playbooks/openshift-master/private/upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,3 +345,5 @@
vars:
openshift_master_host: "{{ groups.oo_first_master.0 }}"
openshift_manage_node_is_master: true
- import_role:
name: tuned