From 03aea19c94d6ae66f488bd8d77185dda58388f3d Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Thu, 14 Jun 2018 19:03:19 -0400 Subject: [PATCH] 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 --- defaults/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/defaults/main.yml b/defaults/main.yml index 959db285..d57e322d 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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