Remove cpuset configurations
This functionality simply did not work, with Libvirt continuing to dump its processes into the root cset thus defeating the purpose entirely. Just remove it, from some very initial testing it isn't worth the headache.
This commit is contained in:
@ -138,56 +138,4 @@
|
||||
command: ceph osd crush rule create-replicated replicated_rule default osd
|
||||
when: "{{ pvc_nodes | length }} == 1"
|
||||
|
||||
# System OSD CPU shielding activation
|
||||
- block:
|
||||
- name: install packages
|
||||
apt:
|
||||
name:
|
||||
- cpuset
|
||||
- numactl
|
||||
state: latest
|
||||
|
||||
- name: install ceph-osd-cpuset controller config
|
||||
template:
|
||||
src: ceph/ceph-osd-cpuset-enable.j2
|
||||
dest: /etc/default/ceph-osd-cpuset
|
||||
|
||||
- name: install ceph-osd-cpuset script
|
||||
template:
|
||||
src: ceph/ceph-osd-cpuset.j2
|
||||
dest: /usr/local/sbin/ceph-osd-cpuset
|
||||
mode: 0755
|
||||
|
||||
- name: install ceph-osd-cpuset service unit
|
||||
template:
|
||||
src: ceph/ceph-osd-cpuset.service.j2
|
||||
dest: /etc/systemd/system/ceph-osd-cpuset.service
|
||||
register: systemd_file_cpuset
|
||||
|
||||
- name: create ceph-osd override dropin directory
|
||||
file:
|
||||
dest: /etc/systemd/system/ceph-osd@.service.d
|
||||
state: directory
|
||||
|
||||
- name: install ceph-osd override dropin
|
||||
template:
|
||||
src: ceph/ceph-osd-cpuset.conf.j2
|
||||
dest: /etc/systemd/system/ceph-osd@.service.d/cpuset.conf
|
||||
register: systemd_file_osd
|
||||
|
||||
- name: reload systemd to apply previous changes
|
||||
command: "systemctl daemon-reload"
|
||||
when: systemd_file_cpuset.changed or systemd_file_osd.changed
|
||||
|
||||
- name: enable ceph-osd-cpuset service
|
||||
service:
|
||||
name: ceph-osd-cpuset
|
||||
enabled: yes
|
||||
|
||||
- debug:
|
||||
msg: "NOTICE: Any cpuset configs have NOT been applied to the running system. This node must be rebooted to apply these changes."
|
||||
tags: pvc-ceph-cpuset
|
||||
when:
|
||||
- pvc_shield_osds_enable is defined
|
||||
|
||||
- meta: flush_handlers
|
||||
|
Reference in New Issue
Block a user