From b1d0ed091076f33bec7cbbeb32dbe27fcda417db Mon Sep 17 00:00:00 2001 From: Marius Cornea Date: Sat, 21 Apr 2018 13:55:36 -0400 Subject: [PATCH] Fix openstack-nova-consoleauth service upgrade check When running the FFU workflow the openstack-nova-consoleauth service gets stopped before running the upgrade tasks so the task for disabling the service is ignored. This change fixes the nova_consoleauth_enabled command to check if the service is enabled instead of active. Change-Id: If1e0f43c1962496b68c1c982db86a6dec58e05c5 Closes-bug: 1765997 --- docker/services/nova-consoleauth.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/services/nova-consoleauth.yaml b/docker/services/nova-consoleauth.yaml index ece069b06e..1440b2996b 100644 --- a/docker/services/nova-consoleauth.yaml +++ b/docker/services/nova-consoleauth.yaml @@ -124,7 +124,7 @@ outputs: host_prep_tasks: {get_attr: [NovaLogging, host_prep_tasks]} upgrade_tasks: - name: Check if nova_consoleauth is deployed - command: systemctl is-active --quiet openstack-nova-consoleauth + command: systemctl is-enabled --quiet openstack-nova-consoleauth tags: common ignore_errors: True register: nova_consoleauth_enabled