From 19fc9a13ed05071d80bc161de75164dabc38f1c5 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Fri, 28 Sep 2018 20:48:21 -0400 Subject: [PATCH] Stop arbitrary shutting down services It looks like services are shut down for no reason if we're running a migration which can mean they will never be started back up if a playbook fails. This patch stops shutting down services for no reason as most likely the service will be restarted after the packages change. Change-Id: If4214abf928711c364d7962a0369db4a69a4440f --- tasks/octavia_db_setup.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tasks/octavia_db_setup.yml b/tasks/octavia_db_setup.yml index ca8ce47a..8b32934a 100644 --- a/tasks/octavia_db_setup.yml +++ b/tasks/octavia_db_setup.yml @@ -39,17 +39,8 @@ - "%" no_log: True -# Update is offline -- name: Stop octavia services - service: - name: "{{ item.value.service_name }}" - state: "stopped" - with_dict: "{{ octavia_services }}" - - name: Perform a octavia DB sync command: "{{ octavia_bin }}/octavia-db-manage upgrade head" become: yes become_user: "{{ octavia_system_user_name }}" changed_when: false - notify: Start octavia services -