From 8a8f6e6e847b8b1a2098c47ca8d0f3b842785082 Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Fri, 13 Sep 2019 10:17:40 +1200 Subject: [PATCH] Ignore failure calling cell_v2_discover_hosts from deployment This will fail when there is no nova database configured, as for a nova-less undercloud. This call to cell_v2_discover_hosts was added to make sure any recent auto-discovered hosts are mapped to a cell, so I think ignoring all errors is acceptable in this case. Related-Bug: #1742179 Change-Id: I77727bbee996d123aea442a76810dcee8e957a8f Blueprint: nova-less-deploy --- workbooks/deployment.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/workbooks/deployment.yaml b/workbooks/deployment.yaml index 5f74beb1a..db85c1969 100644 --- a/workbooks/deployment.yaml +++ b/workbooks/deployment.yaml @@ -206,10 +206,7 @@ workflows: cell_v2_discover_hosts: action: tripleo.baremetal.cell_v2_discover_hosts - publish-on-error: - message: <% task().result %> - on-success: send_stack_deployment_message - on-error: set_deployment_failed + on-complete: send_stack_deployment_message send_stack_deployment_message: workflow: tripleo.messaging.v1.send