Merge "Fix running the baremetal provide workflow with node names"
This commit is contained in:
commit
9c8aa31ba3
4
releasenotes/notes/provide-name-f75b6b61d3d8d693.yaml
Normal file
4
releasenotes/notes/provide-name-f75b6b61d3d8d693.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes running the baremetal ``provide`` workflow with node names.
|
@ -1072,9 +1072,19 @@ workflows:
|
||||
tasks:
|
||||
|
||||
cell_v2_discover_hosts:
|
||||
on-success: wait_for_nova_resources
|
||||
on-success: name_to_uuids
|
||||
action: tripleo.baremetal.cell_v2_discover_hosts
|
||||
|
||||
name_to_uuids:
|
||||
on-success: wait_for_nova_resources
|
||||
action: ironic.node_get
|
||||
input:
|
||||
node_id: <% $.node %>
|
||||
fields: ['uuid']
|
||||
with-items: node in <% $.node_uuids %>
|
||||
publish:
|
||||
node_uuids: <% task().result.uuid %>
|
||||
|
||||
wait_for_nova_resources:
|
||||
with-items: node_uuid in <% $.node_uuids %>
|
||||
action: nova.hypervisors_find hypervisor_hostname=<% $.node_uuid %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user