Reload service files on Nova services restart
During an upgrade new service files are added, but systemd is not reloaded during restart of nova services to pick up these file changes. This performs a daemon-reload when restarting nova services. Change-Id: I98b3f66429ee045f052ad491847cf82d2f5d4efc Closes-Bug: #1673889
This commit is contained in:
Dan Kolb
committed by
Jesse Pretorius (odyssey4me)
parent
15131c7649
commit
5fbbff6b46
1 changed files with 4 additions and 0 deletions
@@ -30,6 +30,7 @@
systemd:
name:"{{ nova_services['nova-conductor']['service_name'] }}"
state:"restarted"
daemon_reload:yes
register:nova_conductor_restart
when:
- "{{ nova_services['nova-conductor']['group'] in group_names }}"
@@ -39,6 +40,7 @@
systemd:
name:"{{ nova_services['nova-api-os-compute']['service_name'] }}"
state:"restarted"
daemon_reload:yes
register:nova_api_restart
when:
- "{{ nova_services['nova-api-os-compute']['group'] in group_names }}"
@@ -49,6 +51,7 @@
systemd:
name:"{{ nova_services[item]['service_name'] }}"
state:"restarted"
daemon_reload:yes
register:nova_misc_restart
with_items:
- nova-api-metadata
@@ -65,6 +68,7 @@
systemd:
name:"{{ nova_services['nova-compute']['service_name'] }}"
state:"restarted"
daemon_reload:yes
register:nova_compute_restart
when:
- "{{ nova_services['nova-compute']['group'] in group_names }}"
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.