Restart cinder-scheduler instead of reloading
During upgrade testing, I consistently notice that the cinder-scheduler is running at 100% CPU and appears to be in a hung state after the upgrade. Restarting the process clears this up so this commit changes the cinder-scheduler to a restart instead of a reload. This appears to have been an issue previously but I've only seen the scheduler process spinning at 100%. https://bugs.launchpad.net/openstack-ansible/+bug/1709346 Change-Id: Ia0bf98413567267865be0503b08d5a03a9698214
This commit is contained in:
parent
f8cb114869
commit
c1e9a5f908
@ -107,13 +107,13 @@
|
|||||||
- name: Execute cinder service reload
|
- name: Execute cinder service reload
|
||||||
include: common-tasks/restart-service.yml
|
include: common-tasks/restart-service.yml
|
||||||
vars:
|
vars:
|
||||||
service_name: "{{ item }}"
|
service_name: "{{ item.name }}"
|
||||||
service_action: "reloaded"
|
service_action: "{{ item.action }}"
|
||||||
service_fact: "cinder"
|
service_fact: "cinder"
|
||||||
with_items:
|
with_items:
|
||||||
- "cinder-scheduler"
|
- { name: "cinder-scheduler", action: "restarted" }
|
||||||
- "cinder-volume"
|
- { name: "cinder-volume", action: "reloaded" }
|
||||||
- "cinder-backup"
|
- { name: "cinder-backup", action: "reloaded" }
|
||||||
when:
|
when:
|
||||||
- "cinder_all_software_updated | bool"
|
- "cinder_all_software_updated | bool"
|
||||||
- "ansible_local['openstack_ansible']['cinder']['need_service_restart'] | bool"
|
- "ansible_local['openstack_ansible']['cinder']['need_service_restart'] | bool"
|
||||||
|
Loading…
Reference in New Issue
Block a user