Add execreloads for nova-placement-api

This adds the ability to reload the placement
service without restarting it.

This is useful for things like enabling / disabling
debug logging for the placement service without
actually restarting it.

Change-Id: I944efdb54a34c76903da004f4aea4557205208b1
This commit is contained in:
Matt Riedemann 2018-06-14 19:03:19 -04:00
parent 3269006b71
commit 03aea19c94

View File

@ -505,6 +505,7 @@ nova_services:
condition: "{{ nova_placement_service_enabled | bool }}"
start_order: 1
execstarts: "{{ nova_bin }}/uwsgi --autoload --ini /etc/uwsgi/nova-placement-api.ini"
execreloads: "{{ nova_bin }}/uwsgi --reload /var/run/nova-placement-api/nova-placement-api.pid"
wsgi_app: True
uwsgi_port: "{{ nova_placement_service_port }}"
wsgi_name: nova-placement-api