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
This commit is contained in:
Steve Baker 2019-09-13 10:17:40 +12:00
parent 3283218743
commit 8a8f6e6e84
1 changed files with 1 additions and 4 deletions

View File

@ -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